Skip to content

Commit

Permalink
update gobal dynamic rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 6, 2023
1 parent 26678c2 commit 8abe974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/options_ui/js/CommonBundle/Components/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ let deleteDynamicRules = (type, id = 0, callback = () => {}, ...args) => {
*/
let backupSelfDefinedDynamicRules = () => {
chrome.declarativeNetRequest.getDynamicRules((rules) => {
if (1 || rules.length > 0) {
if (rules.length > 0) {
let time = new Date().toISOString();
console.log(time);
//time=parseInt(new Date().getTime() / 1000).toString()
Expand Down

0 comments on commit 8abe974

Please sign in to comment.