Forums › Forums › Search & Filter Pro › SecurityError when using Make searches bookmark able" option
- This topic has 3 replies, 2 voices, and was last updated 11 years, 1 month ago by
Ross.
-
Anonymous(Private) March 3, 2015 at 12:15 am #12700
Hi,
I’m getting the following error only when the “Make searches bookmarkable” option is selected:
http://partytimeplus.com.php53-14.dfw1-1.websitetestlink.com/search-products/
SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
pushState
(anonymous function)
j
fireWith
x
bIf I disable that option it works fine, but I need to be able to link to the bookmarkable page, please advise.
Thanks
Ross Moderator(Private) March 3, 2015 at 12:42 am #12702Hey again Kevin
This is probably because you are mixing up “https” and “http” on your site – if you are on “https”, but your WordPress URL for example is under “http” then you will see an error like this.
Its basically the same as a cross domain request – its not allowed by browsers by default –
See this posts for the same issue (not related to this plugin):
http://stackoverflow.com/questions/8566037/history-js-and-same-origin-policy-traversing-to-ssl
I think in your case you need to make sure you are not jumping from http / https anywhere in the user journey – and this could be caused by a mismatch of the internal site URL or the protocol – otherwise we can’t dynamically update the URL and you will not be able to use this feature.
Thanks
-
AuthorPosts