Page 1 of 1

Possible to forbid <AUDIO> but not <VIDEO>?

Posted: Thu May 22, 2014 7:54 pm
by John Smith
I use another extension (Flashblock) to achieve click-to-play for video (Flash, Silverlight, and HTML5) since I like its click-to-play functionality better than NoScript's. However, it can't handle HTML5 audio, so I have to use NoScript's "Forbid <AUDIO> / <VIDEO>" option (with "apply to whitelisted sites" and "show placeholder icon") in order to block audio. This results in HTML5 video being blocked by two layers of click-to-play (Flashblock and NoScript). I would like to be able to have NoScript block HTML5 audio but not HTML5 video. Is this currently possible or is there a chance it may be added in the future>

Re: Possible to forbid <AUDIO> but not <VIDEO>?

Posted: Thu May 22, 2014 8:03 pm
by barbaz
about:config -> noscript.allowedMimeRegExp
add to that pref, the MIME type(s) of the videos you want *not* to forbid

Re: Possible to forbid <AUDIO> but not <VIDEO>?

Posted: Fri May 23, 2014 4:53 am
by Thrawn
Bear in mind that FlashBlock is not reliable for security purposes - only for preventing annoyances.