Skip to content

Instantly share code, notes, and snippets.

javascript:(function(){const MAX_RETRIES=3,RETRY_DELAY=2e3,TIMEOUT_MS=3e5;let url=window.location.origin,domain=new URL(url).hostname,archiveAPI="https://web.archive.org/web/timemap/json?url="+encodeURIComponent(url)+"&matchType=prefix&collapse=urlkey&output=json&fl=original,mimetype,timestamp,groupcount&filter=statuscode:200&mimetype:text/html",proxyOptions=["https://api.allorigins.win/get?disableCache=true&url="+encodeURIComponent(archiveAPI),"https://corsproxy.io/?"+encodeURIComponent(archiveAPI),"https://cors-proxy.taskcluster.net/"+encodeURIComponent(archiveAPI)],loadingMessage=document.createElement("div");function updateLoadingMessage(e){loadingMessage.innerHTML=e}function removeLoadingMessage(){document.body.contains(loadingMessage)&&document.body.removeChild(loadingMessage)}function fetchWithTimeout(e,t={},a=TIMEOUT_MS){return Promise.race([fetch(e,t),new Promise((e,t)=>setTimeout(()=>t(new Error("Request timeout - Wayback Machine might be busy")),a))])}async function tryProxies(e=0,t=0){if(t>=proxyO
@natzir
natzir / getPercentDiff.js
Last active March 20, 2025 15:15
getPercentDiff.js
javascript:(function()%7Bjavascript%3A!function()%7Bfunction%20e(e)%7Blet%20l%3De.querySelectorAll(%22tr%22)%2Cn%3Dl%5B1%5D%3Bif(!(n%26%26(n.querySelector(%22%3Anth-child(4)%20%3E%20span%20%3E%20span%20%3E%20span%22)%7C%7Cn.querySelector(%22%3Anth-child(7)%20%3E%20span%20%3E%20span%20%3E%20span%22))))for(let%20a%3D1%3Ba%3Cl.length%3Ba%2B%2B)%7Blet%20r%3Dl%5Ba%5D%3Br.cells%5B1%5D.getAttribute(%22data-numeric-value%22)%3Blet%20i%3Dr.cells%5B2%5D.getAttribute(%22data-numeric-value%22)%2Cc%3Dr.cells%5B3%5D.getAttribute(%22data-numeric-value%22)%3Br.cells%5B4%5D.getAttribute(%22data-numeric-value%22)%3Blet%20s%3Dr.cells%5B5%5D.getAttribute(%22data-numeric-value%22)%2Co%3Dr.cells%5B6%5D.getAttribute(%22data-numeric-value%22)%2Cd%3Di%2Cu%3Ds%2Cp%3Dt(c%2Cd)%2Ch%3Dt(o%2Cu)%2Cf%3Dr.querySelector(%22%3Anth-child(4)%20%3E%20span%20%3E%20span%22)%2Cm%3Dr.querySelector(%22%3Anth-child(7)%20%3E%20span%20%3E%20span%22)%2Cg%3Ddocument.createElement(%22span%22)%2C%24%3Ddocument.createElement(%22span%22)%3Bg.innerText%3D%60%20(
@natzir
natzir / Internal-Link-Checker-Bookmarklet.js
Last active February 14, 2025 19:15
Internal Link Checker Bookmarklet
@natzir
natzir / how-to-fool-hive-moderation-s-ai-generated-image-detection-hack.ipynb
Created October 10, 2024 08:16
How to Fool Hive Moderation's AI-Generated Image Detection [Hack]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / fuzzy-booster-by-natzir-mlforseo.ipynb
Created October 10, 2024 08:13
Fuzzy Booster by Natzir - MLforSEO
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / image_captioning.ipynb
Created October 10, 2024 10:17
image_captioning.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / wayback-machine-s-robots-txt-change-visualizer.ipynb
Created October 10, 2024 08:22
Wayback Machine's Robots.txt Change Visualizer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / youtube_video_summarizer-gpt-4.ipynb
Created October 10, 2024 08:18
YouTube_Video_Summarizer- GPT-4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@natzir
natzir / breaking-and-fooling-c2pa-hack.ipynb
Created October 10, 2024 08:16
Breaking and Fooling C2PA [Hack]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.