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
/** | |
* Meet で参加者全員の映像をオフにする | |
* refs. https://support.google.com/meet/answer/7501121#zippy=%2C%E5%88%A9%E7%94%A8%E3%81%A7%E3%81%8D%E3%82%8B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC:~:text=%E8%A7%A3%E9%99%A4%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82-,%E4%BB%96%E3%81%AE%E5%8F%82%E5%8A%A0%E8%80%85%E3%81%AE%E5%8B%95%E7%94%BB%E3%83%95%E3%82%A3%E3%83%BC%E3%83%89%E3%82%92%E3%82%AA%E3%83%95%E3%81%AB%E3%81%99%E3%82%8B,-%E5%88%A9%E7%94%A8%E3%81%A7%E3%81%8D%E3%82%8B%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC | |
*/ | |
const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); | |
(async()=>{ | |
// 参加者一覧を表示 |
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://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 <[email protected]> | |
// @grant none | |
// @match https://*/* |
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
import { PDFExtract } from "pdf.js-extract"; | |
const pdfExtract = new PDFExtract(); | |
/** @type {PDFExtractOptions} */ | |
const options = { | |
firstPage: 3, | |
lastPage: 3, | |
}; | |
pdfExtract |
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
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 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://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 <[email protected]> | |
// @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
// ==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 <[email protected]> | |
// @match https://*.udemy.com/*/* | |
// @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://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 <[email protected]> | |
// @match https://reactjs.org/*/* | |
// @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://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 <[email protected]> | |
// @match https://meet.google.com/* | |
// @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://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 <[email protected]> | |
// @match https://github.com/*/* | |
// @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://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 <[email protected]> | |
// @match https://github.com/*/* | |
// @grant none |
NewerOlder