I set up advertisement in Mikrotik Hotspot:
Instead of opening new popup page, I load advertisement into radvert.page via JavaScript.
Then, when user clicks the button, I load Mikrotik page, that should redirect to advertisement page (e.g. http:///advert?dst=http://somesite.com). Load occures via JS, too.
On the smartphones it work well.
But on the desktops I faced the problem, that browsers with AdBlock extention installed block load of URL “http:///advert” due to it’s name.
I tried to visit advertisement page to which this Mikrotik page redirects to. No luck - transparent proxy doesn’t “see” this request.
Also I didn’t find the way to change URL or Mikrotik page, to avoid matching AdBlock filters.
How can I change the URL of Mikrotik page “http:///advert” to not match AdBlock filters?
I already have read. They just "suggest". I want to deploy and test.
Actually, I already doing it and found obvious problem, that can easily be fixed.
And I ask for such fix.
By the way, Mikrotik Hotspot redirects http to advert page very well.
The solution to show ad by popup new window was wrong. Ad should be shown at the first page (radvert.html). And it works quite good.
I repeat, smartphones receive periodic ad page vell. Help me fix the URL of redirect to ad, that is hardcoded (as it seems to me).
I placed php script on my server (it shows advertisements, it’s in Walled Garden list), that redirects client’s browser to Hotspot advert page:
<?php
header("Access-Control-Allow-Origin: *");
header("Location: http:///advert");
----------
URL does not match AdBlock filter, redirected URL "http:///advert" seems not to be checked by AdBlock.
It's a temporary solution, of cource. Mikrotik team ought to make advert redirect page name customizable.