Gerrit FE Dev Helper
大小:21.42KiB版本:v 0.0.9更新时间:2022-05-18
This extension can help you development on gerrit sites, frontend specifically
Gerrit FE Dev Helper 的使用方法详解,最全面的教程
Gerrit FE Dev Helper 描述:
用户数:181
分类:开发者工具插件
扩展大小:21.42 KiB
最后更新时间:2022-05-18
版本:v 0.0.9
Gerrit FE Dev Helper 插件简介:
这是来自Chrome商店的 Gerrit FE Dev Helper 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
Gerrit FE Dev Helper插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
Gerrit FE Dev Helper插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/A chrome extension that can help FE developers for Gerrit UI.
source: https://gerrit-review.googlesource.com/q/project:gerrit-fe-dev-helper''
#### v0.0.10
- Bumped lit version to 2.2.3
#### v0.0.9
- Move cors / cache override to rules, so user can disable it from the popup
- Change header value separator from `,` to `|`, as `,` can be part of the value while `|` is unlikely
- Fix `onGerritReady` to use tag name instead of id and max at 5s ;)
#### v0.0.8
- **BREAKING CHNAGE**: Gerrit is moving to `gr-app.js` only, so `gr-app.html` will no longer exists, we have updated default rules to forward to `gr-app.js` as well, in case you are still using `gr-app.html`, please modify that redirect rule by changing `gr-app.js` to `gr-app.html`
- Add `addRespHeader` operator, thanks to Edward
- Add `injectExp` operator, as gerrit now supports experiments, this is a quick way to force enabling certain experiments, experiments should be separated by `,`
v0.0.7
- Fix the issue when multiple rule matches one url for onBeforeRequest
- Block will always take the highest priority
- Then Redirect
- Ignore the rest
- Add a new operator as `injectJsModule`, with plugins moving to polymer 3, certain plugins will be written in modules, and to inject moduled js plugins, use this rule
- This will basically add a `type="module"` to the script tag when load the script so we can use `import` inside
- With `type="module"`, `document.currentScript` will become `null` so we won't be able to infer the plugin url, to workaround this, make sure you call `Gerrit.install` with the third parameter: `Gerrit.install(() => {}, undefined, 'the_url')` so Gerrit can treat it as a legit plugin
- Keep using `injectJsPlugin` if its a single bundled js file
v0.0.6
- Add two new operators:
- `addReqHeader` to add arbitrary header when you send a request
- `rRespHeader` to remove arbitrary header on any response
- Modify default rules to show # of js errors in the helper tip
- Add a new default rule to send x-test-origin with gerrit-fe-dev-helper on all requests when enabled
v0.0.5
- set crossorigin to anonymous to help debug js error from plugin
- improve the ui on popup
- remove outdated rule of replacing gr-app-p2 with gr-app
v0.0.4
- A better way to wait for Gerrit when injecting html plugins
v0.0.3
- hotfix
v0.0.2
- Remove restriction on gerrit sites (some features won't work if its not a valid gerrit site)
- Update README
v0.0.1
- Enable the extension with a single click
- Allow export / import rules
- Show a error for 5s if rule destination is invalid (can not reach)
- Show an announcement for the change for 3 seconds for first time users
- Persist enable / disable state per tab
- Support temporary disable rule without deleting it
- Move injection to document_end
- Support reset to reset rules to initial state
- Support proxy live requests to local on googlesource sites
- Support 6 types of rules: redirect, block, injectJS code/url, inject html code / url
- Support add / remove / modify rules