UrlChecker icon indicating copy to clipboard operation
UrlChecker copied to clipboard

Allow to set custom headers

Open draxaris1010 opened this issue 3 years ago • 7 comments

Can you please allow custom headers like User-Agent

draxaris1010 avatar Jul 18 '22 08:07 draxaris1010

You mean in the status module to detect the server response including a redirection? That's the only thing where the app has control over the headers. Once you open a third party browser the external app is the one responsible for the communication.

TrianguloY avatar Jul 18 '22 09:07 TrianguloY

Yes, I mean the status module.

draxaris1010 avatar Aug 10 '22 17:08 draxaris1010

Hmm, a way to redirect as mobile or desktop could be useful I guess. I'll keep it as suggestion

TrianguloY avatar Aug 10 '22 19:08 TrianguloY

Hi, if I may ask a question, this is called referer spoofing, isn't it? indeed, it offers possibilities.

Ilithy avatar Aug 10 '22 20:08 Ilithy

That'd be possible by setting the referrer header, yes. Note that the module only returns the status code (and redirection) so maybe it's not so useful as you may wish. A full petitions editor could be very powerful but it may require an independent app (I wonder if there exists such an app already...)

TrianguloY avatar Aug 11 '22 05:08 TrianguloY

I haven't seen, there are browser extensions:

  • https://chrome.google.com/webstore/detail/referer-control/hnkcfpcejkafcihlgbojoidoihckciin?hl=en
  • https://addons.mozilla.org/en-US/firefox/addon/togglereferrer/

and apparently this application will allow it (I haven't tested it): https://curl.se/

And here are some useful resources (list of user agents and referers etc...): https://github.com/TechUX/web-assets

Ilithy avatar Aug 11 '22 05:08 Ilithy

I use status code quite a lot to get redirections. Since sites like twitter.com automatically redirects to mobile version, a option to use useragent similar to tor browser would be great for privacy i guess, since useragent would contain device model etc (and i use brave and hardended firefox which doesnt expose it).

pokegamer5547 avatar Dec 21 '23 16:12 pokegamer5547