Possibility to whitelist embedded SVG

Bug reports and enhancement requests
Post Reply
juu hazi
Posts: 1
Joined: Thu Jan 28, 2010 7:23 pm

Possibility to whitelist embedded SVG

Post by juu hazi »

It would be great to be able to control restriction of embedded SVG objects like in the following page the following element:

http://evemaps.dotlan.net/map/Delve/

<object width="1024" height="768" type="image/svg+xml" data="/svg/Delve.dark.svg" id="map"></object>

This whitelisting is already possible for flash, silverlight etc. embeddings in the Embeddings tab in options. Allowing SVG objects is also possible through unchecking the "Forbid other plugins" but that is not something I want to disable for just SVG.

What would be really great is the ability to manage a list of allowed object types. But for me a "Forbid SVG" checkbox would be plenty enough.

Thank you in advance.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9526
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Possibility to whitelist embedded SVG

Post by Giorgio Maone »

Set the noscript.alloweddMimeRegExp about:config to "image/svg\+xml" (without quotes).
See http://noscript.net/features#pluginexceptions
Last edited by Alan Baxter on Sat Jan 30, 2010 6:06 pm, edited 1 time in total.
Reason: Fixed typo in link
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Post Reply