Commit ec8da2dd authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Don't offer sending non-http(s)/ftp links and sources via KDE Connect

chrome:// and about: pages are typically local and browser-specific, and blob: pages cannot be shared altogether.

Only targetUrlPatterns but not documentUrlPatterns is set so you can still send links from your "New Tab" or history page,
even though that'll mean you could try sharing the page itself which will fail.

Differential Revision:
parent 5bed7efe
......@@ -51,6 +51,9 @@ addCallback("kdeconnect", "deviceAdded", function(message) {
id: menuId,
contexts: ["link", "page", "image", "audio", "video"],
title: menuEntryTitle,
targetUrlPatterns: [
"http://*/*", "https://*/*"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment