<noscript>-tags get replaced by <div>-tags

Ask for help about NoScript, no registration needed to post
art

<noscript>-tags get replaced by <div>-tags

Post by art »

When scripts are deactivated by NoScript (10.1.8.2 on FF61), <noscript>-tags seem to be replaced by <div>-tags. So it's not possible to have inline-content between <noscript>-tags. This dosen't happen in the classic version with Firefox ESR.Would it be possible to use <span>-tags instead, as <noscript> isn't a block-element per se?
Mozilla/5.0 (compatible; Konqueror/3.2; Linux 2.6.2) (KHTML, like Gecko)
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: <noscript>-tags get replaced by <div>-tags

Post by barbaz »

*Always* check the changelogs BEFORE updating that important software!
-
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: <noscript>-tags get replaced by <div>-tags

Post by skriptimaahinen »

How about adding class="noscript" (or something like that), so everyone can style them as they see fit?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: <noscript>-tags get replaced by <div>-tags

Post by Giorgio Maone »

skriptimaahinen wrote:How about adding class="noscript" (or something like that), so everyone can style them as they see fit?
Actually, in next commit I'm gonna use a custom "<no-script>" element, which should work as well.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: <noscript>-tags get replaced by <div>-tags

Post by Giorgio Maone »

Please check latest development build, thanks.

v 10.1.8.3rc8
=============================================================
x More specific exceptions for dynamic script injection
(thanks skriptimaahinen for report)
x More graceful handling of internal and restricted URLs
(thanks skriptimaahinen for report)
+ [L10n] Added de, es, fr, it, nl, pt_BR and zh_CN locales
(courtesy of Mozilla's localization campaign)
x Custom "no-script" element as "NOSCRIPT" HTML replacement
x Fixed console.log breakage in content pages
(thanks skriptimaahinen for report)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Post Reply