Firefox Share: Use selected text as description

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Social_API/Share
This commit is contained in:
nodiscc 2016-04-15 01:55:52 +02:00
parent bb9ca54838
commit c3599302aa

View file

@ -79,7 +79,7 @@
icon32URL: baseURL + "/images/favicon.ico",
icon64URL: baseURL + "/images/favicon.ico",
shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{description}&source=firefoxsocialapi{/noparse}",
shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}",
homepageURL: baseURL
};
node.setAttribute("data-service", JSON.stringify(data));