update with new setting
This commit is contained in:
@@ -77,6 +77,15 @@ chrome.runtime.onInstalled.addListener(function (details) {
|
||||
});
|
||||
} else if (details.reason == "update") {
|
||||
console.log("updated");
|
||||
chrome.storage.sync.get('loadAll', function (data) {
|
||||
if (data.loadAll == undefined) {
|
||||
chrome.storage.sync.set({
|
||||
loadAll: true
|
||||
}, function () {
|
||||
console.log('initial loadAll: true');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
"css": ["css/styles.css"],
|
||||
"js": ["js/moment.min.js", "js/sql-memory-growth.js", "js/highcharts.js", "js/jquery-3.3.1.min.js", "js/import.js"],
|
||||
"matches": ["https://utdirect.utexas.edu/registrar/waitlist/wl_see_my_waitlists.WBX", "https://utdirect.utexas.edu/registration/classlist.WBX*"]
|
||||
}
|
||||
],
|
||||
}],
|
||||
"web_accessible_resources": [
|
||||
"grades.db", "images/disticon.png"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user