https://github.com/hetima/view-on-my-mastodon
Mastodon tool: put button that navigates to primary instance
https://github.com/hetima/view-on-my-mastodon
mastodon userscript
Last synced: 3 months ago
JSON representation
Mastodon tool: put button that navigates to primary instance
- Host: GitHub
- URL: https://github.com/hetima/view-on-my-mastodon
- Owner: hetima
- Created: 2017-04-19T15:05:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-21T07:00:49.000Z (about 9 years ago)
- Last Synced: 2026-02-13T21:59:29.934Z (4 months ago)
- Topics: mastodon, userscript
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# View on my Mastodon
Mastodon に「自分のインスタンスに移動して見る」ボタンを追加する Userscript です。

## How to use
Chrome と Safari は [Tampermonkey](http://tampermonkey.net/) を使用してください。Firefox (Greasemonkey) では動作確認していません。
https://github.com/hetima/view-on-my-mastodon/raw/master/view-on-my-mastodon.user.js を開くとこのスクリプトをインストールできます。
まず **ログインしているインスタンスの設定ページ (/settings/preferences) に移動し、右上に現れる「Use XX as default instance」をチェックしてください。**
すると Mastodon のページに「View on XX」ボタンが表示されるようになります。クリックすると自分のインスタンスのダッシュボードに移動してユーザーやトゥートを表示します。
実行時に XMLHttpRequest の許可を求めて来たら Always allow domain してください。
## License
WTFPL 2.0
## Author
hetima
https://pawoo.net/@hetima
https://twitter.com/hetima