Skip to content

Commit

Permalink
Update IodineGBAROMLoadGlueCode.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MkGamesdev authored Nov 21, 2019
1 parent 223bc17 commit 3ae804c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_scripts/IodineGBAROMLoadGlueCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<h1>This site is using the MK Games emulator without permission!</h1><p>If you want to continue playing the emulator, go to https://sites.google.com/site/officialmkgames/emulator-games-new (It will keep your progress)</p><br><br><p>If you are the dev of this site, go to out discord (https://discord.gg/BdbSy8n) and open a ticket. </p>";
location.href='https://mkgamesdev.github.io/MKGBA2.0/permission.html ';
throw error;
}
function attachBIOS(BIOS) {
Expand Down

0 comments on commit 3ae804c

Please sign in to comment.