New Landing How can we help? Themeforest Theme Support Flexform If and how to disable "Please enable JavaScript to view this website"

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Flexform
  • #199957
    Bitedge
    Member
    Post count: 345

    Hi guys,

    How can we disable the full-page dark filter saying “Please enable JavaScript to view this website”?

    What are the consequences of disabling that? Seems like it would be good if the users without javascript enabled could see that message and then choose to either enable JS or continue to the page without doing so.

    #199959
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check your browser settings and JavaScript for Google Chrome :-

    1- Go to the Chrome menu and select Preferences.
    2- Select the tab Under the Hood.
    3- Under Privacy, click Content Settings.
    4- Select the JavaScript tab and choose the option Allow all sites to run JavaScript.
    5- Close the window.
    Thanks
    Mohammad

    #199991
    Bitedge
    Member
    Post count: 345

    If you read the post you will see I am not asking how to enable JS in my browser. I am asking how to disable the full-page dark filter saying “Please enable JavaScript to view this website”? on my site.

    #200013
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific page url with issue.
    Thanks
    Mohammad

    #200059
    Bitedge
    Member
    Post count: 345

    Its site wide on all flexform sites, mine is

    http://www.bitedge.co/

    the “Please enable JavaScript to view this website”? is supposed to show for visitors who do not have JS enabled, it is working as it should. I want to know how to turn it off.

    #200065
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can’t replicate this. What browser and OS are you using?

    -Rui

    #200079
    Bitedge
    Member
    Post count: 345

    You can replicate it by disabling JS in your browser.

    #200095
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-
    div.no-js-alert{display:none !important;}
    Thanks
    Mohammad

    #200406
    Bitedge
    Member
    Post count: 345

    That makes no difference.

    Also can I ask why flexform thought it was a good idea effectively block visitors who don’t have JS enabled? Is it just because we want to give everyone the feature rich experiance or something else like blocking scraper bots?

    #200410
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit header.php file.
    Find this code and remove:-

    <noscript>
    <div class="no-js-alert"><?php _e("Please enable JavaScript to view this website.", "swiftframework"); ?></div>
    </noscript>

    Thanks
    Mohammad

    #210506
    Angela
    Member
    Post count: 1

    I should like to say that I am grateful for that answer.

    #210508
    David Martin – Support
    Moderator
    Post count: 20834

    Great, glad it helped!

    – David.

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

You must be logged in to reply to this topic.