Refresh a webpage if user opens a link on that page in a new window/tab
e.g. <script src="http://myadvertiser.com/code.js"></script>
the ads all open in a new window/tab when clicked. So, when the user clicks on an ad (in the iframe so outside of my "control"), can I make MY webpage refresh? i.e. when the user skips off to look at the advertiser's page, can my page refresh before they get back?
I tried reading in to scripts detecting a mouse being detected on the page, but that wouldn't include touch devices.
Anyone any ideas where to start looking on this one? Or would I just have to go for mousedetection and ignore trying to do this with touch devices?
What was wrong with the answer in that thread?
Sorry, double post! I thought I'd asked that question on another forum first ...
If you post in multiple forums you will find that you may not get an answer in any of them. People do not want to waste time answering a question when it has perhaps already been answered elsewhere.
In short, please do not post the same question in multiple forums until several days have elapsed without getting an answer.
I fully understand. Whilst not a most active member in this forum yet, I am a 1000s plus poster in others so know how frustrating it can be.
This wasn't deliberate or "gross" negligence though, whilst the end goal of this question and the other may seem the same, they arose from different ideas. i.e. because people were saying I couldn't affect clicks over an iframe, I wondered whether I could affect the page simply because the user had opened a new window/tab.
This question was deeply related to the first though, I admit.
|All times are GMT +1. The time now is 09:37 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.