Bookmarklets

javascript:( () => { alert('Hello, World!'); } ) ();

javascript:( () => { const allElements = document.querySelectorAll('*');  for (let element of allElements) { element.style.fontFamily = 'Comic Sans MS'; }} ) ();

javascript:( () => { const allImages = document.getElementsByTagName('img');  for (let images of allImages) { images.src = 'https://wl-brightside.cf.tsp.li/resize/728x/jpg/12a/40f/9664c65748811b8a7b92898b45.jpg'; }} ) ();

javascript:(function(){ const existing = document.querySelectorAll('.img-alt-size-overlay'); if (existing.length) { existing.forEach(el => el.remove()); return; } document.querySelectorAll('img').forEach(img => { const rect = img.getBoundingClientRect(); if (rect.width === 0 || rect.height === 0) return; const overlay = document.createElement('div'); overlay.className = 'img-alt-size-overlay'; overlay.style.position = 'absolute'; overlay.style.left = (window.scrollX + rect.left) + 'px'; overlay.style.top = (window.scrollY + rect.top) + 'px'; overlay.style.maxWidth = rect.width + 'px'; overlay.style.background = 'rgba(0,0,0,0.75)'; overlay.style.color = '#fff'; overlay.style.font = '12px sans-serif'; overlay.style.padding = '5px'; overlay.style.zIndex = 999999; overlay.style.pointerEvents = 'none'; const alt = img.getAttribute('alt') || '(no alt text)'; const size = %60${img.naturalWidth} × ${img.naturalHeight}%60; overlay.textContent = %60${alt} | size: ${size}%60; document.body.appendChild(overlay); });})();