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 Redirector | |
// @namespace http://saschanaz.github.io/ | |
// @version 0.1.11 | |
// @description Redirects to your home server when applicable | |
// @author Kagami Rosylight | |
// @match https://*/* | |
// @icon https://mastodon.social/favicon.ico | |
// @grant GM_xmlhttpRequest | |
// @grant GM_registerMenuCommand |
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
/* | |
_______ | |
/ \ | |
.==. .==. | |
(( ))==(( )) | |
/ "==" "=="\ | |
/____|| || ||___\ | |
________ ____ ________ ___ ___ | |
| ___ \ / \ | ___ \ | | / / | |
| | \ \ / /\ \ | | \ \| |_/ / |
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 로드 오브 히어로즈 포럼 유저 뮤트 | |
// @namespace http://saschanaz.github.io/ | |
// @version 0.3 | |
// @description 맘에 안 드는 유저를 포럼에서 뮤트합니다 | |
// @author Kagami Sascha Rosylight | |
// @match https://community-ko.lordofheroes.com/* | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @grant GM_registerMenuCommand |
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 No Arknights on ANIPLUSTV | |
// @namespace https://saschanaz.github.io/ | |
// @version 0.2 | |
// @description No Arknights on ANIPLUSTV | |
// @author You | |
// @match http://www.aniplustv.com/* | |
// @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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
html, body { | |
margin: 0; | |
height: 100%; | |
} | |
#textarea { |
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 DataTransfer files polyfill | |
// @namespace http://saschanaz.github.io/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://pawoo.net/web/* | |
// @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 Pawoo flexbox workaround for Edge 18 | |
// @namespace http://saschanaz.github.io/ | |
// @version 0.1 | |
// @description Workaround Edge 18 flexbox bug | |
// @author Kagami Sascha Rosylight | |
// @match https://pawoo.net/web/* | |
// @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 Laftel skip-skipper | |
// @namespace http://saschanaz.github.io/ | |
// @version 0.1 | |
// @description Do not show the skip buttons | |
// @author Kagami Sascha Rosylight | |
// @match https://laftel.net/player/* | |
// @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 Force Twitter PWA | |
// @namespace https://saschanaz.github.io/ | |
// @version 0.4.1 | |
// @description PWA is the future | |
// @author Kagami Sascha Rosylight | |
// @match https://twitter.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/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
var fs = require("fs"); | |
console.log(process.version); | |
var f = fs.openSync("testfile", "w"); | |
fs.writeSync(f, "a=1\nb=2\n"); | |
fs.closeSync(f); | |
f = fs.openSync("testfile", "a"); | |
fs.writeSync(f, new Uint8Array([99, 61, 51]), 0, 3, 8); | |
fs.closeSync(f); | |
var result = fs.readFileSync("testfile", { encoding: "utf-8" }); | |
var success = result === "a=1\nb=2\nc=3"; |
NewerOlder