Advertisement
user-wjdkhlbvnc124

Chrome web store

Feb 9th, 2024
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. javascript:void function(){"chrome.google.com"===location.hostname%26%26location.pathname.startsWith("/webstore")%3Fchrome.management.getAll(a=>{function b(a){chrome.webstorePrivate.getExtensionStatus(a.id,b=>{if("force_installed"===b){const b=prompt(`What do you want to do with ${a.name}%3F (enable/disable)`);var c=""===a.homepageUrl%3F`<b><a title="${a.description}">${a.name}</a></b>`:`<b><a href="${a.homepageUrl}" title="${a.description}">${a.name}</a></b>`,d="";"disable"===b.toLowerCase()%3F(chrome.management.setEnabled(a.id,!1),d+=`<p>Disabled ${c}</p>`):"enable"===b.toLowerCase()%3F(chrome.management.setEnabled(a.id,!0),d+=`<p>Enabled ${c}</p>`):alert("Invalid option, try again!"),document.body.innerHTML+=d}})}document.body.innerHTML="",document.write("\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2%3Ff...\" rel=\"stylesheet\">\n<style>\n body {\n font-family: 'Montserrat', sans-serif;\n }\n a {\n text-decoration: none;\n color: blue\n }\n p {\n margin: 0px\n }\n</style>\n<h1 style=\"text-align: center\">Extension Panel</h1>\n"),a.forEach(a=>b(a))}):(alert("Run this script again but while on this page"),location.href="https://chrome.google.com/webstore_")}();
  2.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement