link_cleaner icon indicating copy to clipboard operation
link_cleaner copied to clipboard

Chrome support

Open kuro68k opened this issue 4 years ago • 3 comments
trafficstars

Since Chrome uses a very similar add-on API it should be relatively easy to port this to Chrome.

Are there any obvious issues that could arise, any known Firefox specific APIs in use?

kuro68k avatar Jan 09 '21 17:01 kuro68k

Looking at the permission matrix we currently use (according to MDN):

permission firefox chrome
webRequest :white_check_mark: :white_check_mark:
webRequestBlocking :white_check_mark: :white_check_mark:
contextMenus :white_check_mark: :white_check_mark:
menus :white_check_mark: :warning:
storage :white_check_mark: :white_check_mark:
clipboardWrite :white_check_mark: :white_check_mark:

(the menus permission is specific to firefox and should be replaced with the contextMenu, which is already authorized).

So at a first sight I don't see roadblocks. There is probably some refactor/shimming involved, we can take inspiration from browserpass, among many.

I might work on it at some point in the future, but if you want to get ahead and contribute a set of patches, it will certainly be greatly appreciated.

apiraino avatar Jan 09 '21 21:01 apiraino

Thanks, I have done a little bit of work on Chrome extensions before so I'll see if I can find some time to take a look.

kuro68k avatar Jan 10 '21 10:01 kuro68k

fantastic! thank you for volunteering and give it a try :)

apiraino avatar Jan 10 '21 11:01 apiraino