from Hacker News

Ask HN: What WebExtension problem would you like to be solved?

by fregante on 2/15/21, 6:03 PM with 2 comments

I’ve been working on browser extensions for a few years and along the way I tried to solve problems that the chrome.* APIs made difficult to achieve or that are simply common. One such example is enabling content scripts on new origins without having to specify them in the manifest.json[1], with just 2 lines of code (via 2 modules) and no UI.

What other little and big problems do you encounter when developing extensions?

[1] https://github.com/fregante/webext-dynamic-content-scripts/blob/master/how-to-add-github-enterprise-support-to-web-extensions.md

  • by thitcanh on 2/15/21, 11:51 PM

    How do you handle cache in your extensions? There's no way to store information temporarily except with sessionStorage and cookies.