document.addEventListener("DOMContentLoaded", function(event) {
var iframe = document.createElement('iframe');
iframe.scrolling = 'no';
iframe.style.width = "100%";
iframe.style['min-height'] = "1040px";
iframe.style.border = "none";
iframe.src = 'https://roopehakulinen.github.io/mutation-game/';
var aTags = document.getElementsByTagName("p");
var searchText = "Toggle the ‘Show Instructions’ button, if it’s the first time you’re playing the Mutation Game.";
var found;
for (var i = 0; i < aTags.length; i++) {
if (aTags[i].textContent == searchText) {
found = aTags[i];
break;
}
}
found.parentElement.insertBefore(iframe, found.nextSibling);
});
-
Notifications
You must be signed in to change notification settings - Fork 0
RoopeHakulinen/mutation-game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published