-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowser_scripts_bookmarks.html
32 lines (32 loc) · 8.27 KB
/
browser_scripts_bookmarks.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1716903028" LAST_MODIFIED="0" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3>
<DL><p>
</DL><p>
<DT><H3 ADD_DATE="1723821686" LAST_MODIFIED="1723821707">Snippets</H3>
<DL><p>
<DT><A HREF="javascript:((main=()=>{let e="";switch(window.location.hostname){case"mobile.twitter.com":e="css-9pa8cd";break;case"m.facebook.com":e="_5sgi";break;case"instagram.com":e="weEfm";break;default:break}urlArray=[];const t=document.querySelector("body");function o(e){return new Promise((t=>setTimeout(t,e)))}let n=(e,t)=>{let o=document.createElement("a");o.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)},r=async(e,t)=>{let o=document.createElement("a");o.href=await async function(e){return fetch(e).then((e=>e.blob())).then((e=>URL.createObjectURL(e)))}(e),o.download=t,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)};(()=>{let e=document.createElement("button");e.style="position:fixed;bottom:2em;right:3em;background-color:white;width:6em;height:3em;border:none;decoration:none;border-radius:7px;font-weight:bold;font-size:1.2em",e.textContent="Get Urls",e.id="urlsListBtn",e.addEventListener("click",(()=>{let e=urlArray.toString();n("url-list.txt",e)})),document.querySelector("body").appendChild(e)})();new MutationObserver((function(e,t){for(const t of e)if("childList"===t.type){let e=Array.from(t.addedNodes);getImageUrlsObserver(e)}0===e.length&&t.disconnect()})).observe(t,{childList:!0,subtree:!0}),getImageUrlsObserver=e=>{for(let t of e){let e=Array.from(t.children);for(item of e){let e=item.href;e&&urlArray.push(e)}}},async function(){for(;window.pageYOffset+window.innerHeight<=document.body.offsetHeight-1;)window.scrollTo(0,document.body.scrollHeight),await o(2e3+Math.trunc(.1*Math.random()*1e4));!async function(){for await(url of urlArray){let e=await fetch(url).then((e=>e.text())),t=e.substring(e.lastIndexOf("https",e.indexOf('target="_blank')),e.indexOf('" target="_blank"')).replaceAll("&","&"),n=t.split("/")[9].split("?%22)[0];r(t,n),o(Math.trunc(.1*Math.random()*1e4))}}()}()})())" ADD_DATE="1631842730">Facebook Account Image Downloader</A>
<DT><A HREF="javascript:(document.body.addEventListener("contextmenu", (e) => {e.preventDefault();e.target.remove()}))" ADD_DATE="1635476788">Touch Div Remover</A>
<DT><A HREF="javascript:((function(){let node = document.querySelectorAll("audio")[0].currentSrc;window.location.href=node})())" ADD_DATE="1632554177">Audio Downloader Generic</A>
<DT><A HREF="javascript:(window.location.href=`${window.location.href}?s=20`)" ADD_DATE="1634505972">Twitter Top Related of Tweet</A>
<DT><A HREF="javascript:(document.body.addEventListener("contextmenu", (e) => {e.target.style.overflow = "scroll";e.target.requestFullscreen()}))" ADD_DATE="1634051551">Touch Div Fullscreen</A>
<DT><A HREF="javascript:((function(){document.querySelector("body").addEventListener("contextmenu", e => {e.target.className==="fXIG0" ?%20downloadVideo(e):%20downloadImage(e)});%20function%20downloadImage(e){let%20imgSrc=e.target.previousSibling.childNodes[0].currentSrc;!e.target.hasChildNodes()%20&&%20createBox(e,%20imgSrc)%20};%20function%20downloadVideo(e){let%20vidSrc%20=%20e.target.previousSibling.previousSibling.childNodes[0].currentSrc;!e.target.hasChildNodes()%20&&%20createBox(e,%20vidSrc)};%20function%20createBox(e,%20imgSrc){let%20box%20=%20document.createElement(%22div%22);box.style=%22font-weight:bold;font-size:20px;background-color:%20white;%20line-height:26px;height:50px;%20text-align:%20center;padding-top:%2010px;%20background-color:%20slateblue%22;let%20link%20=%20document.createElement(%22a%22);link.href=imgSrc;link.style=%22text-decoration:none;color:white%22;link.textContent=%22Download%20Link%20%F0%9F%91%8F%F0%9F%91%8F%22;link.download%20=%20true;box.appendChild(link);%20e.target.appendChild(box)}})())" ADD_DATE="1632245735">Instagram Downloader</A>
<DT><A HREF="javascript:((main=()=>{let e="";switch(window.location.hostname){case"mobile.twitter.com":e="css-9pa8cd";break;case"instagram.com":e="weEfm";break;default:break}urlArray=[];const t=document.querySelector("body");let o=(e,t)=>{let o=document.createElement("a");o.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(t)),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)};(()=>{let e=document.createElement("button");e.style="position:fixed;bottom:2em;right:3em;background-color:white;width:6em;height:3em;border:none;decoration:none;border-radius:7px;font-weight:bold;font-size:1.2em",e.textContent="Get Urls",e.id="urlsListBtn",e.addEventListener("click",(()=>{let e=urlArray.toString();o("url-list.txt",e)})),document.querySelector("body").appendChild(e)})();new MutationObserver((function(e,t){for(const t of e)if("childList"===t.type){let e=Array.from(t.addedNodes);getImageUrlsObserver(e)}0===e.length&&t.disconnect()})).observe(t,{childList:!0,subtree:!0}),getImageUrlsObserver=t=>{for(let o of t){if(Array.from(o.classList).includes(e)){let e=o.src,t=e.slice(0,e.lastIndexOf("&"));t.startsWith("https://pbs.twimg.com/media/")&&urlArray.push(t)}}}})())" ADD_DATE="1631697399">Twitter Account Media Downloader</A>
<DT><A HREF="javascript:(document.querySelector('html').requestFullscreen())" ADD_DATE="1631069785">Enter Fullscreen</A>
<DT><A HREF="javascript:(document.body.addEventListener("contextmenu", (e) => {e.preventDefault();navigator.clipboard.writeText(e.target.className);e.target.remove()}))" ADD_DATE="1628859376">Div : Copy and Remove</A>
<DT><A HREF="javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();" ADD_DATE="1622171295">Dev Tools</A>
<DT><A HREF="javascript:((function(){let node = document.querySelectorAll("video")[0].currentSrc;window.location.href=node})())" ADD_DATE="1621907004">Video Downloader Generic</A>
<DT><A HREF="javascript:((function rem(){document.body.style.overflowY="visible";document.body.style.position="relative"})())" ADD_DATE="1621795502">Remove Scroll Lock</A>
<DT><A HREF="javascript:(function(){const e=document.querySelectorAll("video");document.querySelectorAll("*").forEach((e=>{e.remove()}));const o=document.createElement("div");document.appendChild(o),e.forEach((e=>{e.controls=true;o.appendChild(e)}))}())" ADD_DATE="1718576238">Show Video Only</A>
<DT><A HREF="javascript:(function(){"use strict";function e(){document.querySelectorAll('video, audio, iframe[src*="youtube.com"], iframe[src*="vimeo.com"], object[type="application/x-shockwave-flash"]').forEach((e=>{e.pause(),e.src="",e.srcObject=null,e.remove()}))}function o(e){(e.target.src||"").match(/\.(mp4|webm|ogg|mp3|wav|mov)$/i)&&(e.preventDefault(),e.stopPropagation())}e();new MutationObserver(e).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("beforescriptexecute",o,!0),window.addEventListener("beforeload",o,!0)}())" ADD_DATE="1723833148">Block Videos and Audio on Page</A>
</DL><p>
<DT><H3 ADD_DATE="1716903028" LAST_MODIFIED="1722438327">Tabs collection</H3>
<DL><p>
</DL><p>
</DL><p>