Block Flash but force html5?

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

Block Flash but force html5?

Post by y2klol »

I want to be able to block flash but then force the player to use html5.
An example of this would be g+ vids. I want them to use html5 but the ONLY way is to just straight up disable flash in firefox. But I want it to watch like hitboxtv.
Is there a way to block flash but also force HTML5?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Block Flash but force html5?

Post by Thrawn »

This isn't really a NoScript issue, nor is NoScript designed for this use case.

You can try blocking Flash through NoScript and using noscript.allowedMimeRegExp to make exceptions, or you can try creating multiple Firefox profiles for the different sites you go to. Otherwise, perhaps you could write, or ask someone to write, a new extension for this?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
Guest

Re: Block Flash but force html5?

Post by Guest »

If with g+ you mean youtube, you can use https://github.com/YePpHa/YouTubeCenter ... aster/dist to force html5 (or flash) on youtube.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Post Reply