Add PDF to file extension list
This commit is contained in:
parent
8af3ba0026
commit
ffdaf4858a
|
@ -199,7 +199,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"];
|
var validExtensions = ["jpg", "jpeg", "png", "gif", "webm", "gifv", "mp4", "mp3", "ogg", "opus", "pdf"];
|
||||||
|
|
||||||
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
|
chrome.storage.sync.get({ disableblacklist: false }, function(config) {
|
||||||
if(!config.disableblacklist) {
|
if(!config.disableblacklist) {
|
||||||
|
|
Loading…
Reference in New Issue