Kitzijoxikil Header Editor
Header Editor ruma 泷涯, 道滿
150 reviews
- Rated 5 out of 5ruma Leon Xu, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Firefox okisanel 13834290, ੭ ਸਾਲ ਪਿਛਲੇI use this to change the content-type to text/html when viewing raw html on github. Thanks for making it.
- Rated 5 out of 5ruma 割了动脉喝脉动, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Firefox okisanel 14053455, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Caliban, ੭ ਸਾਲ ਪਿਛਲੇ配合卡饭上某位老兄在github上共享的规则,再也不用自己一条一条添加规格了。。。
不过要是订阅能定期自动更新,那就更好了。。。 - Rated 5 out of 5ruma Firefox okisanel 13582731, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Firefox okisanel 13832669, ੭ ਸਾਲ ਪਿਛਲੇAmazing! With this extension (and javascript knowledge) you can do impossible things like:
- prevent anti-hotlinking scripts from blocking or adding stuff to images on certain websites (matched by regular expressions!)
- force a sessions to not expire when you restart a browser
and much more useful stuff! - Rated 5 out of 5ruma Firefox okisanel 13802516, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Сергей, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma ZQ, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma Firefox okisanel 12456873, ੭ ਸਾਲ ਪਿਛਲੇGreat extension !
Would it be possible to introduce a whitelist/blacklist, where you can specify on which sites should the specific rules apply, this would be also better performance wise.
Also, can you add more regex rules/matching in your wiki, for example if we want to emulate above functionality using regex:
Example rule:
- Cancel all .gif file requests to domains example.com, example1.com, example2.com
Is this the correct way to handle it, or is there a better rule/option/function in the extension ?
^http(s?)://(.*)\.example.com|example1.com|example2.com/(.*gif)
Thanks,
Kind regards - Rated 5 out of 5ruma scriptkitz, ੭ ਸਾਲ ਪਿਛਲੇ我新建规则,点击保存,无反应,没办法保存了。。看控制台报错是:
let dbOpenRequest = window.indexedDB.open("headereditor", 2);
一直调用的是
dbOpenRequest.onerrorTzolin rutzij b'anonel
xtalüx rutzijol ੭ ਸਾਲ ਪਿਛਲੇ这个问题其实我也遇到过,调试过之后发现没办法解决,你可以尝试一下这篇短文里面的内容,但我不保证能够解决:https://github.com/FirefoxBar/xStyle/wiki/DB-Error - Rated 5 out of 5ruma Firefox okisanel 13492739, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma thuerrsch, ੭ ਸਾਲ ਪਿਛਲੇThis extension may look a bit frightening at first, but with some basic knowledge of http headers (and, luckily for me, no Chinese at all) it's really easy to do simple things.
The problem that Header Editor helped me to solve is as ancient as the hills: it's that infamous bug about how Firefox handles Content-Disposition: attachment headers (https://bugzilla.mozilla.org/show_bug.cgi?id=453455). A legacy extension needed replacing with Firefox Quantum. I tried a few specialized WebExtensions with little success (sometimes they worked, sometime they didn't), then I stumbled upon Header Editor.
Here I set up a single, simple rule to "Modify the response header", match type "All", execute type "normal", to always set the "Content-Disposition" header type to a value of "inline". That's it, two minutes to set up the whole thing, and it works beautifully!
Of course Header Editor can do much more complex things. With its support for custom JavaScripting it certainly has the potential to replace a whole bunch of smaller-scale extensions for all kinds of stuff related to http headers. In the right hands it can become a very powerful tool with endless possibilities. I guess that's about the best thing one can say about any piece of software. - Rated 5 out of 5ruma Firefox okisanel 13391169, ੭ ਸਾਲ ਪਿਛਲੇ
- Rated 5 out of 5ruma FateRover, ੮ ਸਾਲ ਪਿਛਲੇ这样就能快速开启/关闭 规则中某条规则而不必开启设置页面
ps:楼下那个是个喷子,在Referer Control和HE上无脑喷,上来就给1星 - Rated 5 out of 5ruma 喵拉布丁, ੮ ਸਾਲ ਪਿਛਲੇ可以替代mason了。
不过希望能在图片右键菜单上增加反防盗链的快捷菜单,点击后打开设置页面弹出添加规则对话框,并自动填写好反防盗链的必要选项(规则类型、匹配类型、图片域名或域名的正则表达式、头名称等),类似mason那样的。
不然每次添加反防盗链的规则都要修改各种选项,有点麻烦。
非常感谢!Tzolin rutzij b'anonel
xtalüx rutzijol ੮ ਸਾਲ ਪਿਛਲੇ收到,下个版本增加。
PS:有建议请尽量到GitHub提交,AMO这边我不一定每天都看,而且持续追踪不方便 - Rated 5 out of 5ruma 玄清介, ੮ ਸਾਲ ਪਿਛਲੇ替代了Redirector和Referer Control, 基本替代了Feiruonet脚本的3大功能
能不能考虑把配置存在browser-extension-data下呢?