Can we add a redirect function?
kachdi opened this issue · 4 comments
Can we add a redirect function so when you try to enter a blocked site it redirects you to a judging picture of terry crews or something?
hahha, Yes, we can have that
hi @penge if you have not started work on this, then I'd like to work on this issue.
This seems an easy and I'd like to give back for making this extension by making some contributions.
If my understanding is correct (I've not read your codebase yet), then I can use OnBeforeRequest to intercept/catch the requests.
And then I can update the tab in question, and redirect it to the URL set by User.
Let me know what you think.
Hi @anshulxyz
what @kachdi actually ment, is to show ("redirect" to) Terry Crews picture, not block pages that cause redirect, which is btw something we already have implemented using: https://developer.chrome.com/docs/extensions/reference/webNavigation/#event-onBeforeNavigate