PopUp being blocked in IE and Chrome
-
I am trying to use the WordPress PopUp on a site for a company that has recently changed URLs and names. Both URLs map onto the same WordPress site. The idea was that if the visitor arrived to the site using the old URL then they would see a PopUp letting them know about the change in company name. If they come to the site using the new URL then no PopUp. This is working great in Firefox and Safari but both Chrome and IE are blocking it.
Looking at the console output on both of these browsers they complain about the call to admin-ajax.php which is returning po_data. The error is “Resource interpreted as Script but transferred with MIME type text/html” and “because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.”
As a test I changed the matching URL to the new URL and the PopUp works great across all browsers.
It seems to be the combination of of the mime checking in certain browsers and the cross URL of a visitor arriving using the old URL but the call to admin-ajax.php using the new URL.
Any ideas?
Old URL https://www.malcolmgibb.com
New URL https://www.purposerealestate.ca
Thanks
James
- The topic ‘PopUp being blocked in IE and Chrome’ is closed to new replies.