Page 1 of 1

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

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

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

Posted: Sat Jul 07, 2018 7:18 pm
by barbaz

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

Posted: Sun Jul 08, 2018 9:23 am
by skriptimaahinen
How about adding class="noscript" (or something like that), so everyone can style them as they see fit?

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

Posted: Sun Jul 08, 2018 11:58 am
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.

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

Posted: Mon Jul 09, 2018 12:01 am
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)