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 https://gist.github.com/tkdn/cf8084bb18737abc218d9c7662c1a9a4#file-url-title-copy-user-js | |
// @updateURL https://gist.github.com/tkdn/cf8084bb18737abc218d9c7662c1a9a4/raw/36e6c441b38c8c84ee9d64677020414b98bd293f/url-title-copy.user.js | |
// @downloadURL https://gist.github.com/tkdn/cf8084bb18737abc218d9c7662c1a9a4/raw/36e6c441b38c8c84ee9d64677020414b98bd293f/url-title-copy.user.js | |
// @version 0.1 | |
// @description 特定のキーバインドでクリップボードにタイトルとURLをコピーする | |
// @author tkdn <tkdnation@gmail.com> | |
// @grant none | |
// @match https://*/* |
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
import { PDFExtract } from "pdf.js-extract"; | |
const pdfExtract = new PDFExtract(); | |
/** @type {PDFExtractOptions} */ | |
const options = { | |
firstPage: 3, | |
lastPage: 3, | |
}; | |
pdfExtract |
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
import { readFileSync, writeFileSync } from 'node:fs'; | |
const filePath = './dist/index.html'; | |
const org = readFileSync(filePath, { encoding: 'utf-8' }); | |
const injectTag = '<meta foo="baz" />'; | |
const buff = org.replace(/(\<\/head\>)/, `${injectTag}$1`); | |
writeFileSync(filePath, buff); |
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 https://gist.github.com/tkdn/26f5beb115a29f05460d7406bd8fc158#file-rails-doc-transfer-to-ja-user-js | |
// @updateURL https://gist.github.com/tkdn/26f5beb115a29f05460d7406bd8fc158/raw/0ca538e290d376f758dfb8ac4edae34bdfd059d7/rails-doc-transfer-to-ja.user.js | |
// @downloadURL https://gist.github.com/tkdn/26f5beb115a29f05460d7406bd8fc158/raw/0ca538e290d376f758dfb8ac4edae34bdfd059d7/rails-doc-transfer-to-ja.user.js | |
// @version 0.1 | |
// @description Rails Doc 英語版から日本語に移動するリンクを追加 | |
// @author tkdn <tkdnation@gmail.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 出、出~腕見動画速度維持奴〜 | |
// @namespace https://gist.github.com/tkdn/5b55161f21a242057fdaf8c436d24012#file-udemy-keep-playbackrate-user-js | |
// @updateURL https://gist.github.com/tkdn/5b55161f21a242057fdaf8c436d24012/raw/359b25e92bd25d31286fbd1ad6cba9f85a3ae9d1/udemy-keep-playbackrate.user.js | |
// @downloadURL https://gist.github.com/tkdn/5b55161f21a242057fdaf8c436d24012/raw/359b25e92bd25d31286fbd1ad6cba9f85a3ae9d1/udemy-keep-playbackrate.user.js | |
// @version 0.2 | |
// @description Udemy で動画の再生速度をチャプター移動ごとに変えない | |
// @author tkdn <tkdnation@gmail.com> | |
// @match https://*.udemy.com/*/* | |
// @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 出、出~反応取説日本語版転送奴〜 | |
// @namespace https://gist.github.com/tkdn/fbbbc943da0e18a89a2cda3784e6d2f7#file-react-doc-transfer-to-ja-user-js | |
// @updateURL https://gist.github.com/tkdn/fbbbc943da0e18a89a2cda3784e6d2f7/raw/6ee1f979f4f8dee68f2d367c5301934fb3abf2bc/react-doc-transfer-to-ja.user.js | |
// @downloadURL https://gist.github.com/tkdn/fbbbc943da0e18a89a2cda3784e6d2f7/raw/6ee1f979f4f8dee68f2d367c5301934fb3abf2bc/react-doc-transfer-to-ja.user.js | |
// @version 0.1 | |
// @description React Doc 英語版から日本語に移動するリンクを追加 | |
// @author tkdn <tkdnation@gmail.com> | |
// @match https://reactjs.org/*/* | |
// @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 出、出~出会画像内画像奴〜 | |
// @namespace https://gist.github.com/tkdn/e6ed758df441b106eddc9ba8a10aa531#file-meet-picture-in-picture-user-js | |
// @updateURL https://gist.github.com/tkdn/e6ed758df441b106eddc9ba8a10aa531/raw/b6e921d5665a1165e4a02478272b7a0424b50791/meet-picture-in-picture.user.js | |
// @downloadURL https://gist.github.com/tkdn/e6ed758df441b106eddc9ba8a10aa531/raw/b6e921d5665a1165e4a02478272b7a0424b50791/meet-picture-in-picture.user.js | |
// @version 0.2 | |
// @description Meet の画面共有を PiP する | |
// @author tkdn <tkdnation@gmail.com> | |
// @match https://meet.google.com/* | |
// @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 出、出~短管理識別子取奴〜 | |
// @namespace https://gist.github.com/tkdn/f8fcf637fc2bc60e01f64ee7025186c3#file-github-copy-short-sha.user.js | |
// @updateURL https://gist.githubusercontent.com/tkdn/f8fcf637fc2bc60e01f64ee7025186c3/raw/58daa1a22a7845d838efc1786c30c96acc7ce050/github-copy-short-sha.user.js | |
// @downloadURL https://gist.githubusercontent.com/tkdn/f8fcf637fc2bc60e01f64ee7025186c3/raw/58daa1a22a7845d838efc1786c30c96acc7ce050/github-copy-short-sha.user.js | |
// @version 0.1 | |
// @description GitHub の SHA コピーを短いやつにする | |
// @author tkdn <tkdnation@gmail.com> | |
// @match https://github.com/*/* | |
// @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 出、出~行永久輪句取奴〜 | |
// @namespace https://gist.github.com/tkdn/0aecc22deaa07c445fa74649060985ca#file-github-get-permalink-user-js | |
// @updateURL https://gist.github.com/tkdn/0aecc22deaa07c445fa74649060985ca/raw/b0d2fdd90a63583df2c70a98a1e0703a13b492db/github-get-permalink.user.js | |
// @downloadURL https://gist.github.com/tkdn/0aecc22deaa07c445fa74649060985ca/raw/b0d2fdd90a63583df2c70a98a1e0703a13b492db/github-get-permalink.user.js | |
// @version 0.1 | |
// @description GitHub のリンク押下時にコピーします | |
// @author tkdn <tkdnation@gmail.com> | |
// @match https://github.com/*/* | |
// @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 textarea をリサイズさせないのはおかしい | |
// @namespace https://gist.github.com/tkdn/cad64d2e51daae9b5fdacbd62bfc8776#file-forcedresizestyle-user-js | |
// @updateURL https://gist.github.com/tkdn/cad64d2e51daae9b5fdacbd62bfc8776/raw/dd70110598c61e0cb27b39184091e5be8d05d8d2/forcedresizestyle.user.js | |
// @downloadURL https://gist.github.com/tkdn/cad64d2e51daae9b5fdacbd62bfc8776/raw/dd70110598c61e0cb27b39184091e5be8d05d8d2/forcedresizestyle.user.js | |
// @version 0.1 | |
// @description | |
// @author tkdn | |
// @match https://*/* | |
// @grant none |
NewerOlder