Browse files
𖡼/🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪/🧿/Ƨᒐ....𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼◦୦◦◯◦୦◦⠀⠀⠀⠀⠀⠀◦୦◦◯◦୦◦𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼....JS
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// ==UserScript==
|
| 2 |
+
// @name 𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼◦୦◦◯◦୦◦⠀⠀⠀⠀⠀⠀◦୦◦◯◦୦◦𖡼☐𖡼🔲𖡼☐𖡼🟪🟥🟧🟨🟩🟦🟩🟨🟧🟥🟪𖡼☐𖡼🔲𖡼☐𖡼
|
| 3 |
+
// @namespace 𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠◦୦◦◯◦୦◦⠀ ⠀◦୦◦◯◦୦◦𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠 ɘↄaqƨɘman@ \\
|
| 4 |
+
// @version O
|
| 5 |
+
// @description 𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠◦୦◦◯◦୦◦⠀ ⠀◦୦◦◯◦୦◦𖣠⚪𔗢⚪🞋⚪𔗢⚪𖣠
|
| 6 |
+
// @match *://*/*
|
| 7 |
+
// @grant none
|
| 8 |
+
// @run-at document-start tratƨ-tnɘmuↄob ta-nur@ \\
|
| 9 |
+
// @license 0BSD
|
| 10 |
+
// ==/UserScript==
|
| 11 |
+
|
| 12 |
+
document.addEventListener("DOMContentLoaded", function () {
|
| 13 |
+
|
| 14 |
+
function processLink(link) {
|
| 15 |
+
if (!link || link.dataset.processed) return ;
|
| 16 |
+
if (link.closest("svg")) return;
|
| 17 |
+
// if (!link.href || !link.href.startsWith("http")) return \\ ;
|
| 18 |
+
|
| 19 |
+
link.dataset.processed = "1";
|
| 20 |
+
|
| 21 |
+
// Create outer and inner wrappers
|
| 22 |
+
const outer = document.createElement("span");
|
| 23 |
+
const inner = document.createElement("span");
|
| 24 |
+
|
| 25 |
+
outer.className = "◻𖤞◻";
|
| 26 |
+
inner.className = "◯𖤞◯";
|
| 27 |
+
|
| 28 |
+
outer.style.display = "inline-block";
|
| 29 |
+
outer.style.position = "relative";
|
| 30 |
+
outer.style.borderRadius = "CALC(2EM/3)";
|
| 31 |
+
outer.style.boxSizing = "border-box";
|
| 32 |
+
outer.style.margin = "3.5PX";
|
| 33 |
+
link.style.lineHeight = "CALC(4/3)";
|
| 34 |
+
|
| 35 |
+
inner.style.display = "inline-block";
|
| 36 |
+
inner.style.position = "relative";
|
| 37 |
+
inner.style.margin = "0";
|
| 38 |
+
inner.style.top = "0";
|
| 39 |
+
inner.style.boxSizing = "border-box";
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
if (link.parentNode) {
|
| 43 |
+
link.parentNode.insertBefore(outer, link);
|
| 44 |
+
outer.appendChild(inner);
|
| 45 |
+
inner.appendChild(link);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
// const imgs = link.querySelectorAll("img"); \\
|
| 49 |
+
// imgs.forEach(img => { \\
|
| 50 |
+
// img.style.maxWidth = "100%"; \\
|
| 51 |
+
// img.style.maxHeight = "100%"; \\
|
| 52 |
+
// img.style.objectFit = "contain"; \\
|
| 53 |
+
// img.style.display = "inline-block"; \\
|
| 54 |
+
// img.style.verticalAlign = "-11.75%"; \\
|
| 55 |
+
// img.style.borderRadius = "CALC(2EM/3)";\\
|
| 56 |
+
// }); \\
|
| 57 |
+
|
| 58 |
+
const overlayOuter = document.createElement("span");
|
| 59 |
+
const overlayInner = document.createElement("span");
|
| 60 |
+
|
| 61 |
+
[overlayOuter, overlayInner].forEach(el => {
|
| 62 |
+
el.style.position = "absolute";
|
| 63 |
+
el.style.pointerEvents = "none";
|
| 64 |
+
el.style.borderRadius = "CALC(2EM/3)";
|
| 65 |
+
el.style.boxSizing = "border-box";
|
| 66 |
+
el.style.display = "block";
|
| 67 |
+
});
|
| 68 |
+
|
| 69 |
+
const shieldURL =
|
| 70 |
+
"HTTP://IMG.SHIELDS.IⓄ/website.svg?label=&style=for-the-badge" +
|
| 71 |
+
"&up_color=%2300F47CAA" +
|
| 72 |
+
"&down_color=%23FF0B83AA" +
|
| 73 |
+
"&up_message=%E2%A0%80" +
|
| 74 |
+
"&down_message=%E2%A0%80" +
|
| 75 |
+
"&url=" + encodeURIComponent(link.href);
|
| 76 |
+
|
| 77 |
+
overlayOuter.style.top = "-4px";
|
| 78 |
+
overlayOuter.style.left = "-4px";
|
| 79 |
+
overlayOuter.style.right = "-4px";
|
| 80 |
+
overlayOuter.style.bottom = "-4px";
|
| 81 |
+
overlayOuter.style.margin = "0px";
|
| 82 |
+
overlayOuter.style.border = "1px solid transparent";
|
| 83 |
+
overlayOuter.style.zIndex = "65535";
|
| 84 |
+
overlayOuter.style.borderImage = `url(${shieldURL}) 1`;
|
| 85 |
+
overlayOuter.style.borderImageSlice = "1";
|
| 86 |
+
overlayOuter.style.opacity = "CALC(44.41111111111/27)";
|
| 87 |
+
|
| 88 |
+
overlayInner.style.top = "-2px";
|
| 89 |
+
overlayInner.style.left = "-2px";
|
| 90 |
+
overlayInner.style.right = "-2px";
|
| 91 |
+
overlayInner.style.bottom = "-2px";
|
| 92 |
+
overlayInner.style.border = "1px solid transparent";
|
| 93 |
+
overlayInner.style.zIndex = "65536";
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
outer.appendChild(overlayOuter);
|
| 97 |
+
outer.appendChild(overlayInner);
|
| 98 |
+
|
| 99 |
+
link.style.display = "INLINE-BLOCK" ;
|
| 100 |
+
link.style.backgroundImage +=
|
| 101 |
+
`
|
| 102 |
+
LINEAR-GRADIENT(TO TOP,#FFFFFF1C,#FFFFFF1C)
|
| 103 |
+
,
|
| 104 |
+
url( ${ "HTTP://FAVICⓄN.IM/" + link.href } )
|
| 105 |
+
,
|
| 106 |
+
url( ${ "HTTP://V1.SCREENSHⓄT.11TY.DEV/" + encodeURIComponent(link.href) + "/large/" } )
|
| 107 |
+
,
|
| 108 |
+
url( ${ "HTTP://API.MICROLINK.IⓄ/?screenshot.fullPage=false&force=true&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) } )
|
| 109 |
+
`
|
| 110 |
+
;
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
//,
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
//url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/" + encodeURIComponent(link.href) } )
|
| 120 |
+
//,
|
| 121 |
+
//url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://R.JINA.AI/" + encodeURIComponent(link.href) } )
|
| 122 |
+
//,
|
| 123 |
+
//url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://WWW.TEXTISE.NET/showtext.aspx?strURL=" + encodeURIComponent(link.href) } )
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
// ,
|
| 129 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://WWW.TEXTISE.NET/showtext.aspx?strURL=http://ARQUIVO.PT/save/now/record/" + encodeURIComponent(link.href) } )
|
| 130 |
+
|
| 131 |
+
// ,
|
| 132 |
+
|
| 133 |
+
// url( ${ "HTTP://ARQUIVⓄ.PT/save/now/record/http://ARCHIVE.PH/submit/?url=" + encodeURIComponent(link.href) } )
|
| 134 |
+
|
| 135 |
+
// ,
|
| 136 |
+
|
| 137 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/" + link.href } )
|
| 138 |
+
// ,
|
| 139 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://ARCHIVE.PH/submit/?url=" + link.href } )
|
| 140 |
+
// ,
|
| 141 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://R.JINA.AI/" + link.href } )
|
| 142 |
+
// ,
|
| 143 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://TEXTISE.NET/showtext.aspx?strURL=" + link.href } )
|
| 144 |
+
// ,
|
| 145 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://TEXTISE.NET/showtext.aspx?strURL=https://WEB.ARCHIVE.ⓄRG/save/" + link.href } )
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
// , \\
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://ARQUIVO.PT/save/now/record/" + encodeURIComponent(link.href) } ) \\
|
| 153 |
+
// , \\
|
| 154 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.MICROLINK.IO/?pdf&embed=pdf.url&scale=1&margin=0&url=" + encodeURIComponent(link.href) } ) \\
|
| 155 |
+
// , \\
|
| 156 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.MINIATURE.IO/pdf?url=" + encodeURIComponent(link.href) } ) \\
|
| 157 |
+
// , \\
|
| 158 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.STAKDEK.DE/api/pdf/from_url?url=" + encodeURIComponent(link.href) } ) \\
|
| 159 |
+
// , \\
|
| 160 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.HTML2PDF.CO.UK/?license=YOURLICENSEKEY&page_size=A4&top=0&bottom=0&left=0&right=0&css_media_type=print&optimize_layout=true&lazy_load=true&wait_time=1042&url=" + encodeURIComponent(link.href) } ) \\
|
| 161 |
+
// , \\
|
| 162 |
+
// url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://PDFMYURL.COM/api?license=YOURLICENSEKEY&block_ads&hide_cookie_notices&width=297.3&height=297.3&bottom=0&top=0&right=0&left=0&css_media_type=print&lazy_load&javascript_time=1042&optimize_layout&compress&url=" + encodeURIComponent(link.href) } ) \\
|
| 163 |
+
// , \\
|
| 164 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.MICROLINK.IO/?pdf&embed=pdf.url&scale=1&margin=0&url=" + link.href } ) \\
|
| 165 |
+
// , \\
|
| 166 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.MINIATURE.IO/pdf?url=" + link.href } ) \\
|
| 167 |
+
// , \\
|
| 168 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.STAKDEK.DE/api/pdf/from_url?url=" + link.href } ) \\
|
| 169 |
+
// , \\
|
| 170 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/https://API.HTML2PDF.CO.UK/?license=YOURLICENSEKEY&page_size=A4&top=0&bottom=0&left=0&right=0&css_media_type=print&optimize_layout=true&lazy_load=true&wait_time=1042&url=" + link.href } ) \\
|
| 171 |
+
// , \\
|
| 172 |
+
// url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://PDFMYURL.COM/api?license=YOURLICENSEKEY&block_ads&hide_cookie_notices&width=297.3&height=297.3&bottom=0&top=0&right=0&left=0&css_media_type=print&lazy_load&javascript_time=1042&optimize_layout&compress&url=" + link.href } ) \\
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
// ` \\
|
| 176 |
+
// ; \\
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
|
| 180 |
+
link.style.backgroundSize += "100% 100% ,1EM ,100% 100% ,100% 100% , 100% 100%";
|
| 181 |
+
link.style.backgroundPosition += `CENTER` ;
|
| 182 |
+
link.style.backgroundRepeat += `NO-REPEAT` ;
|
| 183 |
+
link.style.backgroundBlendMode += `MULTIPLY` ;
|
| 184 |
+
link.style.cssText += `TEXT-SHADOW:0 0 CALC(6REM/9) #1C1C1C;-WEBKIT-TEXT-STROKE:CALC(0EM/27) #FFFFFF;COLOR:#FFFFFFFF;BORDER-RADIUS:CALC(0EM/3)` ;
|
| 185 |
+
// link.target = '_blank'; \\
|
| 186 |
+
|
| 187 |
+
link.addEventListener('mouseenter', () => {
|
| 188 |
+
link.style.fontWeight = 'bold';
|
| 189 |
+
//link.style.transform = 'scale(2)';\\
|
| 190 |
+
link.style.width = 'min(calc(100vw * 4.5/9), calc(100vh * 4.5/9))';
|
| 191 |
+
link.style.height = 'min(calc(100vw * 4.5/9), calc(100vh * 4.5/9))';
|
| 192 |
+
});
|
| 193 |
+
|
| 194 |
+
link.addEventListener('mouseleave', () => {
|
| 195 |
+
//link.style.transform = 'scale(1)';\\
|
| 196 |
+
link.style.fontWeight = '';
|
| 197 |
+
link.style.width = '';
|
| 198 |
+
link.style.height = '';
|
| 199 |
+
});
|
| 200 |
+
|
| 201 |
+
// link.style.background +=`url(${"HTTP://S0.WP.CⓄM/mshots/v1/" + encodeURIComponent(link.href)})` ; \\
|
| 202 |
+
|
| 203 |
+
// link.style.background +=`url(${"HTTP://V1.SCREENSHⓄT.11TY.DEV/" + encodeURIComponent(link.href) +"/large/"})` ; \\
|
| 204 |
+
|
| 205 |
+
// link.style.background +=`url(${"HTTP://WEB.ARCHIVE.ⓄRG/save/http://API.MICROLINK.IO/?viewport.width=1024&viewport.height=1024&viewport.deviceScaleFactor=0.25&mediaType=screen&adblock=true&javascript=true&screenshot&meta=false&embed=screenshot.url&url=" + encodeURIComponent(link.href)})` ; \\
|
| 206 |
+
|
| 207 |
+
// link.style.background +=`url(${"HTTP://API.MINIATURE.IⓄ/?url=" + encodeURIComponent(link.href)})` ; \\
|
| 208 |
+
|
| 209 |
+
// link.style.background +=`url(${"HTTP://IMG.SHIELDS.IⓄ/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)})` ; \\
|
| 210 |
+
|
| 211 |
+
fetch(link.href, { method: "HEAD" })
|
| 212 |
+
.then(response => {
|
| 213 |
+
const code = response.status;
|
| 214 |
+
// const angle = -(code - 200) * 0.6 ; \\
|
| 215 |
+
const angle = -(code - 200) * 0.54 ;
|
| 216 |
+
const angleHSL = angle + 150.5;
|
| 217 |
+
|
| 218 |
+
overlayInner.style.border = "1px solid #00F47CAA";
|
| 219 |
+
overlayInner.style.filter = `hue-rotate(${angle}deg)`;
|
| 220 |
+
overlayInner.style.opacity = "CALC(44.41111111111/27)";
|
| 221 |
+
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(''));
|
| 222 |
+
|
| 223 |
+
// link.text=((O=>[...O].slice(1).reverse().join`` + O)([...code + ''].map(O=> '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join``)) ; \\
|
| 224 |
+
// link.text=link.title+link.text+link.title ; \\
|
| 225 |
+
// 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``}` ; \\
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
// link.style.cssText +=`border-Radius:CALC(2EM/3);// COLOR:HSL(${angleHSL},100%,47.9%) \\ ; // COLOR:#A1A1A1FF \\ ; filter:drop-shadow(0 0 CALC(1EM/9) HSL(${angleHSL},100%,47.9%))`; \\
|
| 230 |
+
// link.style.cssText=`border-Radius:CALC(2EM/3); // COLOR:HSL(${angleHSL},100%,47.9%) \\ ; // COLOR:#A1A1A1FF \\ ; filter: drop-shadow(0 0 CALC(1PX) HSL(${angleHSL},00%,25,47.9%))drop-shadow(0 0 CALC(1PX) HSL(${angleHSL},100%,47.9%)) ;background:url(${"HTTP://IMG.SHIELDS.IⓄ/website.svg?label=&style=for-the-badge&up_color=%2300F47C03&down_color=%23FF0B8303&up_message=%E2%A0%80&down_message=%E2%A0%80&url=" + encodeURIComponent(link.href)})` ; \\
|
| 231 |
+
// link.style.cssText +=`border-Radius:CALC(2EM/3) ; COLOR:#00F47C ; filter:hue-rotate(${angle}deg)drop-shadow(0 0 CALC(0EM/27)HSL(${angleHSL},100%,47.9%)) ;background:url(${"HTTP://IMG.SHIELDS.IⓄ/website.svg?label=&style=for-the-badge&up_color=%2300F47C07&down_color=%23FF0B8307&up_message=%E2%A0%80&down_message=%E2%A0%80&url=" + encodeURIComponent(link.href)})` ; \\
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
|
| 235 |
+
// link.style.cssText +=`border-radius:CALC(2EM/3);filter:drop-shadow(0 0 CALC(2PX)#00F47C)hue-rotate(${angle}deg)` ; \\
|
| 236 |
+
// link.style.cssText +=`border-radius:CALC(2EM/3); filter:drop-shadow(0 0 calc(0EM/9/1.78125) hsl(${angleHSL},100%,47.9%)) drop-shadow(0 0 CALC(0PX) hsl(${angleHSL},100%,47.9%));` ; \\
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
})
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
.catch(() => {
|
| 243 |
+
//link.style.backgroundImage +=`!LINEAR-GRADIENT(TO TOP,#CECECE07,#CECECE07)` ;\\
|
| 244 |
+
overlayInner.style.border = "1px solid #B9B9B9AA";
|
| 245 |
+
overlayInner.style.opacity = "CALC(44.41111111111/27)";
|
| 246 |
+
//overlayInner.style.filter = "saturate(1)" ; \\
|
| 247 |
+
//overlayOuter.style.filter = "saturate(1)" ; \\
|
| 248 |
+
link.title = link.title ? " ◌ " + link.title + " ◌ " : "◌";
|
| 249 |
+
link.style.cssText +=
|
| 250 |
+
`
|
| 251 |
+
`
|
| 252 |
+
;
|
| 253 |
+
});
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
document.querySelectorAll("a[href]").forEach(processLink);
|
| 257 |
+
|
| 258 |
+
const observer = new MutationObserver(mutations => {
|
| 259 |
+
mutations.forEach(mutation => {
|
| 260 |
+
mutation.addedNodes.forEach(node => {
|
| 261 |
+
if (node.nodeType !== 1) return;
|
| 262 |
+
if (node.matches && node.matches("a[href]")) processLink(node);
|
| 263 |
+
if (node.querySelectorAll) node.querySelectorAll("a[href]").forEach(processLink);
|
| 264 |
+
});
|
| 265 |
+
});
|
| 266 |
+
});
|
| 267 |
+
|
| 268 |
+
observer.observe(document.body, {
|
| 269 |
+
childList: true,
|
| 270 |
+
subtree: true
|
| 271 |
+
});
|
| 272 |
+
|
| 273 |
+
});
|