WordPress.org

Ready to get started?Download WordPress

Forums

Browser Rejector
[resolved] Remember if the visitor closed the rejection message not working (7 posts)

  1. xposed100
    Member
    Posted 1 year ago #

    Hi,

    Great plugin!

    When i set "Remember if the visitor closed the rejection message" to 'Yes' the rejection window continues to open on every page.

    Can you help?

    Thanks
    J

    http://wordpress.org/extend/plugins/browser-rejector/

  2. Nick Halsey
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, what browser are you using? Are cookies enabled? Cookies must be enabled to remember that the user closed the window.

  3. xposed100
    Member
    Posted 1 year ago #

    Hi,

    Im testing with a virtual pc and My test scenarios are as follows,

    IE6 - Cookies Enabled - Prompts on every page
    IE7 - Cookies Enabled - Prompts on every page
    IE8 - Cookies Enabled - Prompts only first page
    IE8 (compatibility view) - Cookies Enabled - Prompts on every page, which i guess is the same as testing IE7.

    Also, only IE9 shows an icon to update to the latest version of IE, should this not also be displayed in the earlier versions of IE.

    Any help greatly appreciated.

    Site Link - http://www.bushmillsholidaycottage.co.uk

    Thanks
    J

  4. xposed100
    Member
    Posted 1 year ago #

    I have just noticed that the following error is appearing on IE6,7,8

    Message: Expected identifier, string or number
    Line: 47
    Char: 4
    Code: 0
    URI: http://www.bushmillsholidaycottage.co.uk/wp-content/plugins/browser-rejector/rejectr.js.php?wppath=%2Fvar%2Fwww%2Fvhosts%2Fbushmillsholidaycottage.co.uk%2Fhttpdocs%2Fwp-load.php&ver=3.4.2

  5. Nick Halsey
    Member
    Plugin Author

    Posted 1 year ago #

    Oh, oops, I just noticed I completely forgot about the cookies for IE 6 and 7, where I had to implement the entire rejection process manually, with separate processes from all of the other browsers. I'll add that in to the update, which I'm hoping to have done by tomorrow.

    Let's see, IE is only offered as an option when running IE8+ (should be there on 8...), it isn't shown on IE 6/7 with the theory that Windows versions (mostly XP) where users are still using those generally don't support IE9 (except for Vista, which won't support IE10), which is the first version to support any html5/css3 which are becoming standards. So I've left IE off older versions to avoid confusion, and installing a new browser that also gets rejected. Since chromeframe actually works quite well for any IE version (and is only enabled when the site requests it, which this plugin does automatically) that seems to be the best solution for people who want to use IE and are running older OSs. If you have a counterargument, I'd be happy to hear it!

    I've seen that error occasionally too, and I only just was able to find an extraneous comma. With any luck that'll solve a lot of problems... I'm checking now.

  6. Nick Halsey
    Member
    Plugin Author

    Posted 1 year ago #

    Yup, it turns out that comma was preventing the entire script from executing in IE6/7 (probably due to its older methods of js processing); now I can get rid of a bunch of bugs, including the cookies thing, although unfortunately some features will stop working, including not offering IE on old IEs and being able to reject IE without a close option independently of other browsers.

    The good news is that there's a better groundwork for things like OS detection, and the ability to completely block some browsers (which I may be able to implement in this update via a css method I just thought of).

  7. xposed100
    Member
    Posted 1 year ago #

    Excellent, I look forward to the updated version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.