[Klar] What is the string of User Agent?
I need to know Klar's User Agent string. I could do this myself but unfortunately Klar didn't provide proxy support yet, so I'm asking here.
Please consider writing a wiki like this: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox
So, what is Klar's UserAgent? (I don't care Focus)
- https://f-droid.org/packages/org.mozilla.klar/ <---- this one's v1.1
- Current Klar's UA
Also can anyone show the result of these? I need those return result.
!!window.opera !!window.chrome navigator.doNotTrack
expecting: 1 --- never happen 2 --- happen or not?? 3 --- should happen
(again, I would do this myself if Klar support proxy)
Here is a sample user agent (note that it may vary between devices)
Mozilla/5.0 (Linux; Android 7.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Klar/1.2.1 Chrome/51.0.2704.90 Mobile Safari/537.36
window.opera and window.chrome is undefined, navigator.doNotTrack is null (for some reason)
For this bug, please create a page on our Wiki describing the User Agent and its meaning, like the link in the first comment. Please explain if there are any differences between Focus and Klar and include a "Last updated on
navigator.doNotTrack is null (for some reason)
Do Not Track is officially sent as a header. According to MDN, navigator.doNotTrack is an experimental JS API for this info and has an unknown implementation status on Android mobile. Since we're using WebView, we're relying on its behavior.
For this bug, please create a page on our Wiki describing the User Agent and its meaning, like the link in the first comment. Please explain if there are any differences between Focus and Klar and include a "Last updated on , with " at the bottom of the page.
I'm happy to work on this, probably just including a section to the Firefox UA string reference page.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox
I've updated the docs: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#Klar_for_Android
This can probably be closed now. cc @mcomella
@ekager Can you see if this can be closed?
This can be closed thanks @miketaylr ! Just a note that it's actually not until 7.0 that Klar has been GV if we want to get pedantic. :)
On Tue, Oct 2, 2018 at 6:59 AM Emily Kager [email protected] wrote:
This can be closed thanks @miketaylr https://github.com/miketaylr ! Just a note that it's actually not until 7.0 that Klar has been GV if we want to get pedantic. :)
fwiw, I've been thinking we should move our docs in-tree so that they're versioned by release, which would solve this problem. This is an annoying problem for me, especially for telemetry! :P
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mozilla-mobile/focus-android/issues/1178#issuecomment-426284125, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuWTBSBIAtR-H_raXhq0DpP-wNjEYl8ks5ug3E-gaJpZM4O8x8- .