Created
June 21, 2020 10:41
-
-
Save anemology/8297fddc466aed931a8d08c44f2cbc55 to your computer and use it in GitHub Desktop.
Select Edge Extensions id and name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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