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 Un-ESE | |
// @namespace https://scrpg.tyanoyu.net/ | |
// @version 0.1 | |
// @description Dive into the world that is free from ESE | |
// @author mtripg6666tdr | |
// @match *://*/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=example.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
// ==UserScript== | |
// @name Discord Invites Sending Preventer | |
// @namespace https://scrpg.tyanoyu.net/ | |
// @version 0.1 | |
// @description Prevents Discord Web App from sending any invites to Discord Desktop app. | |
// @author mtripg6666tdr | |
// @match https://discord.com/invite/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=discord.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
// ==UserScript== | |
// @name Twitter Account Name PlaceHolder | |
// @namespace https://scrpg.tyanoyu.net | |
// @version 0.2 | |
// @description Hide twitter account name on Twitter Web App | |
// @author mtripg6666tdr | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.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
function findNested(_obj, _key){ | |
const checked = []; | |
const result = []; | |
const _findNested = (obj, key, path) => { | |
checked.push(obj); | |
if (obj[key]) { | |
return obj; | |
} else { | |
const keys = Object.keys(obj) | |
for (let i = 0, len = keys.length; i < len; i++) { |
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
const http = require("http"); | |
const path = require("path"); | |
const fs = require("fs"); | |
const zlib = require("zlib"); | |
const relativePath = "./public/"; | |
http.createServer((req, res) => { | |
let loc = path.join(__dirname, "./public/", req.url); | |
if(fs.existsSync(loc) && fs.statSync(loc).isDirectory()) loc += "index.html"; | |
if(fs.existsSync(loc)){ |
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
const packageJson = require("../package.json"); | |
const directDeps = [...Object.keys(packageJson.dependencies), ...Object.keys(packageJson.devDependencies)]; | |
const path = require("path"); | |
const result = {}; | |
for(let i = 0; i < directDeps.length; i++){ | |
const node = require(path.join(__dirname, `../node_modules/${directDeps[i]}/package.json`)).engines?.node; | |
node && (result[directDeps[i]] = node); | |
} |
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 Hide YouTube Recomendations | |
// @namespace https://scrpg.tyanoyu.net | |
// @version 0.1 | |
// @description Hide YouTube's recommendation culumn and stay focused on the things that you really need | |
// @author mtripg6666tdr | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?domain=youtube.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
const http = require("http"); | |
const fs = require("fs"); | |
const path = require("path"); | |
var number = 0; | |
const port = 1509; | |
http.createServer((req,res)=>{ | |
if(req.method === "POST"){ | |
const current = ++number; | |
console.log("[" + current + "]Received new connection"); | |
const filename = req.headers["filename"] ?? "received.bin"; |
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
/* | |
Better TweetDeckのFlag MediaとReport Tweetのボタンは怖すぎるから隠しましょう。 | |
*/ | |
a.js-flag-media-link, a[data-action="report-tweet"] { | |
display: none !important; | |
} |