diff --git a/user_scripts/IodineGBAROMLoadGlueCode.js b/user_scripts/IodineGBAROMLoadGlueCode.js index d6bfa2a..8c9dc06 100644 --- a/user_scripts/IodineGBAROMLoadGlueCode.js +++ b/user_scripts/IodineGBAROMLoadGlueCode.js @@ -8,10 +8,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - if ( window.location !== window.parent.location ) { +if ( window.location !== window.parent.location ) { console.log('MKGBA error: Ask for your site to be whitelisted at https://discord.gg/g7qRZW6') alert('MKGBA error: Ask for your site to be whitelisted at https://discord.gg/g7qRZW6'); - document.body.innerHTML = "
If you want to continue playing the emulator, go to https://sites.google.com/site/officialmkgames/emulator-games-new (It will keep your progress)
If you are the dev of this site, go to out discord (https://discord.gg/BdbSy8n) and open a ticket.
"; + location.href='https://mkgamesdev.github.io/MKGBA2.0/permission.html '; throw error; } function attachBIOS(BIOS) {