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
javascript: void (function () { | |
if ((window.innerHeight + window.scrollY) >= document.body.scrollHeight) { | |
window.scroll(0, 0); | |
} else { | |
window.scrollTo(0, document.body.scrollHeight); | |
} | |
})(); |
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
javascript : (function () { | |
if (!document.getElementById("redLine")) { | |
h = document.createElement("div"); | |
h.setAttribute("id", "redLine"); | |
h.setAttribute("style", "width:100%;height:3px;background-color:red;font-size:inherit;line-height:inherit;position:absolute;left:0px;top:0px;z-index:999;opacity:1;"); | |
document.getElementsByTagName("body")[0].appendChild(h); | |
window.onmousemove = function (e) { | |
var h = document.getElementById("redLine"); | |
h.style.top = (e.pageY + 15) + "px"; | |
h.setAttribute("class", e.pageY); |
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
javascript: (function (window, document, undefined) { | |
try { | |
var selectedText = document.getSelection().toString(); | |
if (selectedText === "") { | |
selectedText = window.location.href; | |
} | |
if (selectedText !== "") { | |
var clipB = prompt("Content to qrCode renderize", selectedText); | |
if (clipB !== null) { | |
void navigator.clipboard.writeText(clipB); |
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
javascript: void (function () { | |
function a(a) { | |
if (navigator.clipboard && window.isSecureContext) | |
return navigator.clipboard.writeText(a); | |
else { | |
let b = document.createElement("textarea"); | |
return ( | |
(b.value = a), | |
(b.style.position = "fixed"), | |
(b.style.left = "-999999px"), |
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
javascript: var coding = | |
"abcdefghijklmnopqrstuvwxyzabcdefghijklmABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLM"; | |
function rot13(t) { | |
for (var r = "", i = 0; i < t.length; i++) { | |
character = t.charAt(i); | |
position = coding.indexOf(character); | |
if (position > -1) character = coding.charAt(position + 13); | |
r += character; | |
} |
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 () { | |
const pageTitle = document.title; | |
const selectedText = window.getSelection().toString(); | |
const currentUrl = location.href; | |
const targetUrl = `https://www.addtoany.com/add_to/printfriendly?linkurl=${encodeURIComponent( | |
currentUrl | |
)}`; | |
const separator = "\n(...)\n"; | |
const quote = `*${pageTitle}*\n${separator}${selectedText}${separator}\nSource: ${currentUrl}\nReadable: ${targetUrl}`; |
NewerOlder