This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Misskey - Quick reaction | |
// @namespace https://github.com/unarist/ | |
// @version 0.3.1 | |
// @description Click existing reaction to cast same one | |
// @author unarist | |
// @match https://misskey.xyz/* | |
// @require https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js | |
// @downloadURL https://gist.github.com/unarist/3d99742d3bb2af5d500b494400996aca/raw/misskey-quick-reaction.user.js | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ピクトセンスで入力欄の補完を潰す | |
// @namespace https://github.com/unarist/ | |
// @version 0.2 | |
// @description autocomplete='off' | |
// @author unarist | |
// @match http://pictsense.com/ | |
// @match https://pictsense.com/ | |
// @downloadURL https://gist.github.com/unarist/1993d1a7a8ab66d030adb946314dc373/raw/pictsense-disable-autocomplete.user.js | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node = Object.entries(document.querySelector('.status__wrapper')).find(prop=>prop[0].startsWith('__reactInternalInstance'))[1]; | |
// Status component has "status" prop | |
while (node.memoizedProps.status === undefined) { | |
node = node.return; | |
} | |
Status = node.type; | |
originalMethod = Status.prototype.render; | |
Status.prototype.render = function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
注: Mastodon以外の投稿だと多分動かない | |
NOTE: only works on toots from Mastodon :p | |
(UserScript can probably get acct from any accounts...by accessing internal object of React) | |
*/ | |
/* | |
全体を常に表示 | |
Show whole acct always | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Pixiv - Replace "Pawooでシェア" with web+mastodon button | |
// @namespace https://github.com/unarist/ | |
// @version 0.6 | |
// @author unarist | |
// @downloadURL https://gist.github.com/unarist/79068e361c8cf69af4b7a520914e1259/raw/pixiv-replace-pawoo-with-webmastodon.user.js | |
// @match https://www.pixiv.net/bookmark_add.php?* | |
// @match https://www.pixiv.net/member_illust.php?* | |
// @match https://www.pixiv.net/novel/bookmark_add.php?* | |
// @match https://www.pixiv.net/novel/show.php?* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Mastodon - Open status/account on droping URLs | |
// @description Open status/account in WebUI when you drop those URLs | |
// @namespace https://github.com/unarist/ | |
// @downloadURL https://gist.github.com/unarist/a5998d24c5bcb207376ab22c05f24e5c/raw/mastodon-allow-drop-urls.user.js | |
// @version 0.7.0 | |
// @author unarist | |
// @match https://*/web/* | |
// @match https://*/deck/* | |
// @match https://mstdn.maud.io/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Akane Gallery Ex | |
// @namespace https://github.com/unarist/ | |
// @version 0.1 | |
// @author unarist | |
// @match https://akane.blue/gallery/ | |
// @downloadURL https://gist.github.com/unarist/6579b9e78e842c03b734560c844c717d/raw/akane-gallery-ex.user.js | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
abstract class Body { | |
protected $contentType; | |
protected $encodedBody; | |
public function getContentType() { | |
return $this->contentType; | |
} | |
public function getEncodedBody() { | |
return $this->encodedBody; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Mastodon - Open post link in WebUI | |
// @description Click fa-comment just before URLs in posts, then it shows linked page in WebUI | |
// @namespace https://github.com/unarist/ | |
// @downloadURL https://gist.github.com/unarist/9bed2c719f42853b9588104e6fdb0a20/raw/mastodon-open-link-in-webui.user.js | |
// @version 0.14 | |
// @author unarist | |
// @match https://*/web/* | |
// @match https://mstdn.maud.io/* | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Mastodon - Make fullscreen on clicking media modal | |
// @namespace https://github.com/unarist/ | |
// @version 0.4.1 | |
// @author unarist | |
// @match https://*/web/* | |
// @grant none | |
// @downloadURL https://gist.github.com/unarist/31d8eae2e2c633a51897858b83b0e7f3/raw/mastodon-fullscreen-image.user.js | |
// ==/UserScript== |