Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #324 from IDotD/fixing-iframe-domain
Browse files Browse the repository at this point in the history
Update loader.js
  • Loading branch information
Idrinth authored Oct 12, 2017
2 parents 02e1ea5 + c2b5ad5 commit bcdfd88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name Idrinth's DotD Script
// @description A userscript for the game Dawn of the Dragons which provides multiple useful tools, like time-saving raid catching, private chatrooms and much more to discover, see the manual at https://idotd.github.io/
// @author Idrinth
// @version 2.3.0
// @version 2.3.1
// @grant none
// @hompage https://dotd.idrinth.de
// @include http://www.kongregate.com/games/5thplanetgames/dawn-of-the-dragons*
Expand All @@ -26,11 +26,13 @@
// @include http://50.18.191.15/*
// @include https://web1.dawnofthedragons.com/*
// @include https://50.18.191.15/*
// @include https://dotd-web1.5thplanetgames.com/*
// ==/UserScript==
(function() {
if (
window.location.host === "50.18.191.15" ||
window.location.host === "web1.dawnofthedragons.com"
window.location.host === "web1.dawnofthedragons.com" ||
window.location.host === "dotd-web1.5thplanetgames.com"
) {
window.idrinth = {};
window.idrinth.add = function(data) {
Expand Down

0 comments on commit bcdfd88

Please sign in to comment.