jbattersby Posted August 23, 2016 Share Posted August 23, 2016 Hi, So I've been asked to put an advert into the game I'm working on which may change over time. I want to load details about the advert to show (e.g. image and URL to open) so I'm preloading a JSON file which is stored alongside the game. Annoyingly (although, ironically, correct in this context), trying to get the Phaser pre-loader to load the JSON file gets blocked by my AdBlocker! Is there something I need to tweak to let it through or an alternative way to do this? I would have thought this is a worrying issue if you were to load non-advert related stuff... Link to comment Share on other sites More sharing options...
Game.tk Posted August 23, 2016 Share Posted August 23, 2016 Make sure you file doesn't have the "ad" keyword in it's name because Adblock blocks everything with "ad" or other keywords in their filters. Phaser911 1 Link to comment Share on other sites More sharing options...
jbattersby Posted August 23, 2016 Author Share Posted August 23, 2016 Hmm... never mind... Figured it out. Don't call your adverts and their file locations with obvious names... like adverts/advert.png... The things you learn... Phaser911 1 Link to comment Share on other sites More sharing options...
Recommended Posts