Skip to content

Commit

Permalink
show dnr rules in trobuleshooting page
Browse files Browse the repository at this point in the history
  • Loading branch information
xmcp committed Apr 20, 2024
1 parent ffff7b3 commit 9539d97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pakkujs/page/troubleshooting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ chrome.scripting.getRegisteredContentScripts(function(scripts) {
debug.textContent += '\n\n**Content Scripts:** `' + JSON.stringify(scripts) + '`';
});

chrome.declarativeNetRequest.getDynamicRules(function(rules) {
debug.textContent += '\n\n**DNR Rules:** `' + JSON.stringify(rules) + '`';
});

debug.textContent += '\n\n**localStorage:** `' + JSON.stringify(localStorage) + '`';
get_config().then((config)=>{
debug.textContent += '\n\n**Config:** `' + JSON.stringify(config) + '`';
Expand Down

0 comments on commit 9539d97

Please sign in to comment.