From ba1dd35efa836f55c980e51efd0c07cc26c43506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=8B=E2=80=8A=F0=90=AB=B0=F0=96=A1=97=F0=90=84=AA?= =?UTF-8?q?=E1=AA=A3=E2=80=83=E1=AA=A3=F0=90=84=AA=F0=96=A1=97=F0=90=AB=B0?= =?UTF-8?q?=E2=80=8A=E2=80=8B?= <888000888OOO888000888@PROTON.ME> Date: Thu, 15 Oct 2026 03:39:43 +0300 Subject: [PATCH] =?UTF-8?q?=E2=80=8B=E2=80=81=E2=80=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- /𖡗/·/𖤞/𖥚/𖡼/◯𖡼◯𖤞◯𖡼◯/2026-10-15T00:41:27.762Z.MD | 1 + 1 file changed, 1 insertion(+) create mode 100644 /𖡗/·/𖤞/𖥚/𖡼/◯𖡼◯𖤞◯𖡼◯/2026-10-15T00:41:27.762Z.MD diff --git a/ /𖡗/·/𖤞/𖥚/𖡼/◯𖡼◯𖤞◯𖡼◯/2026-10-15T00:41:27.762Z.MD b/ /𖡗/·/𖤞/𖥚/𖡼/◯𖡼◯𖤞◯𖡼◯/2026-10-15T00:41:27.762Z.MD new file mode 100644 index 0000000..fe23eac --- /dev/null +++ b/ /𖡗/·/𖤞/𖥚/𖡼/◯𖡼◯𖤞◯𖡼◯/2026-10-15T00:41:27.762Z.MD @@ -0,0 +1 @@ +
| 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( ${ "HTTPS://RDL.INK/render/" + encodeURIComponent(link.href) } ) |
| 109 | + , |
| 110 | + url( ${ "HTTPS://WEB.ARCHIVE.ORG/save/"+encodeURIComponent("http://RDL.INK/render/" + encodeURIComponent(link.href)) } ) |
| 111 | + , |
| 112 | + 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) } ) |
| 113 | + , |
| 114 | + url( ${ "HTTP://V1.SCREENSHⓄT.11TY.DEV/" + encodeURIComponent("http://API.HACKERTARGET.COM/pagelinks/?q=" + link.href) + "/large/" } ) |
| 115 | + , |
| 116 | + url( ${ "HTTP://V1.SCREENSHⓄT.11TY.DEV/" + encodeURIComponent("https://API.HACKERTARGET.COM/pagelinks/?q=" + link.href) + "/large/" } ) |
| 117 | + , |
| 118 | + url( ${ "HTTPS://WEB.ARCHIVE.ORG/save/"+encodeURIComponent("http://V1.SCREENSHOT.11TY.DEV/" + encodeURIComponent("http://API.HACKERTARGET.COM/pagelinks/?q=" + link.href) + "/large/") } ) |
| 119 | + , |
| 120 | + url( ${ "HTTPS://WEB.ARCHIVE.ORG/save/"+encodeURIComponent("http://V1.SCREENSHOT.11TY.DEV/" + encodeURIComponent("https://API.HACKERTARGET.COM/pagelinks/?q=" + link.href) + "/large/") } ) |
| 121 | + , |
| 122 | + url( ${ "HTTP://V1.SCREENSHOT.11TY.DEV/" + encodeURIComponent("https://R.JINA.AI/" + link.href) + "/large/" } ) |
| 123 | + , |
| 124 | + url( ${ "HTTPS://WEB.ARCHIVE.ORG/save/"+encodeURIComponent("http://V1.SCREENSHOT.11TY.DEV/" + encodeURIComponent("https://R.JINA.AI/" + link.href) + "/large/") } ) |
| 125 | + ` |
| 126 | + ; |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + //, |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + //url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/" + encodeURIComponent(link.href) } ) |
| 136 | + //, |
| 137 | + //url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://R.JINA.AI/" + encodeURIComponent(link.href) } ) |
| 138 | + //, |
| 139 | + //url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://WWW.TEXTISE.NET/showtext.aspx?strURL=" + encodeURIComponent(link.href) } ) |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + // , |
| 145 | + // url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://WWW.TEXTISE.NET/showtext.aspx?strURL=http://ARQUIVO.PT/save/now/record/" + encodeURIComponent(link.href) } ) |
| 146 | + |
| 147 | + // , |
| 148 | + |
| 149 | + // url( ${ "HTTP://ARQUIVⓄ.PT/save/now/record/http://ARCHIVE.PH/submit/?url=" + encodeURIComponent(link.href) } ) |
| 150 | + |
| 151 | + // , |
| 152 | + |
| 153 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/" + link.href } ) |
| 154 | + // , |
| 155 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://ARCHIVE.PH/submit/?url=" + link.href } ) |
| 156 | + // , |
| 157 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://R.JINA.AI/" + link.href } ) |
| 158 | + // , |
| 159 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://TEXTISE.NET/showtext.aspx?strURL=" + link.href } ) |
| 160 | + // , |
| 161 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://TEXTISE.NET/showtext.aspx?strURL=https://WEB.ARCHIVE.ⓄRG/save/" + link.href } ) |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + // , \\ |
| 166 | + |
| 167 | + |
| 168 | + // url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/http://ARQUIVO.PT/save/now/record/" + encodeURIComponent(link.href) } ) \\ |
| 169 | + // , \\ |
| 170 | + // url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.MICROLINK.IO/?pdf&embed=pdf.url&scale=1&margin=0&url=" + encodeURIComponent(link.href) } ) \\ |
| 171 | + // , \\ |
| 172 | + // url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.MINIATURE.IO/pdf?url=" + encodeURIComponent(link.href) } ) \\ |
| 173 | + // , \\ |
| 174 | + // url( ${ "HTTP://WEB.ARCHIVE.ⓄRG/save/https://API.STAKDEK.DE/api/pdf/from_url?url=" + encodeURIComponent(link.href) } ) \\ |
| 175 | + // , \\ |
| 176 | + // 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) } ) \\ |
| 177 | + // , \\ |
| 178 | + // 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) } ) \\ |
| 179 | + // , \\ |
| 180 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.MICROLINK.IO/?pdf&embed=pdf.url&scale=1&margin=0&url=" + link.href } ) \\ |
| 181 | + // , \\ |
| 182 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.MINIATURE.IO/pdf?url=" + link.href } ) \\ |
| 183 | + // , \\ |
| 184 | + // url( ${ "HTTP://GHⓄSTARCHIVE.ⓄRG/save/http://API.STAKDEK.DE/api/pdf/from_url?url=" + link.href } ) \\ |
| 185 | + // , \\ |
| 186 | + // 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 } ) \\ |
| 187 | + // , \\ |
| 188 | + // 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 } ) \\ |
| 189 | + |
| 190 | + |
| 191 | + // ` \\ |
| 192 | + // ; \\ |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + link.style.backgroundSize += "100% 100% ,1EM ,100% 100% ,100% 100% ,100% 100% ,100% 100% ,100% 100% ,100% 100% ,100% 100% ,100% 100% ,100% 100% , 100% 100%"; |
| 197 | + link.style.backgroundPosition += `CENTER` ; |
| 198 | + link.style.backgroundRepeat += `NO-REPEAT` ; |
| 199 | + link.style.backgroundBlendMode += `MULTIPLY` ; |
| 200 | + link.style.cssText += `TEXT-SHADOW:0 0 CALC(6REM/9) #6C6C6C;-WEBKIT-TEXT-STROKE:CALC(1.0625EM/27) #FCFCFC;/*COLOR:#FFFFFFFF*/;BORDER-RADIUS:CALC(0EM/3)` ; |
| 201 | + // link.target = '_blank'; \\ |
| 202 | + |
| 203 | + link.addEventListener('mouseenter', () => { |
| 204 | + link.style.fontWeight = 'bold'; |
| 205 | + //link.style.transform = 'scale(2)';\\ |
| 206 | + link.style.width = 'min(calc(100vw * 4.5/9), calc(100vh * 4.5/9))'; |
| 207 | + link.style.height = 'min(calc(100vw * 4.5/9), calc(100vh * 4.5/9))'; |
| 208 | + }); |
| 209 | + |
| 210 | + link.addEventListener('mouseleave', () => { |
| 211 | + //link.style.transform = 'scale(1)';\\ |
| 212 | + link.style.fontWeight = ''; |
| 213 | + link.style.width = ''; |
| 214 | + link.style.height = ''; |
| 215 | + }); |
| 216 | + |
| 217 | + // link.style.background +=`url(${"HTTP://S0.WP.CⓄM/mshots/v1/" + encodeURIComponent(link.href)})` ; \\ |
| 218 | + |
| 219 | + // link.style.background +=`url(${"HTTP://V1.SCREENSHⓄT.11TY.DEV/" + encodeURIComponent(link.href) +"/large/"})` ; \\ |
| 220 | + |
| 221 | + // 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)})` ; \\ |
| 222 | + |
| 223 | + // link.style.background +=`url(${"HTTP://API.MINIATURE.IⓄ/?url=" + encodeURIComponent(link.href)})` ; \\ |
| 224 | + |
| 225 | + // 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)})` ; \\ |
| 226 | + |
| 227 | + fetch(link.href, { method: "HEAD" }) |
| 228 | + .then(response => { |
| 229 | + const code = response.status; |
| 230 | + // const angle = -(code - 200) * 0.6 ; \\ |
| 231 | + const angle = -(code - 200) * 0.54 ; |
| 232 | + const angleHSL = angle + 150.5; |
| 233 | + |
| 234 | + overlayInner.style.border = "1px solid #00F47CAA"; |
| 235 | + overlayInner.style.filter = `hue-rotate(${angle}deg)`; |
| 236 | + overlayInner.style.opacity = "CALC(44.41111111111/27)"; |
| 237 | + 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('')); |
| 238 | + |
| 239 | + // link.text=((O=>[...O].slice(1).reverse().join`` + O)([...code + ''].map(O=> '᮰·꞉⋮⁘⸭⠿፨❋𐧾'[O]).join``)) ; \\ |
| 240 | + // link.text=link.title+link.text+link.title ; \\ |
| 241 | + // 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``}` ; \\ |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + // 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%))`; \\ |
| 246 | + // 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)})` ; \\ |
| 247 | + // 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)})` ; \\ |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + // link.style.cssText +=`border-radius:CALC(2EM/3);filter:drop-shadow(0 0 CALC(2PX)#00F47C)hue-rotate(${angle}deg)` ; \\ |
| 252 | + // 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%));` ; \\ |
| 253 | + |
| 254 | + |
| 255 | + }) |
| 256 | + |
| 257 | + |
| 258 | + .catch(() => { |
| 259 | + //link.style.backgroundImage +=`!LINEAR-GRADIENT(TO TOP,#CECECE07,#CECECE07)` ;\\ |
| 260 | + overlayInner.style.border = "1px solid #B9B9B9AA"; |
| 261 | + overlayInner.style.opacity = "CALC(44.41111111111/27)"; |
| 262 | + //overlayInner.style.filter = "saturate(1)" ; \\ |
| 263 | + //overlayOuter.style.filter = "saturate(1)" ; \\ |
| 264 | + link.title = link.title ? " ◌ " + link.title + " ◌ " : "◌"; |
| 265 | + link.style.cssText += |
| 266 | + ` |
| 267 | + ` |
| 268 | + ; |
| 269 | + }); |
| 270 | + } |
| 271 | + |
| 272 | + document.querySelectorAll("a[href]").forEach(processLink); |
| 273 | + |
| 274 | + const observer = new MutationObserver(mutations => { |
| 275 | + mutations.forEach(mutation => { |
| 276 | + mutation.addedNodes.forEach(node => { |
| 277 | + if (node.nodeType !== 1) return; |
| 278 | + if (node.matches && node.matches("a[href]")) processLink(node); |
| 279 | + if (node.querySelectorAll) node.querySelectorAll("a[href]").forEach(processLink); |
| 280 | + }); |
| 281 | + }); |
| 282 | + }); |
| 283 | + |
| 284 | + observer.observe(document.body, { |
| 285 | + childList: true, |
| 286 | + subtree: true |
| 287 | + }); |
| 288 | + |
| 289 | + }); |