False positive on noscript tag
See original GitHub issueSummary
I created a new app using preact-cli:
preact create default <appname>
cd <appname>
npm run serve
I added a noscript tag in the main component and it is shown when i disable JS however the score on lighthouse is still at 82 and it says that i should add a noscript tag.
return (
<div id="app">
<noscript>
<div style="position: fixed; top: 0px; left: 0px; z-index: 3000;
height: 100%; width: 100%; background-color: #FFFFFF">
<p style="margin-left: 10px">JavaScript is not enabled.</p>
</div>
</noscript>
<Header />
<Router onChange={this.handleRoute}>
<Home path="/" />
<Profile path="/profile/" user="me" />
<Profile path="/profile/:user" />
</Router>
</div>
);
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
NoScript XSS warning - InformAction Forums
False positive ? I notice this "XSS attempt" comes from "[...]". If you block it, does it actually break the site ...
Read more >HTML <noscript> Tag
HTML noscript tag - represents alternative content for browsers that don't support javascript (or ... false, Specifies that the element is not draggable....
Read more ><noscript> html tags are not rendered if the Content-Security ...
Eh, sorry, false alarm. His behaviour is perfect - noscript tags get parsed if the website that owns the document containing them gets...
Read more >how noscript tag treated in different browsers - Stack Overflow
The reason I'm asking this question is that I'm afraid some browsers may treat the noscript tag as something as text(if JS is...
Read more >Say No to noscript - Juicy Studio
I'm surprised that the noscript element is conforming in HTML5, ... of sports scores </SCRIPT> <NOSCRIPT> <P>Results from yesterday's ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oooooh of course, I forgot about this thank you very much for tracking it down @justinribeiro! #1217 captures this issue as well. I’ll go ahead and close, but I’m open to a PR adding this note to the documentation 😃
It’s a known issue with
simplehttp2server
that the connection is reset for the http > https redirect (there’s even an older comment noting this causes issues for LH) https://github.com/GoogleChromeLabs/simplehttp2server/issues/33