Add .webp file extension
This commit is contained in:
parent
d3179bff89
commit
be824603e4
|
@ -233,7 +233,7 @@ function isCoolUrl(url, callback) {
|
|||
var extensionIndex = url.lastIndexOf('.');
|
||||
var extension = cleanExtension(url.substr(extensionIndex + 1));
|
||||
|
||||
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf", "mkv", "ogv", "swf", "flv", "svg"];
|
||||
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf", "mkv", "ogv", "swf", "flv", "svg", "webp"];
|
||||
|
||||
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
|
||||
if(!config.disableblacklist) {
|
||||
|
|
Loading…
Reference in New Issue