Skip to content
Commit d9fc5916 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Split "page" context menu from links

As far as Firefox is concerned, a context menu entry on the page itself has no
"target" and so any `targetUrlPatterns` will cause the menu entry not to show.

This patch splits the "page" context from anything with a link or source, so that
we can set `targetUrlPatterns` for those, and `documentUrlPatterns` for the "page"
menu. This has the added benefit of not allowing to share internal browser pages,
such as "New Tab", while still allowing to send http(s) links on those pages.

While at it, also support the "tab" context in Firefox which adds an entry to the
tab button on the tab bar.
parent 75bb10dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment