DEV Community

Composite
Composite

Posted on • Edited on

How to export extension list on MS Edge

  1. Open extensions menu
    • click ... -> Extensions
    • type in address bar: edge://extensions
  2. Open developer tools
    • click Other tools -> Developer tools
    • Press F12 or ctrl+shift+I or cmd+shift+I (macOS)
  3. Open console tab or ESC for open mini console if you can't see.
  4. paste and run this script below:
// for OLD Edge (I don't know since version is)
[].slice.call(document.querySelectorAll('[role=listitem]')).map(e=>e.children[1].children[0].children[0].textContent).join('\n')
// for NEW Edge (Jul 19, 2022)
Array.from(document.querySelectorAll('[role=listitem] [style="display: flex;"]')).filter(e=>Array.from(e.children).every(c=>c.nodeName==='P')).map(e=>Array.from(e.children).map(c=>c.textContent).join(' ')).join('\n')
Enter fullscreen mode Exit fullscreen mode
  1. get result string and save to your favorite storage.

Top comments (3)

Collapse
 
naga_chaitanya_lokam profile image
nagachaitanyalokam

Interesting article!

If you are creating or already have a similar article on how to build Microsoft Edge add-ons, you could refer to our developer resources here: docs.microsoft.com/en-us/microsoft...

Collapse
 
zokavic profile image
Bahaa Youssof

got error!
Image description

Collapse
 
composite profile image
Composite

I added a new script that works properly but dirty. you can try it.