𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼◦୦◦◯◦୦◦⠀⠀⠀⠀⠀⠀◦୦◦◯◦୦◦𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼

OOOO · updated 15 minutes ago
<SCRIPT>
// ==UserScript==
// @name 𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼◦୦◦◯◦୦◦⠀⠀⠀⠀⠀⠀◦୦◦◯◦୦◦𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼
// @namespace ◦୦◦◯◦୦◦⠀       ⠀◦୦◦◯◦୦◦𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠◦୦◦◯◦୦◦⠀       ⠀◦୦◦◯◦୦◦ ɘↄaqƨɘman@ \\
// @version O
// @description ◦୦◦◯◦୦◦⠀       ⠀◦୦◦◯◦୦◦𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠◦୦◦◯◦୦◦⠀       ⠀◦୦◦◯◦୦◦
// @match *://*/*
// @grant none
// @run-at document-start tratƨ-tnɘmuↄob ta-nur@ \\
// @license 0BSD
// ==/UserScript==

document.addEventListener("DOMContentLoaded", function () {

function processLink(link) {
if (!link || link.dataset.processed) return ;
// if (!link.href || !link.href.startsWith("http")) return \\ ;

link.dataset.processed = "1";

// Create outer and inner wrappers
const outer = document.createElement("span");
const inner = document.createElement("span");

outer.className = "◻𖤞◻";
inner.className = "◯𖤞◯";

outer.style.display = "inline-block";
outer.style.position = "relative";
outer.style.borderRadius = "CALC(2EM/3)";
outer.style.boxSizing = "border-box";
outer.style.margin = "3.5PX";
link.style.lineHeight = "CALC(4/3)";

inner.style.display = "inline-block";
inner.style.position = "relative";
inner.style.margin = "0";
inner.style.top = "0";
inner.style.boxSizing = "border-box";


if (link.parentNode) {
link.parentNode.insertBefore(outer, link);
outer.appendChild(inner);
inner.appendChild(link);
}

const imgs = link.querySelectorAll("img");
imgs.forEach(img => {
img.style.maxWidth = "100%";
img.style.maxHeight = "100%";
img.style.objectFit = "contain";
img.style.display = "inline-block";
img.style.verticalAlign = "-11.75%";
});

const overlayOuter = document.createElement("span");
const overlayInner = document.createElement("span");

[overlayOuter, overlayInner].forEach(el => {
el.style.position = "absolute";
el.style.pointerEvents = "none";
el.style.borderRadius = "CALC(2EM/3)";
el.style.boxSizing = "border-box";
el.style.display = "block";

});

const shieldURL =
"HTTP://[Log in to view URL]Ⓞ/website.svg?label=&style=for-the-badge" +
"&up_color=%2300F47CFF" +
"&down_color=%23FF0B83FF" +
"&up_message=%E2%A0%80" +
"&down_message=%E2%A0%80" +
"&url=" + encodeURIComponent(link.href);

overlayOuter.style.top = "-3px";
overlayOuter.style.left = "-3px";
overlayOuter.style.right = "-3px";
overlayOuter.style.bottom = "-3px";
overlayOuter.style.margin = "0px";
overlayOuter.style.border = "1px solid transparent";
overlayOuter.style.zIndex = "65535";
overlayOuter.style.borderImage = `url(${shieldURL}) 1`;
overlayOuter.style.borderImageSlice = "1";
overlayOuter.style.opacity = "CALC(44.41111111111/27)";

overlayInner.style.top = "-1px";
overlayInner.style.left = "-1px";
overlayInner.style.right = "-1px";
overlayInner.style.bottom = "-1px";
overlayInner.style.border = "1px solid transparent";
overlayInner.style.zIndex = "65536";


outer.appendChild(overlayOuter);
outer.appendChild(overlayInner);

link.style.display = "INLINE-BLOCK" ;
link.style.backgroundImage +=
`
LINEAR-GRADIENT(TO TOP,#FFFFFF1C,#FFFFFF1C)
,
url( ${ "HTTP://FAVICⓄN.IM/" + link.href } )
,
url( ${ "HTTP://[Log in to view URL]ⓄT.11TY.DEV/" + encodeURIComponent(link.href) + "/large/" } )
,
url( ${ "HTTPS://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]Ⓞ/?screenshot.fullPage=false&screenshot.omitBackground=true&screenshot.type=png&viewport.width=729&viewport.height=729&viewport.deviceScaleFactor=0.333333333&mediaType=screen&adblock=true&javascript=true&screenshot&meta=false&embed=screenshot.url&url=" + encodeURIComponent(link.href) } )
`
;




//,



//url( ${ "HTTP://[Log in to view URL].ⓄRG/save/" + encodeURIComponent(link.href) } )
//,
//url( ${ "HTTP://[Log in to view URL].ⓄRG/save/http://[Log in to view URL]" + encodeURIComponent(link.href) } )
//,
//url( ${ "HTTP://[Log in to view URL].ⓄRG/save/http://[Log in to view URL]" + encodeURIComponent(link.href) } )




// ,
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/http://[Log in to view URL]" + encodeURIComponent(link.href) } )

// ,

// url( ${ "HTTP://ARQUIVⓄ.PT/save/now/record/http://[Log in to view URL]" + encodeURIComponent(link.href) } )

// ,

// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/" + link.href } )
// ,
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } )
// ,
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } )
// ,
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } )
// ,
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } )



// , \\


// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/http://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://[Log in to view URL].ⓄRG/save/https://[Log in to view URL]" + encodeURIComponent(link.href) } ) \\
// , \\
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } ) \\
// , \\
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } ) \\
// , \\
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } ) \\
// , \\
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/https://[Log in to view URL]" + link.href } ) \\
// , \\
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://[Log in to view URL]" + link.href } ) \\


// ` \\
// ; \\



link.style.backgroundSize += "100% 100% ,1EM ,100% 100% ,100% 100% , 100% 100%";
link.style.backgroundPosition += `CENTER` ;
link.style.backgroundRepeat += `NO-REPEAT` ;
link.style.backgroundBlendMode += `MULTIPLY` ;
link.style.cssText += `-WEBKIT-TEXT-STROKE:CALC(1PX/3) WHITE;TEXT-SHADOW:0 0 CALC(1PX/3) BLACK;COLOR:#A1A1A1;BORDER-RADIUS:CALC(2EM/3)` ;

// link.style.background +=`url(${"HTTP://[Log in to view URL]ⓄM/mshots/v1/" + encodeURIComponent(link.href)})` ; \\

// link.style.background +=`url(${"HTTP://[Log in to view URL]ⓄT.11TY.DEV/" + encodeURIComponent(link.href) +"/large/"})` ; \\

// link.style.background +=`url(${"HTTP://[Log in to view URL].ⓄRG/save/http://[Log in to view URL]" + encodeURIComponent(link.href)})` ; \\

// link.style.background +=`url(${"HTTP://[Log in to view URL]Ⓞ/?url=" + encodeURIComponent(link.href)})` ; \\

// link.style.background +=`url(${"HTTP://[Log in to view URL]Ⓞ/website.svg?label=&style=for-the-badge&up_color=%2300F47C0D&down_color=%23FF0B830D&up_message=%E2%A0%80&down_message=%E2%A0%80&url=" + encodeURIComponent(link.href)})` ; \\

fetch(link.href, { method: "HEAD" })
.then(response => {
const code = response.status;
// const angle = -(code - 200) * 0.6 ; \\
const angle = -(code - 200) * 0.54 ;
const angleHSL = angle + 150.5;

overlayInner.style.border = "1px solid #00F47CFF";
overlayInner.style.filter = `hue-rotate(${angle}deg)`;
overlayInner.style.opacity = "CALC(44.41111111111/27)";
link.title = link.title ? ((O) => [...O].slice(1).reverse().join("") + O)([...code + ''].map(O => '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join('')) + " " + link.title + " " + ((O) => [...O].slice(1).reverse().join("") + O)([...code + ''].map(O => '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join('')) : ((O) => [...O].slice(1).reverse().join("") + O)([...code + ''].map(O => '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join(''));

// link.text=((O=>[...O].slice(1).reverse().join`` + O)([...code + ''].map(O=> '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join``)) ; \\
// link.text=link.title+link.text+link.title ; \\
// link.text=`#${(h=((angleHSL%360+360)%360)/60,s=1,l=.479,c=(1-Math.abs(2*l-1))*s,x=c*(1-Math.abs(h%2-1)),m=l-c/2,(h<1?[c,x,0]:h<2?[x,c,0]:h<3?[0,c,x]:h<4?[0,x,c]:h<5?[x,0,c]:[c,0,x])).map(v=>Math.round((v+m)*255).toString(16).padStart(2,0)).join``}` ; \\


Output
(Run the program to view its output)

Comments

Please sign up or log in to contribute to the discussion.