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
document.querySelector('#chat').setAttribute('style',` | |
opacity: .9; | |
position: fixed; | |
top: 1rem; | |
right: 1rem; | |
`) | |
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
var $chatList = document | |
.querySelector('#chatframe') | |
.contentWindow | |
.document | |
.querySelector('#item-offset #items') | |
var observer = new MutationObserver(([{ target }]) => { | |
const items = [...target.querySelectorAll('yt-live-chat-text-message-renderer')] | |
.map($el => ({ | |
img: $el.querySelector('#img').getAttribute('src'), |
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
function getVipButtons () { | |
return [...document.querySelectorAll('button.btn-exchange-vip')] | |
} | |
function getIsListLoaded () { | |
return document.querySelector('.interview-list').style.opacity === '1' | |
} | |
function goToNextPage () { | |
const $next = document.querySelector('.iw_pagination-item.iw_active').nextSibling.nextSibling.querySelector?.('a') |
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
const { format } = new Intl.NumberFormat('en-US') | |
console.log(format(14501405)) // 14,501,405 |
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
function calc () { | |
const patterns = [ | |
{ | |
regex: /(謝謝|感謝)/, | |
description: '普通感謝', | |
}, | |
{ | |
regex: /謝(.*?)(愛|喜)(.*?)灣/, | |
description: '精準感謝', | |
}, |
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 CakeResume Company Blocker | |
// @namespace https://ngseke.me/ | |
// @version 0.1 | |
// @description 避免誤擊你的前東家或者雷公司 | |
// @author ngseke | |
// @match *.cakeresume.com/jobs* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @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 Wikipedia Link Converter | |
// @namespace https//ngseke.me/ | |
// @version 0.1 | |
// @description Convert Wikipedia Links to Desktop Version on Google Search | |
// @author ngseke | |
// @include /^https?\:\/\/.*.google\..*\/.*$/ | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @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 Customize YouTube Caption Font | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description 把 YouTube CC 字幕變成粉圓體 `jf-openhuninn-2.0`(裝置內必須提前安裝此字體) | |
// @author You | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @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 ChatGPT as Your English Tutor | |
// @namespace https://ngseke.me/ | |
// @version 0.1 | |
// @description ChatGPT as Your English Tutor | |
// @author ngseke | |
// @match https://chatgpt.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com | |
// @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 Wikipedia Title with Chinese Translation | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Wikipedia Title with Chinese Translation | |
// @author ngseke | |
// @match https://en.wikipedia.org/wiki/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=wikipedia.org | |
// @grant none | |
// ==/UserScript== |
OlderNewer