<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 » Sat Jul 07, 2018 7:00 pm

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: 9691
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz » Sat Jul 07, 2018 7:18 pm

*Always* check the changelogs BEFORE updating that important software!
-

skriptimaahinen
Senior Member
Posts: 214
Joined: Wed Jan 10, 2018 7:37 am

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

Post by skriptimaahinen » Sun Jul 08, 2018 9:23 am

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: 8958
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post by Giorgio Maone » Sun Jul 08, 2018 11:58 am

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: 8958
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post by Giorgio Maone » Mon Jul 09, 2018 12:01 am

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