Enable *some* restrictions on whitelisted sites too

Bug reports and enhancement requests
Post Reply
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Enable *some* restrictions on whitelisted sites too

Post by Thrawn »

A lot of issues with allowedMimeRegexp, etc, could be avoided if there were an option to forbid selected embedding types on trusted sites, not just matching what is forbidden on untrusted sites. So, eg, our friend WebGLee could choose to automatically allow WebGL on trusted sites, while blocking Flash and Java everywhere.

So, instead of the current wall of checkboxes, with the extra checkbox below to apply to trusted sites, you could have, eg, a wall of dropdowns, choosing 'Always allow - Forbid on untrusted - Forbid everywhere' for each embedding type. Or perhaps a triple wall of radio buttons, because there's plenty of horizontal space at present. Or at least preferences in about:config...

I could be wrong, but I believe that this would be reasonably simple to code. I could take a closer look and do up some samples if helpful.
======
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:27.0) Gecko/20100101 Firefox/27.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: Enable *some* restrictions on whitelisted sites too

Post by barbaz »

bump
+1
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (PaleMoon)
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Enable *some* restrictions on whitelisted sites too

Post by dhouwn »

Sounds good, I could really need this.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
f18
Posts: 3
Joined: Sat Sep 27, 2014 11:21 pm

Re: Enable *some* restrictions on whitelisted sites too

Post by f18 »

Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0
Fell_MTK
Posts: 6
Joined: Fri Mar 06, 2015 7:14 pm

Re: Enable *some* restrictions on whitelisted sites too

Post by Fell_MTK »

I would love this!

viewtopic.php?f=7&t=20606
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Post Reply