Header Editor-ის მიმოხილვები
Header Editor ავტორი 泷涯, 道滿
15 მიმოხილვა
- 4 შეფასება 5-დანმიმომხილველი Seth Falco, 2 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი chentao, 2 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი 糖卷, 4 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი Firefox-ის მომხმარებელი 16227852, 5 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი 幼元麒, 5 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი Nnnnnn.T, 5 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი Firefox-ის მომხმარებელი 15262211, 6 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი 文科娘, 6 წლის წინ
- 4 შეფასება 5-დანმიმომხილველი Firefox-ის მომხმარებელი 14052577, 7 წლის წინ有个bug,输入一个错误的URL,下载之后URL无法删除
- 4 შეფასება 5-დანმიმომხილველი Firefox-ის მომხმარებელი 13838176, 7 წლის წინI really like the extension and the "grouping" capabilities. However, I don't think the grouping capability is working really well for me. I will set up groups and then the groups will suddenly all disappear at some point, all the rules will still be there but the groups just disappear and all the rules will fall under "Ungrouped". Am I missing an important step?
It would be nice to be able to be able to sort the rules through drag and drop or arrow keys.
Using Firefox Developer Edition v59
---------EDIT ---03/11/2018---
I realized how to replicate the issue. After you have setup the groups, when you "Clear All History" of Firefox (I select only Cache, Cookies), the grouping gets reset.
---------EDIT ---03/11/2018---
Thanks,შემმუშავებლის პასუხი
თარიღი 7 წლის წინCan you submit an issue on github with detailed operations and console screenshots, to help me troubleshoot the problem ? - 4 შეფასება 5-დანმიმომხილველი SkySkimmer, 7 წლის წინthuerrsch said
>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!
This is also what I wanted to use this extension for, but this simple solution will remove the filename information which may be passed in that header. Instead I used the following custom function which mostly works. Note that the "tobytes" call is necessary otherwise on unicode strings firefox complains about too-high charcodes.
function tobytes (str) {
let res = "";
for (let i = 0; i < str.length; ++i) {
let code = str.charCodeAt(i);
if (code > 255) {
res += encodeURI(str[i]);
}
else {
res += str[i];
}
}
return res;
}
for (let a in val) {
if (val[a].name.toLowerCase() === 'content-disposition') {
let orig = val[a].val
console.log("orig: " + val[a].value);
let res = val[a].value.replace(/^attachment/iu, "inline");
res = tobytes(res);
console.log("res: " + res);
val[a].value = res;
}
} - 4 შეფასება 5-დანმიმომხილველი Pablo Blanco Celdrán, 7 წლის წინSolved my problem of being unable to open a site that needed specific headers for testing.
But I have an issue: Routes are nor being matched, but the test result successful, so the header is applied everywhere. - 4 შეფასება 5-დანმიმომხილველი Kawzen, 8 წლის წინI first thought it won't be english so I avoided it for a while
working as it should
it can remove and modify headers
for redirect reqs I use Redirector (Wildcard is simple * $1 $2 ...)
but realy u need to update the icon :$
Edit:
Thanks for the fast reply &amp; solution, I was able to replace my rules
IconArchive dotcom is a good place :D
I moved the button from the toolbar to the menu to appear in a bigger size and it's much better now :)შემმუშავებლის პასუხი
თარიღი 8 წლის წინI am developing a web page which can convert Redirector rules to this extension.
Wildcard can be replaced by "(.*?)" in regexp.
This icon is draw by me but maybe I have no art cell. If you have a better icon, you can send it to me at GitHub by submit a issue or a pull request.
Edit:
Thank you for your recommendation. I will try to find a better icon there.