Skip to content

Commit

Permalink
Update init.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xifangczy committed Oct 2, 2024
1 parent 7a49e03 commit 3ef53a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function clearRedundant() {
chrome.declarativeNetRequest.getSessionRules(function (rules) {
let mobileFlag = false;
for (let item of rules) {
if (!item.id || !allTabId.has(item.id)) {
if (!allTabId.has(item.id)) {
mobileFlag = true;
G.featMobileTabId.delete(item.id);
chrome.declarativeNetRequest.updateSessionRules({
Expand Down

0 comments on commit 3ef53a1

Please sign in to comment.