Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<noscript> stuff </noscript> doesn't work on google chrome

I wanted to display a message on the top of my site when the javascript is disabled (just like on SO), but on google chrome is not working

like image 829
Omu Avatar asked May 07 '10 08:05

Omu


People also ask

Does noscript work in Chrome?

NoScript (or NoScript Security Suite) is a free software extension for Mozilla Firefox, SeaMonkey, other Mozilla-based web browsers and Google Chrome, written and maintained by Giorgio Maone, an Italian software developer and member of the Mozilla Security Group.

How do I fix noscript?

You will first need to establish what the <noscript> is and what it is doing. It may be possible to simply move the <noscript> out of the <head>, and into the <body>, where such elements are valid. All invalid elements should be removed from the <noscript>, if it is to remain in the <head>.

Why is my JavaScript code not working in Chrome?

Google ChromeIn the "Settings" section click on the "Show advanced settings..." Under the the "Privacy" click on the "Content settings...". When the dialog window opens, look for the "JavaScript" section and select "Allow all sites to run JavaScript (recommended)". Click on the "OK" button to close it.

Does noscript works even with browsers that don't recognize the noscript tag?

The <noscript> tag defines an alternate content to be displayed to users that have disabled scripts in their browser or have a browser that doesn't support script. The <noscript> element can be used in both <head> and <body>.


1 Answers

Looks that way.

You can use javascript to hide a 'noscript' message.

like image 134
zaf Avatar answered Sep 18 '22 23:09

zaf