hackernews-button icon indicating copy to clipboard operation
hackernews-button copied to clipboard

Chrome port

Open jstrieb opened this issue 4 years ago • 0 comments

I began working on a Google Chrome port of the extension in the chrome branch, but quickly hit a wall due to limitations in how much the chrome.storage.local API is allowed to store for an extension. Everything else seems to work, except for storing 16MB+ Bloom filters (which raises exceptions).

Note that in this port, I still request the unlimitedStorage permission in the manifest.json file, but Chrome doesn't seem to be respecting it. https://github.com/jstrieb/hackernews-button/blob/a479e73a417031c1c8808a17bd5ca0e23e74fc66/manifest.json#L27

For reference on why unlimitedStorage might not be working in Chrome, see the following references:

I am opening this issue as a place for discussion about how to overcome these storage limitations so that the extension can be ported to Chrome with as few changes as possible.

jstrieb avatar Feb 05 '21 17:02 jstrieb