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
document.querySelector('#chat').setAttribute('style',` | |
opacity: .9; | |
position: fixed; | |
top: 1rem; | |
right: 1rem; | |
`) | |
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 $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 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 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 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 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 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 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== |
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 Liberate 87pu | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @author You | |
// @match https://www.87pu.com.tw/* | |
// @grant none | |
// ==/UserScript== | |
(function () { |
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 LinkedIn X Glassdoor | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Shortcut from LinkedIn to Glassdoor | |
// @author ngseke | |
// @match https://www.linkedin.com/jobs/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=linkedin.com | |
// @grant none | |
// ==/UserScript== |
OlderNewer