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
javascript: (() => { document.querySelectorAll("body > div > section > div > div > div > div > button").forEach(el => { const existing = el.parentNode.querySelector("a"); if (existing != null) { return } const img = el.querySelector("img"); const did = img?.src.match(/did:[^\/]+/s); const a = document.createElement("a"); a.href = `https://bsky.app/profile/${did}`; a.target = "_blank"; a.style = "display: block; margin: 0.5rem 0;"; a.innerText = "🔗 Open profile page"; el.parentNode.appendChild(a); }); })(); void 0; |
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
javascript:window.onmousemove=function(e){e.target.style.outline="2px #f00 solid";};window.onmouseout=function(e){e.target.style.outline="none";};window.onclick=function(e){var t=e.target.innerText,s=new SpeechSynthesisUtterance(t);console.log(t);s.lang="ja-JP";s.pitch=0.1;s.rate=0.1;speechSynthesis.speak(s);};void(0); |
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
javascript: (() => { const w = window.open(); const k = Object.keys(w); w.close(); const m = new Map(Object.keys(window).filter(p => !k.includes(p)).map(p => [p, window[p]])); console.info('🌏 Global properties', Object.fromEntries(m)); })(); void 0; |
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
// LOSPEC用カラーピッカー | |
// SEE: https://lospec.com/palette-list | |
(() => { | |
const current = { | |
target: null, | |
style: null, | |
} | |
window.onmouseover = (event) => { | |
if (event.target.parentNode) { | |
current.target = event.target.parentNode |
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 exclusionTags = [ 'SCRIPT', 'STYLE' ] | |
const exclusionCharacters = [ ' ', ' ' ] | |
const emptyRegex = new RegExp('^[\\s ]*$', 's') | |
const maskCharacters = [ '▀', '▁', '▂', '▃', '▄', '▅', '▆', '▇', '█', '▔', '▙', '▚', '▛', '▜', '▞', '▟' ] | |
const irandom = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min | |
const traverseElement = (currentElement) => { | |
if (currentElement.nodeType === 1 && !exclusionTags.includes(currentElement.tagName)) { | |
currentElement.childNodes.forEach(traverseElement) | |
} else if (currentElement.nodeType === 3 && !emptyRegex.test(currentElement.nodeValue)) { |
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 maskClassName = '__mask' | |
const styleElement = document.createElement('style') | |
document.head.appendChild(styleElement) | |
styleElement.sheet.insertRule(`.${maskClassName} { filter: blur(8px); }`) | |
const exclusionTags = [ 'SCRIPT', 'STYLE' ] | |
const emptyRegex = new RegExp('^[\\s ]*$', 's') | |
const traverseElement = (currentElement) => { | |
if (currentElement.nodeType === 1 && !exclusionTags.includes(currentElement.tagName)) { | |
currentElement.childNodes.forEach(traverseElement) |
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
javascript: (() => { const s = document.createElement('style'); document.head.appendChild(s); s.sheet.insertRule('.eldenring { all: initial; display: flex; align-items: center; opacity: 0; pointer-events: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; transition: opacity 2000ms linear; user-select: none; z-index: 65536; }'); s.sheet.insertRule('.eldenring[data-start="true"] { opacity: 1.0; }'); s.sheet.insertRule('.eldenring > div { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 20%, rgba(0, 0, 0, 0.75) 80%, rgba(0, 0, 0, 0) 100%); color: #c00000; flex-grow: 1; font-family: serif; font-size: 10vmin; letter-spacing: 0.5vmin; padding: 2vmin 0; text-align: center; transform: scale(1.0); transition: transform 2000ms ease-out; }'); s.sheet.insertRule('.eldenring[data-start="true"] > div { transform: scale(1.25); }'); const c = document.createElement('div'); document.body.appendChild(c); c.className = 'eldenring'; const e = document.createElement('div'); c.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
javascript: (() => { const text = getSelection() + ''; if (text !== '') prompt('Text Fragment', `${location.href}#:~:text=${encodeURIComponent(text.trim())}`); else alert('テキストが選択されていません。'); })(); void 0; |
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
javascript: (() => { const json = prompt('wordle.txt の中身を入力してください。', ''); if (json !== '') { localStorage.setItem('statistics', json); location.reload(); } })(); void 0; |
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
javascript: (() => { const a = document.createElement('a'); a.download = 'wordle.txt'; a.href = URL.createObjectURL(new Blob([ localStorage.statistics ], { type: 'text/plain' })); a.target = '_blank'; a.click(); })(); void 0; |
NewerOlder