Skip to content

Instantly share code, notes, and snippets.

@anemology
Created June 21, 2020 10:41
Show Gist options
  • Save anemology/8297fddc466aed931a8d08c44f2cbc55 to your computer and use it in GitHub Desktop.
Save anemology/8297fddc466aed931a8d08c44f2cbc55 to your computer and use it in GitHub Desktop.
Select Edge Extensions id and name
// open edge://extensions/, turn on Developer mode.
// Tested in Microsoft Edge Version 85.0.545.0 (Official build) dev (64-bit)
document
.querySelectorAll("#extensions-list > div > div > div > div > div > div")
.forEach((item) => {
const id = item.querySelector("div > div > p > span").innerText;
const name = item.querySelector("div > div:nth-child(1) > p:nth-child(1)").innerText;
console.log(id, name)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment