Closed dstein64 closed 2 years ago
998602acc38b6a7b36d06419713a47c419a59926 adds support for browser back/forward navigation on the options page.
Deep linking support is not added, but not deemed useful in this context.
The back/forward navigation works because the options page currently opens in a new tab (options_ui.open_in_tab
is set to true
in manifest.json
). When the options page is not opened in a new tab (either by setting options_ui.open_in_tab
to false
in manifest.json
or navigating to e.g., chrome://extensions/?options=<ID>
), forward/back navigation does not work. This is not a limitation of the history
API, but rather a limitation of the options page being hosted in a dialog—the same navigation limitation occurs when browsing through multiple options pages that are linked with <a>
.
This is only relevant when navigating to blocklist items or exceptions.
The following doesn't address the issue, since it wouldn't handle deep linking. Also, navigating to e.g., blocklist items, then clicking the options page back button, then navigating to blocklist exceptions, then clicking the browser back button twice would incorrectly navigate to blocklist exceptions, not blocklist items.