Skip to content

Conversation

@Staaaaaaaaaan
Copy link

The main updates include the introduction of a whitelist feature, a global "delay all" option, and a setting to re-impose delays when users type URLs directly. The UI has been enhanced to support these features, and related logic has been added to the background and navigation services. Feel free to incorporate, accept or reject as you see fit. Thanks for building this extension!

New features and user controls:

  • Added a whitelist feature to allow users to specify URLs that should never be delayed, including UI, storage, and logic integration (src/home.html, src/home.js, src/model/Whitelist.js, src/services/NavigationService.js) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10].
  • Introduced a "Delay all websites by default" option, allowing users to block all sites unless whitelisted, with UI controls and persistent configuration (src/home.html, src/home.js, src/model/Config.js, src/services/NavigationService.js) [1] [2] [3] [4] [5] [6].
  • Added a "Re-impose delay on typed URL changes" setting, so delays are applied even when users manually type or change URLs, with UI, configuration, and navigation event handling (src/home.html, src/home.js, src/model/Config.js, src/services/BrowserService.js, src/services/NavigationService.js) [1] [2] [3] [4] [5] [6] [7].

UI and code structure improvements:

  • Updated the UI in home.html to add whitelist controls, the new checkboxes, and improved descriptions and formatting for better usability [1] [2] [3].
  • Refactored the delay message logic out of background.js into a new delay.js file for better separation of concerns, and updated the HTML to use the new script [1] [2] [3].

These changes provide users with more granular control over which sites are delayed, make the extension more flexible, and improve maintainability and clarity of the codebase.

… re-imposing delay on typed url changes. Some minor formatting adjustments. Addressed some issues with service workers / watchers, including new delay.js script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant