Content Warning
js disabled browser (5 posts)

  1. fjavier
    Posted 4 years ago #

    So what happens if a visitor is accessing the site with a JavaScript disabled browser?, is there a workaround for it?


  2. damsko
    Posted 4 years ago #

    If someone visits with a browser that has JavaScript disabled then there will be no warning. For the rest it has no consequences for viewing the site.

    People by example using Firefox + NoScript plugin will not notice content-warning-v2.

  3. Jerry
    Plugin Author

    Posted 4 years ago #

    Currently this is not implemented, an easy way around would be definitely to disable JavaScript. I'll look into this, though the first thing that comes to mind is hook onto a page/content/post filter and overwrite what you would see.... I have it in my head, just don't know how to say it :)

  4. damsko
    Posted 4 years ago #

    Curious to what you can come up with to make a Content Warning that will work without any use of JavaScript. Will keep following the development.

    I btw myself recently chose to go back to version 2.4.6 version. I got the later versions working after your tip (http://wordpress.org/support/topic/plugin-content-warning-cwv2-wp-admin-protection-and-you?) but not long after i noticed that all the Google instant previews got 'thickboxed' making the pages look black and unreadable. Version 2.4.6 somehow does not 'thickbox' the instant previews.

  5. fjavier
    Posted 4 years ago #

    I was thinking perhaps if we put the WP installation along with the contents that will be under the warning plugin into a sub-directory and create a static landing 'homepage' index into the root with a primary warning that will always display for (js or not) visitors or every time a 'home' link is clicked sitewide, then the secondary (plugin) will kick any time a visitor will be redirected from the homepage to whatever page we target with a simple enter button, the trick will be to authenticate the (js enabled) users once they pass the static warning so they don't see the secondary warning (plugin) only if they decide to enter the site thru any page other than the homepage, can that be done?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Content Warning
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic