Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
79 user(s) are online (70 user(s) are browsing Forums)

Members: 0
Guests: 79

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 8 9 10 (11) 12 13 14 ... 16 »
Re: fastfix for 1.23
Just can't stay away
Just can't stay away


See User information
@jabirulo

Quote:
Add to ULR settings "http://www.google.de/*" (or maybe "http://www.google.*/") in 'URL Settings...' and Spoof as Chrome.



where can this "URL settings" be found?

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@JosDuchIt

Pull Down Menu --> Windows --> URL Settings...?

Go to top
Re: fastfix for 1.23
Not too shy to talk
Not too shy to talk


See User information
<p>@MichaelMerkel</p><div class="xoopsQuote">of course this works fine - spoofing solves the problem. but using odyssey as odysses is only firing the mobile page. which is strange as the user agent these days hardly should be used (imho) for asking the browser for features.</div><p><br />i now tried a clean installation.</p><p>means - i extracted the archive to RAM and started from there. so no cookies or other settings available.</p><p>still not working. so no cookie problem. does google really work for all the others? i mean *not* showing the mobile site?</p><p>regards...<br />michael</p>

Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@Fab

i don't see any OWB_USER_AGENT variable on my env and envarc, where is it??

@Kas1e

now in envarc:mui i've OWB.config, OWB.1.prefs and ODYSSEY.1.prefs, is it normal ??



Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@all

i've just found the problem, in our Odyssey port may be it doesn't create a proper user agent variable in envarc, if you put in env (and in envarc) a file called OWB_USER_AGENT (you can create it with notepad and inside it i put 1 as value), you can see when you search something with google it will be a desktop version...

@kas1e

please check it... for yourself


Edited by sofistisoftware on 2014/4/2 21:56:47
Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@michael
for me google also mobile by default if spoof as odyssey. spoof as some mainstream ones make it be no mobil

@sofisoftware
owb.1.prefs can be deleted (that from old version)
as for that env var checking : i do not know if it supposed to be created by default at all, or its expected to be done from users. will be good if someone will check morphos version. maybe it only creates when user choice odyssey in settings and save them. and dunno if 1 is right value in - check readme

Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@kas1e

Did you check if there's in your envarc that variable? If you've it obviously you get google in desktop version, i don't know if "1" is the correct value or what it match to, probably Fab can answer us... but now with it works properly

Go to top
Re: fastfix for 1.23
Quite a regular
Quite a regular


See User information
@MichaelMerkel

Check my previous post, it works for me now.

Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@sofistisoftware

1 is horribly wrong. This env var is supposed to be the user agent string, 1 is not a proper user agent AT ALL. Anyway, this env var shouldn't be used, because it overrides everything else (settings and per url settings, ...).

Now, about the actual issue, my guess if the user agent is not generated correctly on OS4 (the MorphOS version & co is generated dynamically, and if not done properly, it might give a string that some servers don't like, like google).

It doesn't happen on MorphOS, anyway. And if it did, it would simply mean google devs are stupid and do stupid user agent checks.

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@sofistisoftware
I checked morphos version : there is no envs with such name generated, and as i expected its user can make them if have any needs.

But from other side morphos version give by default non-mobile version of google, while os4 port for sure give me mobile version.

@Fab
I do check just by running os4 version and go to google: mobile version. Then just go to http://whatsmyuseragent.com and it says:

Quote:

Your user Agent String is:

Mozilla/5.0 (Amiga; PowerPC AmigaOS4.1; Odyssey Web Browser; rv:1.23) AppleWebKit/538.1 (KHTML, like Gecko) OWB/1.23 Safari/538.1


Then i go to the same http://whatsmyuseragent.com from morhos version, and it says:

Quote:

Your user Agent String is:

Mozilla/5.0 (Macintosh; PowerPC MorphOS3.2; Odyssey Web Browser; rv:1.23) AppleWebKit/538.1 (KHTML, like Gecko) OWB/1.23 Safari/538.1


Probably that Amiga/Macintosh make difference, as we have changed that piece of code in the prefswindowlclass.cpp

#ifdef __amigaos4__
const char verfmt[] = "Mozilla/5.0 (Amiga; PowerPC AmigaOS %u.%u; Odyssey Web Browser; rv:" VERSION ") AppleWebKit/" WEBKITVER " (KHTML, like Gecko) OWB/" VERSION " Safari/" WEBKITVER;
STATIC 
char odysseyuseragent[sizeof(verfmt) + * (10 2)];

void init_useragent()
{
    
ULONG version 4revision 1// Default OS4.1
    
struct Resident *res FindResident("exec.library");
    if (
res)
    {
        if (
res->rt_Version >= 60)
        {
            
version 5// Oooo! Future proof :)
            
revision 0;
        } else if (
res->rt_Version >= 54) {
            
revision 2// Just guessing...
        
}
    }
    
sprintf(odysseyuseragentverfmtversionrevision);
}
#else
const char verfmt[] = "Mozilla/5.0 (Macintosh; PowerPC MorphOS %u.%u; Odyssey Web Browser; rv:" VERSION ") AppleWebKit/" WEBKITVER " (KHTML, like Gecko) OWB/" VERSION " Safari/" WEBKITVER;
STATIC 
char odysseyuseragent[sizeof(verfmt) + * (10 2)];

void init_useragent()
{
    
ULONG version 0revision 0;
    
struct Resident *res FindResident("MorphOS");
    if (
res)
    {
        
version res->rt_Version;        
        if (
res->rt_Flags RTF_EXTENDED)
        {
            
revision res->rt_Revision;
        }
        else
        {
            
char *index((char *)res->rt_IdString'.');
            if (
prevision strtoul(1NULL10);
        }
    }

    
sprintf(odysseyuseragentverfmtversionrevision);
}
#endif


As well as:

STATIC STRPTR useragents_strings[] =
{
#ifdef __amigaos4__
    
odysseyuseragent,
#else
"Mozilla/5.0 (Macintosh; PowerPC MorphOS 2.7; Odyssey Web Browser; rv:1.16) AppleWebKit/535.14 (KHTML, like Gecko) OWB/1.16 Safari/535.14",
#endif

.....



I can change it like you do (i.e. remove amiga and put macintosh), but dunno if it all worth of it at all as it just google suck some amiga taking it as mobile

Go to top
Re: fastfix for 1.23
Not too shy to talk
Not too shy to talk


See User information
hi kas1e.
i just tested the useragent string (setting the env variable) and replaced amiga with macintosh.
that works! then google non-mobile starts.
even when adding both: "Amiga; Macintosh"

regards...
michael

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@michael
then question is - should i change it back to macintosh. for me have amiga is more right

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
Good question, for me the "Amiga useragent" is mutch better, but mobile visualization by default is a bit boring too ..

I vote for mantaining the current Amiga useragent, Google can change his parameters with the time, the internal useragent instead ..

Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@Fab

Should Odyssey generate user agent variable in env / envarc or not? And when? First launch? Is it better to don't touch it because Odyssey has its internal dynamic user agent string?


Edited by sofistisoftware on 2014/4/3 21:04:04
Edited by sofistisoftware on 2014/4/3 21:18:33
Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@kas1e

When a video player or youtube video is on (even if the video is *not* playing) AHI cannot be accessed by any other program.

Can you change it to use AHI's shared music output instead of locking out all the other programs, please?

Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@sofistisoftware

Odyssey doesn't generate any env var at all for that, it deals with it internally. I just let the opportunity to override the user agent with an env var too, if someone really needs it, but that's all. And keep in mind that this env var overrides everything, including per-url settings, so i suggest not using it unless it's really needed for a good reason.


Go to top
Re: fastfix for 1.23
Just popping in
Just popping in


See User information
@Raziel

I used ahi library (or lowlevel) api for a good reason, because it had less latency.

kas1e won't be able to change that easily, it's quite some work to change from library api to the device api (which is more limited).

For the record, audio IS released when paused.

Anyway, there's a good workaround: just use device.audio as music unit in AHI settings. That way, programs using music unit will be redirect to shared units.

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@Fab

Ah, i thought i missed something, thanks for the hint

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@samo
checking bug reports and suggestions, and found 625: "add urlopen support". but it have no needs to be added, you just setup in prefs:url what you need and it works. our url also have no support of arexx, but odyssey support openurl for that.

in other words, odyssey have support of both at one time already, and suggestion imho can be closed, if you didnt mean something else, of course

Go to top
Re: fastfix for 1.23
Home away from home
Home away from home


See User information
@kas1e

Well actually i configure nothing and to be honest i don't know exactly how OS4 works in detail with those, all i understand is that Origyn Web Browser (the Joerg version) and NetSurf are able to handle such type of links automatically, so you don't need to configure them manually

But for example with Odyssey can you open a mailto's link with your preferred mailer ?

Try this page:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_mailto

And if so, do i need to set and configure OpenURL.library (that also mean i need to install a third part library) or can i also use it with the default (OS4) URL ?

Of course later i will check all my prefs

Go to top

  Register To Post
« 1 ... 8 9 10 (11) 12 13 14 ... 16 »

 




Currently Active Users Viewing This Thread: 3 ( 0 members and 3 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project