Open brian6932 opened 2 months ago
Sounds cool, I haven't found in my personal use the necessity to fake an HTTP header to be able to see an image (but ImgurViewer always fakes the user-agent for videos since it's almost always required). I won't particularly develop it myself but feel free to send a PR and I'll gladly accept it. Thanks
Some sites like danbooru (
cdn.donmai.us
) require a browseruser-agent
, pixiv (i.pximg.net
) requires areferer
be set tohttps://pixiv.net
, some sites like gyazo, photobucket, imgur, reddit, and tumblr just require theaccept
header to be deleted on their cdn links. Typically on browsers, I use a web-ext calledsimple-modify-headers
. I think such a feature could be kinda neat in ImgurViewer, and can potentially make it have a simpler default rule set for some sites and an easier route to PRs. Within the web-ext it imports and exports rules from JSON.