Skip to content

Commit

Permalink
Merge pull request #2300 from mneunomne/#2298
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe authored Feb 25, 2023
2 parents 4f381cc + d6f6483 commit 7081efd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/js/adn/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ const adnauseam = (function () {
// defer if we've recently written and !immediate
if (immediate || (!immediate && now - lastStorageUpdate > updateStorageInterval)) {
vAPI.storage.set({ admap: admap });
µb.changeUserSettings('admap', admap);
lastStorageUpdate = millis();
//log("--Storage Ad Data--")
}
Expand Down
1 change: 0 additions & 1 deletion src/js/adn/vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ let lastAdDetectedTime, waitingAds = []; // stateful
vAPI.broadcastListener.add(request => {
//console.log("GOT BROADCAST", request);
switch (request.what) {

case 'adAttempt':
setCurrent(request.ad);
break;
Expand Down
1 change: 1 addition & 0 deletions src/js/messaging.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ const backupUserData = async function() {
hiddenSettings:
µb.getModifiedSettings(µb.hiddenSettings, µb.hiddenSettingsDefault),
whitelist: µb.arrayFromWhitelist(µb.netWhitelist),
strictBlockList: µb.arrayFromStrictBlockList(µb.netStrictBlockList),
dynamicFilteringString: permanentFirewall.toString(),
urlFilteringString: permanentURLFiltering.toString(),
hostnameSwitchesString: permanentSwitches.toString(),
Expand Down

0 comments on commit 7081efd

Please sign in to comment.