Notes for firefox extensions
===
Find extension by id
---
- source: https://stackoverflow.com/a/51283520/9979122
Open `about:memory`. Click "measure" in **Show memory reports**. In the **Main Process** section, scroll down to **Other Measurements**. There you will find the installed (active) extensions with their names and their ids displayed as `baseURL=moz-extension://[random-ids]`.
:::info
This method works for both Firefox and Firefox for Android.
Note that **only enabled extensions are shown**.
:::
Some extension will break the site
---
The issue is caused by `content-security-policy`
e.g. cannot login into https://npmjs.org if one of these extension is enabled:
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
- [Omni - Manage Tabs, Bookmarks, History...](https://addons.mozilla.org/zh-TW/firefox/addon/omnisearch/)
- [遊戲橘子擴充元件](https://addons.mozilla.org/zh-TW/firefox/addon/beanfun-extension-check/)
- etc.