bookmarklets / entries.json
mrhappynice's picture
Upload 6 files
7b35f7f verified
Raw History Blame Contribute Delete
26.2 kB
[
{
"id": "44bce564-1a23-4629-a34f-5c6e4139caff",
"created_at": "2025-12-16T13:08:28.044Z",
"title": "3D Page",
"description": "Move the page around in 3D space. #visuals",
"code": "javascript:krazete:(()=>{var d={menu:document.createElement(\"div\"),limit:document.createElement(\"input\"),gap:document.createElement(\"input\"),sag:document.createElement(\"input\"),fov:document.createElement(\"input\"),flo:document.createElement(\"input\"),off:document.createElement(\"input\"),non:document.createElement(\"input\"),end:document.createElement(\"input\"),tgl:document.createElement(\"input\"),cssStatic:document.createElement(\"style\"),cssDynamic:document.createElement(\"style\"),orientation:{yaw:0,pitch:0,roll:0},mouseMove:function(e){d.orientation.yaw=180*-Math.cos(Math.PI*e.clientX/innerWidth)*d.limit.value,d.orientation.pitch=180*Math.cos(Math.PI*e.clientY/innerHeight)*d.limit.value,d.updateBody()},gyroMove:function(e){innerWidth>innerHeight?(d.orientation.yaw=-(e.alpha+e.beta),d.orientation.pitch=e.gamma-90*Math.sign(90-Math.abs(e.beta))):(d.orientation.yaw=-(e.alpha+e.gamma),d.orientation.pitch=e.beta-90),d.updateBody()},updateOrigin:function(e){document.body.style.transformOrigin=innerWidth/2+pageXOffset+\"px \"+(innerHeight/2+pageYOffset)+\"px\"},updateBody:function(){document.body.style.transform=\"perspective(\"+Math.pow(2,d.fov.value)+\"px) translateZ(-\"+d.gap.value+\"px) rotateX(\"+d.orientation.pitch+\"deg) rotateY(\"+d.orientation.yaw+\"deg)\"},updateCSS:function(){if(d.non.checked)d.cssDynamic.textContent=\"\";else if(d.off.checked)d.cssDynamic.textContent=\"* { transform-style: preserve-3d; }\";else{for(var e=0;document.querySelector(\"body\"+\" > *\".repeat(e));e++);var t=d.gap.value/e,n=-Math.PI*d.sag.value/e;d.cssDynamic.textContent=` * { transform: translateZ(${t}px) rotateX(${n}rad); transform-style: preserve-3d; transition: transform 1s; outline: 1px solid rgba(0, 0, 0, 0.0625); ${d.flo.checked?\"overflow: visible !important;\":\"\"} } *:hover { transform: translateZ(${2*t}px) rotateX(${2*n}rad); ${d.flo.checked?\"\":\"overflow: visible;\"} } `}},toggle:function(){\"active\"==d.menu.className?d.menu.removeAttribute(\"class\"):d.menu.className=\"active\"},quit:function(){window.removeEventListener(\"deviceorientation\",d.gyroMove),window.removeEventListener(\"mousemove\",d.mouseMove),window.removeEventListener(\"scroll\",d.updateOrigin),window.addEventListener(\"resize\",d.updateOrigin),d.menu.remove(),d.cssStatic.remove(),d.cssDynamic.remove(),document.body.removeAttribute(\"style\")},newRange:function(e,t,n,o,i,a,r){d.menu.appendChild(e),e.type=\"range\",e.min=n,e.max=i,e.step=o,e.value=a,e.addEventListener(\"input\",r),d.menu.appendChild(document.createElement(\"span\")).textContent=t,d.menu.appendChild(document.createElement(\"br\"))},newCheckbox:function(e,t,n){d.menu.appendChild(e),e.type=\"checkbox\",e.addEventListener(\"click\",n),d.menu.appendChild(document.createElement(\"span\")).textContent=t,d.menu.appendChild(document.createElement(\"br\"))},newButton:function(e,t,n){d.menu.appendChild(e),e.type=\"button\",e.value=t,e.addEventListener(\"click\",n)},init:function(){document.body.parentNode.appendChild(d.menu).id=\"tri-menu\",d.newRange(d.limit,\"limit\",0,.03125,1,.125,d.updateBody),d.newRange(d.gap,\"gap / distance\",0,32,512,128,function(){d.updateCSS(),d.updateBody()}),d.newRange(d.sag,\"sag\",-.25,.03125,.25,0,d.updateCSS),d.newRange(d.fov,\"field of view\",7,1,13,10,d.updateBody),d.newCheckbox(d.flo,\"force overflow\",d.updateCSS),d.flo.setAttribute(\"checked\",\"\"),d.newCheckbox(d.off,\"flatten layers\",d.updateCSS),d.newCheckbox(d.non,\"flatten everything\",d.updateCSS),d.newButton(d.end,\"Quit\",d.quit),d.newButton(d.tgl,\"%E2%89%A1\",d.toggle),d.tgl.id=\"tri-toggle\",d.menu.appendChild(d.cssStatic).textContent=` html, body { transition-property: none; height: 100%25; width: 100%25; } html, html:hover, #tri-menu,%20#tri-menu%20>%20*,%20#tri-menu%20>%20*:hover%20{%20transform:%20none;%20outline:%20none;%20overflow:%20auto%20!important;%20float:%20none;%20}%20#tri-menu%20{%20position:%20fixed;%20top:%200;%20left:%200;%20background:%20rgba(0,%200,%200,%200.5);%20color:%20white;%20border:%201px%20solid%20rgba(255,%20255,%20255,%200.5);;%20border-radius:%200%200%2016px%200;%20padding:%208px;%20transform:%20translate(-100%25,%20-100%25)%20translate(32px,%2032px);%20}%20#tri-menu.active%20{%20transform:%20none;%20}%20#tri-toggle%20{%20position:%20absolute;%20bottom:%200;%20right:%200;%20height:%2032px;%20width:%2032px;%20background:%20transparent;%20color:%20white;%20border:%20none;%20cursor:%20pointer;%20}%20#tri-menu.active%20>%20#tri-toggle%20{%20background:%20white;%20color:%20black;%20border-radius:%208px%200%200%200;%20}%20`,d.menu.appendChild(d.cssDynamic),d.updateCSS(),window.addEventListener(\"deviceorientation\",d.gyroMove),window.addEventListener(\"mousemove\",d.mouseMove),window.addEventListener(\"scroll\",d.updateOrigin),window.addEventListener(\"resize\",d.updateOrigin),window.scrollBy(0,1)}};d.init()})();",
"tags": [
"visuals"
],
"updated_at": "2025-12-16T13:17:50.706Z"
},
{
"id": "6",
"title": "Clone and Code",
"description": "Github Clone And Open in VSCode. Clones the current repo and opens it in vscode locally. #code",
"code": "javascript:!function()%7Bconst%20o%3Dwindow.location.pathname.split(%22%2F%22)%3Bif(o.length%3E%3D3)%7Bconst%20t%3D%60vscode%3A%2F%2Fvscode.git%2Fclone%3Furl%3Dhttps%3A%2F%2Fgithub.com%2F%24%7Bo%5B1%5D%7D%2F%24%7Bo%5B2%5D%7D.git%60%3Bwindow.open(t%2C%22_blank%22)%7Delse%20alert(%22Not%20on%20a%20GitHub%20repo%20page!%22)%7D()%3B",
"tags": [
"code"
],
"updated_at": "2025-12-16T13:03:37.933Z"
},
{
"id": "3",
"title": "Edit Text",
"description": "Allows you to edit the text on any webpage as if it were an editable document. #text",
"code": "javascript:!function()%7Btry%7Bdocument.body.contentEditable%3D%22true%22%2Cdocument.designMode%3D%22on%22%2Calert(%22Page%20is%20now%20editable!%22)%7Dcatch(e)%7Balert(%22Failed%20to%20make%20page%20editable%3A%20%22%2Be.message)%7D%7D()%3B",
"tags": [
"text"
],
"updated_at": "2025-12-16T12:55:08.415Z"
},
{
"id": "4",
"title": "Form Inspector",
"description": "Find any forms on the current page. Display a list of fields and ids. Copy the form information to json.",
"code": "javascript:!function()%7Bvar%20e%3Ddocument.getElementById(%22form-inspector%22)%3Bif(e)document.body.removeChild(e)%3Belse%7Bvar%20t%3Ddocument.createElement(%22div%22)%3Bt.id%3D%22form-inspector%22%2Ct.style.position%3D%22fixed%22%2Ct.style.top%3D%2210px%22%2Ct.style.right%3D%2210px%22%2Ct.style.width%3D%22600px%22%2Ct.style.maxHeight%3D%2290vh%22%2Ct.style.background%3D%22white%22%2Ct.style.border%3D%222px%20solid%20%23333%22%2Ct.style.borderRadius%3D%225px%22%2Ct.style.padding%3D%2215px%22%2Ct.style.boxShadow%3D%220%200%2010px%20rgba(0%2C0%2C0%2C0.5)%22%2Ct.style.zIndex%3D%229999999%22%2Ct.style.overflowY%3D%22auto%22%2Ct.style.fontFamily%3D%22Arial%2C%20sans-serif%22%2Ct.style.fontSize%3D%2214px%22%3Bvar%20n%3Ddocument.createElement(%22div%22)%3Bn.style.display%3D%22flex%22%2Cn.style.justifyContent%3D%22space-between%22%2Cn.style.marginBottom%3D%2210px%22%3Bvar%20l%3Ddocument.createElement(%22h2%22)%3Bl.textContent%3D%22Form%20Inspector%22%2Cl.style.margin%3D%220%22%2Cl.style.fontSize%3D%2218px%22%2Cn.appendChild(l)%3Bvar%20o%3Ddocument.createElement(%22div%22)%3Bo.style.display%3D%22flex%22%2Co.style.gap%3D%2210px%22%3Bvar%20a%3Ddocument.createElement(%22button%22)%3Ba.textContent%3D%22Copy%20JSON%22%2Ca.style.cursor%3D%22pointer%22%2Ca.onclick%3Dfunction()%7Bvar%20e%3Ddocument.querySelectorAll(%22input%2C%20select%2C%20textarea%22)%2Ct%3D%7Belements%3A%5B%5D%7D%3Be.forEach((function(e)%7Bif((e.name%7C%7Ce.id)%26%26y(e))%7Bvar%20n%3D%7Bname%3Ae.name%7C%7Ce.id%2Ctype%3Ae.type%7C%7Ce.tagName.toLowerCase()%2Cvalue%3Ae.value%7C%7C%22%22%2Clabel%3Af(e)%7D%3B(%22checkbox%22%3D%3D%3De.type%7C%7C%22radio%22%3D%3D%3De.type)%26%26(n.checked%3De.checked)%2Ct.elements.push(n)%7D%7D))%3Bvar%20n%3DJSON.stringify(t%2Cnull%2C2)%3Bnavigator.clipboard.writeText(n).then((function()%7Ba.textContent%3D%22Copied!%22%2CsetTimeout((function()%7Ba.textContent%3D%22Copy%20JSON%22%7D)%2C1500)%7D))%7D%2Co.appendChild(a)%3Bvar%20r%3Ddocument.createElement(%22button%22)%3Br.textContent%3D%22%C3%97%22%2Cr.style.cursor%3D%22pointer%22%2Cr.onclick%3Dfunction()%7Bdocument.body.removeChild(t)%7D%2Co.appendChild(r)%2Cn.appendChild(o)%2Ct.appendChild(n)%3Bvar%20d%3Ddocument.createElement(%22div%22)%2Ci%3DArray.from(document.querySelectorAll(%22input%2C%20select%2C%20textarea%22)).filter((e%3D%3E(e.name%7C%7Ce.id)%26%26y(e)))%3Bif(0%3D%3D%3Di.length)%7Bvar%20p%3Ddocument.createElement(%22p%22)%3Bp.textContent%3D%22No%20visible%20form%20elements%20found.%22%2Cd.appendChild(p)%7Delse%7Bvar%20c%3Ddocument.createElement(%22table%22)%3Bc.style.width%3D%22100%25%22%2Cc.style.borderCollapse%3D%22collapse%22%3Bvar%20m%3Ddocument.createElement(%22thead%22)%2Cs%3Ddocument.createElement(%22tr%22)%3B%5B%22Label%22%2C%22Field%20Name%22%2C%22Type%22%2C%22Value%22%5D.forEach((function(e)%7Bvar%20t%3Ddocument.createElement(%22th%22)%3Bt.textContent%3De%2Ct.style.textAlign%3D%22left%22%2Ct.style.padding%3D%225px%22%2Ct.style.borderBottom%3D%222px%20solid%20%23ddd%22%2Cs.appendChild(t)%7D))%2Cm.appendChild(s)%2Cc.appendChild(m)%3Bvar%20u%3Ddocument.createElement(%22tbody%22)%3Bi.forEach((function(e)%7Bvar%20t%3Ddocument.createElement(%22tr%22)%3Bt.style.borderBottom%3D%221px%20solid%20%23eee%22%3Bvar%20n%3Ddocument.createElement(%22td%22)%3Bn.textContent%3Df(e)%7C%7C%22%5Bno%20label%5D%22%2Cn.style.padding%3D%225px%22%2Ct.appendChild(n)%3Bvar%20l%3Ddocument.createElement(%22td%22)%3Bl.textContent%3De.name%7C%7Ce.id%7C%7C%22%5Bunnamed%5D%22%2Cl.style.padding%3D%225px%22%2Ct.appendChild(l)%3Bvar%20o%3Ddocument.createElement(%22td%22)%3Bo.textContent%3De.type%7C%7Ce.tagName.toLowerCase()%2Co.style.padding%3D%225px%22%2Ct.appendChild(o)%3Bvar%20a%3Ddocument.createElement(%22td%22)%3Ba.style.padding%3D%225px%22%3Bvar%20r%3Br%3D%22checkbox%22%3D%3D%3De.type%7C%7C%22radio%22%3D%3D%3De.type%3Fe.value%2B%22%20(%22%2B(e.checked%3F%22Checked%22%3A%22Unchecked%22)%2B%22)%22%3A%22select%22%3D%3D%3De.tagName.toLowerCase()%3Fe.value%2B%22%20(Selected)%22%3A%22password%22%3D%3D%3De.type%3F%22********%22%3Ae.value%2Ca.textContent%3Dr%2Ct.appendChild(a)%2Cu.appendChild(t)%7D))%2Cc.appendChild(u)%2Cd.appendChild(c)%7Dt.appendChild(d)%2Cdocument.body.appendChild(t)%7Dfunction%20y(e)%7Bif(0%3D%3D%3De.offsetWidth%7C%7C0%3D%3D%3De.offsetHeight)return!1%3Blet%20t%3Dwindow.getComputedStyle(e)%3Bif(%22none%22%3D%3D%3Dt.display%7C%7C%22hidden%22%3D%3D%3Dt.visibility%7C%7C%220%22%3D%3D%3Dt.opacity)return!1%3Blet%20n%3De.parentElement%3Bfor(%3Bn%3B)%7Blet%20e%3Dwindow.getComputedStyle(n)%3Bif(%22none%22%3D%3D%3De.display%7C%7C%22hidden%22%3D%3D%3De.visibility%7C%7C%220%22%3D%3D%3De.opacity)return!1%3Bn%3Dn.parentElement%7Dreturn!0%7Dfunction%20f(e)%7Bif(e.id)%7Blet%20t%3Ddocument.querySelector(%60label%5Bfor%3D%22%24%7Be.id%7D%22%5D%60)%3Bif(t%26%26t.textContent.trim())return%20t.textContent.trim()%7Dlet%20t%3De.parentElement%3Bfor(%3Bt%3B)%7Bif(%22label%22%3D%3D%3Dt.tagName.toLowerCase()%26%26t.textContent.trim())%7Blet%20e%3Dt.cloneNode(!0)%3Breturn%20Array.from(e.querySelectorAll(%22input%2C%20select%2C%20textarea%2C%20button%22)).forEach((e%3D%3Ee.remove()))%2Ce.textContent.trim()%7Dt%3Dt.parentElement%7Dif(e.getAttribute(%22aria-labelledby%22))%7Blet%20t%3De.getAttribute(%22aria-labelledby%22)%2Cn%3Ddocument.getElementById(t)%3Bif(n%26%26n.textContent.trim())return%20n.textContent.trim()%7Dreturn%20e.getAttribute(%22aria-label%22)%3Fe.getAttribute(%22aria-label%22).trim()%3Ae.placeholder%3Fe.placeholder%3A%22%22%7D%7D()%3B"
},
{
"id": "f19da426-3f27-444e-9e24-7a1dbaef9c82",
"created_at": "2025-12-16T13:15:16.626Z",
"title": "Invert Colors 1",
"description": "Invert webpage color, includes images. version 1 #colors",
"code": "javascript:krazete:var inverthtml;void 0===inverthtml?((inverthtml=document.createElement(\"style\")).textContent=\"html{background:black;filter:invert(100%25)}\",document.body.appendChild(inverthtml)):(inverthtml.remove(),inverthtml=void 0);",
"tags": [
"colors"
],
"updated_at": "2025-12-16T13:17:13.202Z"
},
{
"id": "afc66569-16e0-486c-8329-5b5edf4193a7",
"created_at": "2025-12-16T13:10:07.276Z",
"title": "Invert Colors 2",
"description": "Invert webpage color, includes images. version 2 #colors",
"code": "javascript:(function(){var css='html {-webkit-filter: invert(100%) hue-rotate(180deg); -moz-filter: invert(100%) hue-rotate(180deg); -o-filter: invert(100%) hue-rotate(180deg); -ms-filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);}', head=document.getElementsByTagName('head')[0], style=document.createElement('style'); if (!window.isInverted) { window.isInverted = true; style.type='text/css'; style.id='inverterStyle'; style.appendChild(document.createTextNode(css)); head.appendChild(style); } else { window.isInverted = false; var inverterStyle = document.getElementById('inverterStyle'); if (inverterStyle) { inverterStyle.parentNode.removeChild(inverterStyle); } }})();",
"tags": [
"colors"
],
"updated_at": "2025-12-16T13:14:33.498Z"
},
{
"id": "8",
"title": "Open current page in archive.is",
"description": "Opens the current page with archive.is, which will save a snapshot of the page and often bypasses paywalls.",
"code": "javascript:!function()%7Bvar%20n%3Dwindow.location.href%2Co%3D%22https%3A%2F%2Farchive.is%2Fsubmit%2F%3Furl%3D%22%2BencodeURIComponent(n)%3Bwindow.open(o%2C%22_blank%22)%7D()%3B"
},
{
"id": "9",
"title": "Quick Image",
"description": "Display a simple list all images on a page for easy saving. Right click any image to save.",
"code": "javascript:!function()%7Bfor(var%20e%3Ddocument.getElementsByTagName(%22img%22)%2Ct%3D%5B%5D%2Cn%3D0%3Bn%3Ce.length%3Bn%2B%2B)e%5Bn%5D.src%26%26t.push('%3Ca%20href%3D%22'%2Be%5Bn%5D.src%2B'%22%20target%3D%22_blank%22%3E%3Cimg%20src%3D%22'%2Be%5Bn%5D.src%2B'%22%20style%3D%22max-height%3A200px%3B%22%3E%3C%2Fa%3E')%3B0%3D%3D%3Dt.length%3Falert(%22No%20images%20found%22)%3Awindow.open(%22%22%2C%22Images%22).document.write(t.join(%22%22))%7D()%3B",
"tags": [],
"updated_at": "2025-12-16T13:06:11.812Z"
},
{
"id": "10",
"title": "Readable",
"description": "Make the current page readable and remove all the junk and ads.",
"code": "javascript:!function()%7Btry%7Bconst%20n%3Dfunction()%7Bconst%20n%3D%5B%22article%22%2C%22main%20article%22%2C'%5Brole%3D%22main%22%5D%20article'%2C%22.post-content%22%2C%22.entry-content%22%2C%22.article-content%22%2C%22.post-body%22%2C%22.article-body%22%2C%22%23article-body%22%2C%22.story-body%22%2C%22.content-body%22%2C%22main%22%2C'%5Brole%3D%22main%22%5D'%2C%22.main-content%22%2C%22%23main-content%22%2C%22.post%22%2C%22.entry%22%2C%22.content%22%5D%3Bfor(let%20e%20of%20n)%7Bconst%20n%3Ddocument.querySelector(e)%3Bif(n%26%26n.innerText.length%3E500)return%20n%7Dlet%20e%3D0%2Ct%3Dnull%3Breturn%20document.querySelectorAll(%22div%2C%20section%2C%20article%22).forEach((n%3D%3E%7Bconst%20o%3Dn.querySelectorAll(%22p%22)%2Ci%3Dn.innerText.length%3Bo.length%3Ee%26%26i%3E500%26%26(e%3Do.length%2Ct%3Dn)%7D))%2Ct%7D()%3Bif(!n)return%20void%20alert(%22Could%20not%20find%20article%20content%20on%20this%20page.%22)%3Bconst%20e%3Dfunction()%7Bconst%20n%3D%5B%22h1%22%2C%22article%20h1%22%2C%22.entry-title%22%2C%22.article-title%22%2C%22.post-title%22%2C'%5Bclass*%3D%22title%22%5D'%2C%22title%22%5D%3Bfor(let%20e%20of%20n)%7Bconst%20n%3Ddocument.querySelector(e)%3Bif(n%26%26n.innerText)return%20n.innerText.trim()%7Dreturn%20document.title%7D()%3B!function(n%2Ce)%7Bconst%20t%3Ddocument.implementation.createHTMLDocument(n)%2Co%3Dt.createElement(%22meta%22)%3Bo.name%3D%22viewport%22%2Co.content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%2Ct.head.appendChild(o)%3Bconst%20i%3Dt.createElement(%22style%22)%3Bi.textContent%3D%22%5Cn%20%20%20%20%20%20%20%20%20%20%20%20*%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20box-sizing%3A%20border-box%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20body%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-family%3A%20Georgia%2C%20'Times%20New%20Roman'%2C%20serif%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20line-height%3A%201.6%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23333%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20%23f9f9f9%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin%3A%200%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20.container%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20max-width%3A%20700px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin%3A%200%20auto%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20white%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%2040px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20box-shadow%3A%200%200%2010px%20rgba(0%2C0%2C0%2C0.1)%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20h1%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%202.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20line-height%3A%201.2%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%200.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23222%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20h2%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%201.8em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-top%3A%201.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%200.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23333%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20h3%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%201.4em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-top%3A%201.2em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%200.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23444%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20p%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%201.3em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%201.1em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20img%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20max-width%3A%20100%25%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20height%3A%20auto%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20display%3A%20block%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin%3A%201.5em%20auto%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20a%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%230066cc%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20a%3Ahover%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20underline%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20blockquote%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20border-left%3A%204px%20solid%20%23ddd%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin%3A%201.5em%200%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding-left%3A%201.5em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23666%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-style%3A%20italic%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20pre%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20%23f4f4f4%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%201em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20overflow-x%3A%20auto%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20border-radius%3A%204px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20code%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20%23f4f4f4%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%200.2em%200.4em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20border-radius%3A%203px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-family%3A%20'Courier%20New'%2C%20monospace%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20.meta%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20%23666%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%200.9em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%202em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding-bottom%3A%201em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20border-bottom%3A%201px%20solid%20%23eee%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20.back-link%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position%3A%20fixed%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20top%3A%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20left%3A%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20%23333%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20color%3A%20white%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%2010px%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20border-radius%3A%205px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-family%3A%20-apple-system%2C%20BlinkMacSystemFont%2C%20'Segoe%20UI'%2C%20sans-serif%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%2014px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20.back-link%3Ahover%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20background%3A%20%23555%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20text-decoration%3A%20none%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%40media%20(max-width%3A%20768px)%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20body%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%2010px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.container%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20padding%3A%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20h1%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20font-size%3A%202em%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.back-link%20%7B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20position%3A%20static%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20display%3A%20inline-block%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20margin-bottom%3A%2020px%3B%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%20%20%20%20%7D%5Cn%20%20%20%20%20%20%20%20%22%2Ct.head.appendChild(i)%3Bconst%20r%3Dt.createElement(%22div%22)%3Br.className%3D%22container%22%3Bconst%20a%3Dt.createElement(%22a%22)%3Ba.href%3Dwindow.location.href%2Ca.className%3D%22back-link%22%2Ca.textContent%3D%22%E2%86%90%20Back%20to%20original%22%2Ct.body.appendChild(a)%3Bconst%20c%3Dt.createElement(%22h1%22)%3Bc.textContent%3Dn%2Cr.appendChild(c)%3Bconst%20l%3Dt.createElement(%22div%22)%3Bl.className%3D%22meta%22%2Cl.textContent%3D%60Source%3A%20%24%7Bwindow.location.hostname%7D%60%2Cr.appendChild(l)%3Bconst%20d%3Dt.createElement(%22div%22)%3Bd.innerHTML%3De%2Cr.appendChild(d)%2Ct.body.appendChild(r)%2Cdocument.open()%2Cdocument.write(t.documentElement.outerHTML)%2Cdocument.close()%7D(e%2Cfunction(n)%7Bconst%20e%3Dn.cloneNode(!0)%3Breturn%5B%22script%22%2C%22style%22%2C%22iframe%22%2C%22form%22%2C%22button%22%2C%22.social-share%22%2C%22.share%22%2C%22.comments%22%2C%22.comment%22%2C%22.ad%22%2C%22.ads%22%2C%22.advertisement%22%2C%22.sidebar%22%2C%22.related%22%2C%22.newsletter%22%2C%22.popup%22%2C%22.modal%22%2C'%5Bclass*%3D%22share%22%5D'%2C'%5Bclass*%3D%22social%22%5D'%2C'%5Bid*%3D%22share%22%5D'%2C'%5Bid*%3D%22social%22%5D'%5D.forEach((n%3D%3E%7Be.querySelectorAll(n).forEach((n%3D%3En.remove()))%7D))%2Ce.querySelectorAll(%22*%22).forEach((n%3D%3E%7Bconst%20e%3D%5B%22href%22%2C%22src%22%2C%22alt%22%5D%3BArray.from(n.attributes).forEach((t%3D%3E%7Be.includes(t.name)%7C%7Cn.removeAttribute(t.name)%7D))%7D))%2Ce.innerHTML%7D(n))%7Dcatch(n)%7Balert(%22Error%20creating%20readable%20view%3A%20%22%2Bn.message)%7D%7D()%3B"
}
]