Proxies Menu
Proxies Menu
"javascript:fetch('https://plu.wiki/files/bookmarklet.js').then(r =>
r.text()).then(r => eval(r))" }, { name: "Bookmarklet 2", url:
"javascript:alert('Hello from bookmarklet 2!');" }, { name: "Redirect
Block", url: "javascript:(function(){window.onbeforeunload=function(){return
'';}})();');" } ]; var menu = document.createElement("div");
menu.style.position = "fixed"; menu.style.top = "10px"; menu.style.right =
"10px"; menu.style.width = "150px"; menu.style.height = "250px";
menu.style.background = "rgba(0,0,0,0.8)"; menu.style.borderRadius = "10px";
menu.style.zIndex = "9999"; menu.style.cursor = "move"; menu.style.userSelect =
"none"; menu.style.opacity = "0.8"; menu.style.transition = "opacity 0.3s ease-
in-out"; var header = document.createElement("div"); header.style.padding =
"10px"; header.style.color = "white"; header.style.fontSize = "18px";
header.style.fontWeight = "bold"; header.style.textAlign = "center";
header.innerHTML = "Bookmarklets"; var content = document.createElement("div");
content.style.padding = "10px"; content.style.height = "200px";
content.style.overflowY = "auto"; for (var i = 0; i < bookmarks.length; i++)
{ var bookmark = bookmarks[i]; var link = document.createElement("a");
link.href = bookmark.url; link.style.display = "block";
link.style.marginBottom = "10px"; link.style.color = "white";
link.style.textDecoration = "none"; link.innerHTML = bookmark.name;
content.appendChild(link); } menu.appendChild(header);
menu.appendChild(content); document.body.appendChild(menu); var isDragging =
false; var startX = 0; var startY = 0; var currentX = 0; var currentY = 0;
function handleMouseDown(e) { startX = e.clientX; startY = e.clientY;
currentX = menu.offsetLeft; currentY = menu.offsetTop; isDragging = true; }
function handleMouseUp(e) { isDragging = false; } function handleMouseMove(e)
{ if (isDragging) { var deltaX = e.clientX - startX; var deltaY =
e.clientY - startY; menu.style.left = currentX + deltaX + "px";
menu.style.top = currentY + deltaY + "px"; } } function handleKeyDown(e)
{ if (e.ctrlKey && e.keyCode == 69) { menu.style.display = "none"; } }
menu.addEventListener("mousedown", handleMouseDown);
document.addEventListener("mouseup", handleMouseUp);
document.addEventListener("mousemove", handleMouseMove);
document.addEventListener("keydown", handleKeyDown);})();