Share links to Mastodon in one click
Share to Mastodon Extension
Share to Mastodon is a browser extension for quickly sharing links and tabs to the Mastodon social network. You can click the Mastodon button in the top bar (or the keyboard shortcut) to share the current tab, or right-click a link on any page. You can also select text and pick Mastodon in the context (right-click) menu to share a snippet.
The browser extension can store multiple server options, and synchronize them with your browser's settings. It uses the share dialog hosted by the selected server, so no API access or account permissions are required.
Share to Mastodon is compatible with any Mastodon server, as well as platforms that have implemented Mastodon's share URL scheme, such as Calckey and Misskey. It also works with the Elk Mastodon web client.
This project is not affiliated with the Mastodon project or Mastodon gGmbH. The code is open-source on GitHub: https://github.com/corbindavenport/share-to-mastodon
Read more
The browser extension can store multiple server options, and synchronize them with your browser's settings. It uses the share dialog hosted by the selected server, so no API access or account permissions are required.
Share to Mastodon is compatible with any Mastodon server, as well as platforms that have implemented Mastodon's share URL scheme, such as Calckey and Misskey. It also works with the Elk Mastodon web client.
This project is not affiliated with the Mastodon project or Mastodon gGmbH. The code is open-source on GitHub: https://github.com/corbindavenport/share-to-mastodon
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 3,\t"name": "Share to Mastodon",\t"version": "2.2",\t"author": "Corbin Davenport",\t"homepage_url": "https://github.com/corbindavenport/share-to-mastodon",\t"description": "Share links to Mastodon in one click",\t"options_ui": {\t\t"page": "settings.html",\t\t"open_in_tab": true\t},\t"action": {\t\t"default_icon": {\t\t\t"32": "img/icon_x32.png",\t\t\t"48": "img/icon_action_x48.png",\t\t\t"128": "img/icon_action_x128.png"\t\t},\t\t"default_title": "Share this page to Mastodon"\t},\t"commands": {\t\t"_execute_action": {\t\t\t"suggested_key": {\t\t\t\t"default": "Ctrl+Shift+Y"\t\t\t},\t\t\t"description": "Share current page on Mastodon"\t\t}\t},\t"permissions": [\t\t"contextMenus",\t\t"storage",\t\t"activeTab"\t],\t"browser_specific_settings": {\t\t"gecko": {\t\t\t"id": {4f049aab-274c-4a9b-8813-84b40b7d5ec4},\t\t\t"strict_min_version": "106.0"\t\t}\t},\t"background": {\t\t"scripts": [\t\t\t"js/background.js"\t\t],\t\t"service_worker": "js/background.js"\t},\t"icons": {\t\t"32": "img/icon_x32.png",\t\t"48": "img/icon_x48.png",\t\t"128": "img/icon_x128.png"\t}}
Read more