just i was wondering if construct 2 can add a domain site lock feature, many famous games portal website like for example gametako
, require sometime for exclusive releases to be sitelocked for thier domain, this feature can be added very easily with stencyl flash games, also HTML5 if it's linked through external JS, i just wonder if @Ashley could apply this important feature like for example in properties, we can add the domain we want our game to be locked, than an event that check if domain="true" do some action, for example developer could make a layout that appear if the game uploaded on different domain telling the players he must play this game on specific website.
here a java script to do that task, i just believe that better be added to Construct 2 by default than making an external plugin for that purpose.
var argument1 = document.location.href;
argument0 = 'false';
argument0 = 'true';
return argument0 ;