lyricat / Hotot

A Twitter Client
http://hotot.org
GNU Lesser General Public License v3.0
485 stars 130 forks source link

Hotot isn't using an own User Agent #483

Closed CatoLynx closed 4 years ago

CatoLynx commented 11 years ago

Hotot seems to be using the default WebKit / Chrome User Agent. This is a problem for sites that want to show inline images in Twitter clients, but a website in a browser. I have such a site and this issue makes it impossible for me to show inline media from my site in Hotot.

braegel commented 11 years ago

Please fix this soon.

katanacrimson commented 11 years ago

Hotot or hotot for chrome? Chrome doesn't want to allow it for security reasons: err

CatoLynx commented 11 years ago

Damn it. That's annoying.

Damian Bushong notifications@github.com wrote:

Hotot or hotot for chrome? Chrome doesn't want to allow it for security reasons: err


Reply to this email directly or view it on GitHub: https://github.com/shellex/Hotot/issues/483#issuecomment-11798524

Sent from my Android phone with K-9 Mail. Please excuse my brevity.

katanacrimson commented 11 years ago

@Mezgrman annoying indeed, but it isn't something hotot can counter. This would mean that assets would have to be proxied through using some sort of background process, possibly a proxy server so that it'd simply apply a user agent. Needless to say, it's overkill for the scale of the problem. :\

ym commented 11 years ago

There's an approach to fix this bug, but it will require extra permissions which is unacceptable for most common users.

If I want to change User-Agent, I have to add permission for API webRequest.

It's not enough, Another permission "" is required. Without this, Hotot can't change User-Agent for all requests it sent.

But these permissions is very dangerous because any webRequests will be affected.