einaregilsson / Redirector

Browser extension (Firefox, Chrome, Opera, Edge) to redirect urls based on regex patterns, like a client side mod_rewrite.
http://einaregilsson.com/redirector/
MIT License
1.5k stars 153 forks source link

[fr] reset button #388

Open throwaway242685 opened 3 months ago

throwaway242685 commented 3 months ago

hi, could you please implement a "Reset" button to reset everything back to default?

4

something like this?

sshot-2024-08-29-23-42-51

Nicolai-Nielsen commented 1 month ago

TEST FIRST! Do not do this in your main browser profile!

Add/Create a new "Browser Profile" Install the extension there and import your settings then:

What I use is: Go to "Edit Redirects" Press "F12" Select the "Console" tab. Paste: chrome.storage.local.clear(function() { var error = chrome.runtime.lastError; if (error) { console.error(error); } }); chrome.storage.sync.clear();

If all is good, try it on your main browser profile :)