Bugfix contentScript.js (restore var instead of let)

This commit is contained in:
magnolia1234 2019-12-29 20:53:40 +01:00 committed by GitHub
parent 468f655cfa
commit cf22816309

View File

@ -1,5 +1,5 @@
let arr_localstorage_hold = ['sfchronicle.com', 'economist.com'];
let localstorage_hold = arr_localstorage_hold.some(function(url) {
var arr_localstorage_hold = ['sfchronicle.com', 'economist.com'];
var localstorage_hold = arr_localstorage_hold.some(function(url) {
return window.location.href.indexOf(url) !== -1;
});