mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
(for now) add ads (only to the demo page) to be able to pay for project utilities
This commit is contained in:
parent
53e6dbc909
commit
614f5cb55e
3 changed files with 26 additions and 0 deletions
21
README.md
21
README.md
|
@ -26,6 +26,26 @@ Self-hosted **Javascript** emulation for various system.
|
|||
|
||||
<br>
|
||||
|
||||
### Issues
|
||||
|
||||
*If something doesn't work, please consider opening an* ***[Issue]*** <br>
|
||||
*with as many details as possible, as well as the console log.*
|
||||
|
||||
<br>
|
||||
|
||||
### Ads
|
||||
|
||||
*This project has no ads.* <br>
|
||||
*Although, the demo page currently has an ad to help fund this project.* <br>
|
||||
*Ads on the demo page may come and go depending on how many people are* <br>
|
||||
*funding this project.* <br>
|
||||
|
||||
*You can help fund this project on* ***[patreon]***
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
### Issues
|
||||
|
||||
*If something doesn't work, please consider opening an* ***[Issue]*** <br>
|
||||
|
@ -124,6 +144,7 @@ EJS_oldCores = true;
|
|||
|
||||
[License]: LICENSE
|
||||
[Issue]: https://github.com/ethanaobrien/emulatorjs/issues
|
||||
[patreon]: https://patreon.com/EmulatorJS
|
||||
|
||||
|
||||
<!-- 🎮 🎮 🎮 🎮 🎮 🎮 🎮 🎮 🎮 Extensions 🎮 🎮 🎮 🎮 🎮 🎮 🎮 🎮 🎮 --->
|
||||
|
|
1
ads.txt
Normal file
1
ads.txt
Normal file
|
@ -0,0 +1 @@
|
|||
google.com, pub-8832864985153925, DIRECT, f08c47fec0942fa0
|
|
@ -170,6 +170,10 @@
|
|||
window.EJS_pathtodata = "data/"
|
||||
window.EJS_startOnLoaded = true;
|
||||
|
||||
if (window.location.hostname === "demo.emulatorjs.org") {
|
||||
window.EJS_AdUrl = "https://ads.emulatorjs.org/";
|
||||
}
|
||||
|
||||
|
||||
script.src = "data/loader.js"
|
||||
document.body.appendChild(script)
|
||||
|
|
Loading…
Reference in a new issue