https://github.com/joshka/follow-mastodon-user-webextension
Follow Mastodon User Browser Extension
https://github.com/joshka/follow-mastodon-user-webextension
addon addons-mozilla-org firefox firefox-addon firefox-extension mastodon social webextension
Last synced: about 2 months ago
JSON representation
Follow Mastodon User Browser Extension
- Host: GitHub
- URL: https://github.com/joshka/follow-mastodon-user-webextension
- Owner: joshka
- License: apache-2.0
- Created: 2022-11-07T04:13:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T03:06:34.000Z (about 2 years ago)
- Last Synced: 2025-02-28T08:37:34.467Z (2 months ago)
- Topics: addon, addons-mozilla-org, firefox, firefox-addon, firefox-extension, mastodon, social, webextension
- Language: JavaScript
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/follow-mastodon-user/
- Size: 222 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Follow Mastodon User Browser Extension

This extension adds a button to the toolbar that will popup a window to follow
the Mastodon user on the current page. This is mostly to scratch an itch where
some mastodon pages make you have to copy the username, then search for it in
your own instance, then click follow there once the search loads.To use a server other than mastodon.social, go to the settings page and enter
the server address including https://, omitting any trailing slash.## Contributing
To run the extension locally, install web-ext via npm:
```shell
npm install -g web-ext
```And then run with the following command
```shell
web-ext run --source-dir ./src --target firefox-desktop --devtools --browser-console
```This command is also found in the [just file](https://github.com/joshka/follow-mastodon-user-webextension/blob/main/.justfile) as `just run`. (See for more details).
## Installation
Install via
Visit the extension preferences page to update your server name from the default.
## Problem
Clicking the follow button on a remote server presents a dialog where you can
copy the user name, paste it on your own instance, wait for the search to
complete and then click add. This is too many steps.
## Solution
A button on the toolbar (soon to be in the address bar), that takes you to your
server, where you click follow.
## License
Copyright ©️ 2022 Joshua McKinney
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License atUnless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.