Fire Page Editing EN
Francesco De Stefano · Firefox
Inject HTML, CSS or JavaScript into any web-page. The changes you make are applied everytime you visit the specified website(s).
<all_urls>),意味着它可以读取你在任意站点的页面内容,包括已登录的页面。这是许多扩展正常工作的必要条件,但也值得你确认来源可信。
截图
简介
**It is based on Page Manipulator browser extension - https://github.com/Ruud14/Page-Manipulator **
**Using the Ace editor with default keyboard shortcuts [here](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts) **
WARNING: This extension works on most sites, but there are some exceptions!
If you'd like to see any specific improvements or found any bugs, let me know [here](https://mediamaster.eu/contatti).
**Browser Extension to inject HTML, CSS or JavaScript into any web-page.**
Inject HTML, CSS or JavaScript into your favorite web-pages.
Have the changes you make be saved and applied every time you visit the specified website(s).
**Better than 'inspect element' because It will stay after reloading the page.**
**How to install?**
***Firefox:***
Install it from the Firefox extension store [here](https://addons.mozilla.org/it/firefox/addon/fire-agilitypage/).
**How to use?**
- Simple, First open the extension.
- Choose 'JavaScript', 'CSS' or 'HTML'.
- Create a new file by pressing 'new'.
- Write your own code.
- Press the 'Manipulate' button to test your code.
- To make sure your code is run every time you visit a specific website do the following:
- Put the URLs of the websites in the 'active websites' textarea.
- Check the 'active' checkbox.
- Reload the page to make sure it works.
- Button functionalities:
- The 'Reload' Button:
- Will reload the current page.
- The 'Active' checkbox:
- on > The code will be run automatically on the pages specified in the 'Active websites' textarea.
- off > The code will only run when you press the 'Manipulate' button.
- The 'Active Websites' textarea:
- You can specify the websites you want your code to run on here.
- The 'Matching Pages' dropdown:
- 'Exact' > The code will only run when the URL of the page is exactly the same as one of the URLs in the 'Active Websites' textarea. (Including slashes at the end!)
- 'Recursive' > The code will also run on all sub-URLs of the specified URLs in the 'Active Websites'.
- The 'Position on page' dropdown (HTML only):
- 'Top' > The HTML will be added to the top of the page.
- 'Bottom' > The HTML will be added to the bottom of the page.
- 'Replace' > The html will replace the entire body HTML of the page.
- The 'Manipulate' or 'Update Manip.' button:
- Injects the code into the page or updates the injection.
- This button also works when the 'Active' checkbox is unchecked.
- The 'Remove Manip.' Button:
- Removes the manipulation from the page.
- If the "Auto ⟳" checkbox is checked, the page will automatically reload after pressing the 'Remove Manip.' button. The 'active' checkbox will also be unchecked.
- The 'Delete' button:
- Deletes the current file from the extension storage.
- **You can right click any element on a page to get the css path of that element.**
**Features**
- Automatically inject custom HTML, CSS and/or Javascript every time you visit one of the websites you specified.
- Run custom CSS **Before** the page is fully loaded so you won't see the original page first.
- Inject Javascript on the go.
- Add/Remove/Change the HTML and CSS on the go.
- Right click on any element on a page to get the full CSS path.
- Automatically saves the changes you make.
**It doesn't work, what now?**:
- If the extension button in the top right corner is greyed-out, you can't use it on that page.
- Make sure the 'active' checkbox is checked. And the 'active websites' input contains the correct URLs.
- For Javascript:
- Make sure your code is run at the right moment. Maybe try adding a delay.
- Check the browser console for error messages.
- For CSS:
- Make sure you are are manipulating the right element. by using "inspect element".
- Try using ['!important'](https://www.educative.io/edpresso/what-is-the-important-property-in-css).
- For HTML:
- Make sure you haven't accidentally set the 'position' dropdown to the wrong position.
The editor used since the second release is Ace editor.
Check it out here: https://ace.c9.io/
Fire Page Editing 是做什么的
Fire Page Editing 是一款面向 Firefox 的开发者工具类扩展,主要用来调试页面、查看样式与请求、测试接口、辅助前端开发。官方对它的介绍是:Inject HTML, CSS or JavaScript into any web-page. The changes you make are applied everytime you visit the specified website(s).在Firefox 附加组件商店(AMO)上,它当前版本 2.0,评分 1(3 人评价),约 32 名用户。
适合什么人用
从功能定位看,Fire Page Editing 更适合前端工程师、测试与需要经常查看页面结构的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。需要注意的是它作用于所有网站,装上后建议先观察一两天,确认不影响常用站点的正常使用。
怎么安装 Fire Page Editing
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Fire Page Editing 是免费的吗?
Fire Page Editing 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Fire Page Editing 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Fire Page Editing 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Fire Page Editing?
在扩展管理页找到 Fire Page Editing,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
站点访问 1
<all_urls>
接口权限 4
activeTabcontextMenusstorageunlimitedStorage

