A Tampermonkey script that allows you to view a Mastodon account through your own instance so you can favourite or comment on it
- Install the Tampermonkey extension for your browser
- Right click on the extension icon and select "Create new script" or go to the Dashboard and click the + to create a new script.
- Load the RAW version of view_at_home.js and copy that code into the Tampermonkey editor.
- Examine the script to understand what it does as it requires some extra capabilities to operate.
- The first time you use it, the script will ask for your home instance. Enter the hostname, without protocol. If it's in a sub-directory, include that too.
- Load a Mastodon account where you're not logged in. Try my Mastodon account at @[email protected] and say hi!
- GM_xmlhttpRequest - required to send a search request to your home instance for the Mastodon account you're looking at.
- GM_setValue and GM_getValue - required to save the name of your home instance to Local Storage.
I would be interested to hear if this works with other Fediverse servers.