Add the .svg file extension
This commit is contained in:
parent
69a2d27a23
commit
047a61ea0d
|
@ -216,7 +216,7 @@ function isCoolUrl(url, callback) {
|
||||||
var extensionIndex = url.lastIndexOf('.');
|
var extensionIndex = url.lastIndexOf('.');
|
||||||
var extension = cleanExtension(url.substr(extensionIndex + 1));
|
var extension = cleanExtension(url.substr(extensionIndex + 1));
|
||||||
|
|
||||||
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf", "mkv", "ogv", "swf", "flv"];
|
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf", "mkv", "ogv", "swf", "flv", "svg"];
|
||||||
|
|
||||||
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
|
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
|
||||||
if(!config.disableblacklist) {
|
if(!config.disableblacklist) {
|
||||||
|
|
|
@ -56,6 +56,7 @@
|
||||||
* Error checks and messages
|
* Error checks and messages
|
||||||
* Context menu item
|
* Context menu item
|
||||||
* Optionally convert gif to webm
|
* Optionally convert gif to webm
|
||||||
|
* Option to use a random Pomf clone
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<button id="save">Save</button>
|
<button id="save">Save</button>
|
||||||
|
|
Loading…
Reference in New Issue