This file contains 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.13 | |
// @author unarist | |
// @match https://*/web/* | |
// @match https://mstdn.maud.io/* | |
// @grant none |
This file contains 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 Hatena::Let - Show diff for forking | |
// @namespace https://github.com/unarist/ | |
// @version 0.4.1 | |
// @author unarist | |
// @downloadURL https://gist.github.com/unarist/e7ee9237764cc5cd2a3b4a531db8b5ee/raw/let-diff.user.js | |
// @match https://let.hatelabo.jp/*/let/* | |
// @require https://cdnjs.cloudflare.com/ajax/libs/jsdiff/3.4.0/diff.min.js#sha256=mXHDe/99FPqL1QnYUVFKhAAl45/l91tGCpRNkr4s9Mg= | |
// @grant none | |
// ==/UserScript== |
This file contains 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 Hatena::Let - CodeMirror | |
// @namespace https://github.com/unarist/ | |
// @version 0.2.1 | |
// @description Replace plain textarea with CodeMirror! | |
// @author unarist | |
// @downloadURL https://gist.github.com/unarist/1fb6ce33daa34ecdbd5f2060d32c65a3/raw/let-codemirror.user.js | |
// @match https://let.hatelabo.jp/l | |
// @grant none | |
// ==/UserScript== |
This file contains 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
using System; | |
using System.Runtime.InteropServices; | |
using System.Windows.Forms; | |
internal class MainForm : Form | |
{ | |
[DllImport("user32.dll", SetLastError = true)] | |
private extern static void AddClipboardFormatListener(IntPtr hwnd); | |
[DllImport("user32.dll", SetLastError = true)] |
This file contains 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.6.0 | |
// @author unarist | |
// @match https://*/web/* | |
// @match https://mstdn.maud.io/* | |
// @license MIT License https://opensource.org/licenses/MIT |
This file contains 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 - Mobile Composer | |
// @namespace https://github.com/unarist/ | |
// @version 0.14 | |
// @description add composer to page bottom | |
// @author unarist | |
// @downloadURL https://gist.github.com/unarist/08f56c49986d3b1775fe88bc918cac50/raw/mastodon-mobile-composer.user.js | |
// @match https://*/web/* | |
// @match https://mstdn.maud.io/* | |
// @grant none |
This file contains 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 :don: - Add tablet layout | |
// @namespace https://github.com/unarist/ | |
// @version 0.8 | |
// @description Add tablet layout (w/ tabbar, w/o compose column) for <=1024 width | |
// @author unarist | |
// @match https://mstdn.maud.io/* | |
// @downloadURL https://gist.github.com/unarist/71067609416aed633cf74eddb6feb725/raw/mastodon-add-2col-layout.user.js | |
// @grant none | |
// @run-at document-body |
This file contains 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 Toggl - Quick import | |
// @description (<mm><dd> )?(<hh><mm>(<description><hh><mm>)+ )+ | |
// @namespace https://github.com/unarist/ | |
// @version 0.1 | |
// @author unarist | |
// @match https://www.toggl.com/app/timer | |
// @grant GM_registerMenuCommand | |
// @downloadURL https://gist.github.com/unarist/559e02233b5e5dc4859885041c076190/raw/toggl-quickimport.user.js | |
// ==/UserScript== |
This file contains 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
// structures are based on https://github.com/dotnet/runtime/blob/v6.0.7/src/libraries/System.Text.Encoding.CodePages/src/System/Text/BaseCodePageEncoding.cs | |
struct CodePageHeader { | |
char16 codePageName[16]; | |
u16 version[4]; | |
u16 codePage; | |
u16 byteCount; | |
u32 offset; | |
u16 unicodeReplace; | |
u16 byteReplace; |
This file contains 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 - Add older/newer link | |
// @namespace https://github.com/unarist/ | |
// @version 0.2 | |
// @description Add user timeline link with max_id/min_id to status pages | |
// @author unarist | |
// @downloadURL https://gist.github.com/unarist/6b445cbb588b405389defb6dbb36e0d9/raw/mastodon-add-older-newer-link.user.js | |
// @match https://*/@*/* | |
// @grant none | |
// @noframes |
NewerOlder