Page 1 of 1

Possibility to whitelist embedded SVG

Posted: Thu Jan 28, 2010 7:30 pm
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.

Re: Possibility to whitelist embedded SVG

Posted: Thu Jan 28, 2010 10:52 pm
by Giorgio Maone
Set the noscript.alloweddMimeRegExp about:config to "image/svg\+xml" (without quotes).
See http://noscript.net/features#pluginexceptions