core icon indicating copy to clipboard operation
core copied to clipboard

Support for cross-browser web extensions

Open kalikiana opened this issue 6 years ago • 5 comments

Aside from its own native extension (plugin) interface Midori should support web extensions. The use cases are:

  • Use existing extensions for other browsers
  • Facilitate feature development based on web technologies
  • Share extensions between platforms (Android, GTK+)

Issues or merge requests should be linked next to the items, which should be checked as they're implemented.

  • [x] Recognize manifest.json analogous to *.plugin #250
  • [x] Content scripts/ styles #250
  • [x] Background page/ scripts #250
  • [ ] API exposed to content scripts
  • [x] Browser action in toolbar #250
  • [ ] Page action in urlbar
  • [x] Sidebar support #297
  • [ ] Context menu
  • [ ] Proxy override
  • [ ] Interception of network requests
  • [ ] Hide buttons easily via right-click
  • [ ] Keyboard shortcuts (commands)
  • [ ] Manage web extensions in the preferences dialog #379
  • [ ] Localization
  • [ ] Options accessible from the preferences dialog
  • [ ] Permissions
  • [x] Load extensions from local folders #250
  • [x] Open ZIP archives on the fly #255
  • [ ] Install extensions from the web
  • [ ] Side-load extensions locally
  • [ ] Unit tests
  • [ ] Theme extensions

See ANDROID-10 for the Android epic

For reference:

kalikiana avatar Jan 29 '19 23:01 kalikiana

With initial (built-in) extension having landed, we can look into more specific aspects and interfaces to support as well as UX tasks as outlined in the proposal.

kalikiana avatar Feb 08 '19 17:02 kalikiana

Hi, sorry for the stupid question... I'm developing a simple cross-browser extension, in which folder should I put it for trying it on Midori? I installed Midori on Ubuntu using snap.

zonia3000 avatar Dec 31 '19 00:12 zonia3000

Hi, sorry for the stupid question... I'm developing a simple cross-browser extension, in which folder should I put it for trying it on Midori? I installed Midori on Ubuntu using snap.

It should go in ~/.local/share/midori/extensions/, in the case of the snap you'll want to prefix it with the snap home i.e. ~/snap/midori/current/ so it would become ~/snap/midori/current/.local/share/midori/extensions/.

kalikiana avatar Feb 04 '20 07:02 kalikiana

What else do you need to do to get an extension (say in a .xpi container) to load, or else to get some diagnostic output explaining why it isn't being loaded?

RJVB avatar Jun 09 '20 15:06 RJVB

Using v9.0-7-gd8546ca from snap and dont see content_scripts loaded in inspector.

alex-eri avatar Apr 02 '21 11:04 alex-eri