Don't redirect when already on a redirectable site #10
Labels
No Label
Browser: Chromium
Browser: Firefox
Bug Report
Completed
Documentation
Enhancement
Feature Request
Not Implemented
Packaging
Progress Tracker
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Holllo/re-nav#10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From Cfabbro's request.
Not redirecting on manual navigation could maybe be done using theTo use the omnibox API, the extension has to define a keyword for the user to activate. So, it can't be done for everything this way.omnibox.onInputEntered
API, by saving the URL entered in local storage and then checking it insideonBeforeNavigate
whether it should cancel a redirect.Then remembering to not redirect could maybe be done using the tabs API by querying the current tab and seeing if it's a URL that can be redirected, and then canceling it based on that. Say you have an
example.org
redirect and you are on that website, meaning you weren't redirected for whatever reason, then maybe it's safe to assume you don't want to be redirected anyway?I don't think this works with opening links in a new tab though.It does.I'll have to do some experimenting.
Implemented in
e5bf102aa3
.Don't redirect on manual navigation and remember thatto Don't redirect when already on a redirectable site