Add .swf and .flv extensions

This commit is contained in:
Les De Ridder 2016-06-07 05:01:15 +02:00
parent a6f66891a0
commit f15bd08701
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,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"];
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf", "mkv", "ogv", "swf", "flv"];
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
if(!config.disableblacklist) {