Forums Forums Search & Filter Pro SecurityError when using Make searches bookmark able" option

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #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
    b

    If I disable that option it works fine, but I need to be able to link to the bookmarkable page, please advise.

    Thanks

    Ross Moderator
    #12702

    Hey 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

    Anonymous
    #12706

    Not sure what I did, but resetting the Results URL value, then clearing cache fixed it.

    Ross Moderator
    #12742

    🙂

Viewing 4 posts - 1 through 4 (of 4 total)