Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (26 user(s) are browsing Forums)

Members: 1
Guests: 48

BCP, more...

Headlines

 
  Register To Post  

"URL Settings" bug(?) in Odyssey
Home away from home
Home away from home


See User information
Now that've I've disabled JavaScript by default in Odyssey, I have to use "Windows/URL Settings..." to automatically enable JavaScript for some sites I use regularly (which need it). But I've noticed what looks like a bug. For example, the following URL pattern fails to work:

http://*.google.co.uk/*

But this DOES work:
http://www.google.co.uk/*

Is this really just an intentional pattern-matching limitation, or is it a bug? Does this bug(?) exist in the MOS version?

Go to top
Re: "URL Settings" bug(?) in Odyssey
Home away from home
Home away from home


See User information
@ChrisH
Quote:

Is this really just an intentional pattern-matching limitation, or is it a bug? Does this bug(?) exist in the MOS version?


I find out some limitations there as well from first versions, but Fab says its just that webkit have silly url pattern parser, and maybe someday he will write his own code for url matcher, but probably still not.

For example:

http://*.google.com/ - works
http://*.google.*/ - nope


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: "URL Settings" bug(?) in Odyssey
Home away from home
Home away from home


See User information
@kas1e Quote:
http://*.google.com/ - works

OK, so we don't need a wildcard on the end of the URL then?

Go to top
Re: "URL Settings" bug(?) in Odyssey
Home away from home
Home away from home


See User information
Probably, i found that i even add in the readme back in past such paragraph:

Quote:

2. Why scrtips not works for me ?

You should be sure that you enter exact (1:1) pattern. I.e. with / without www where is need it, and with latest slash.

Like for example http://www.amigans.net/ or http://www.google.ru/


You also can use * for make multiply choice , like:

http://*.google.com/ - with or without www
http://*.ru/ - all .ru domains


Sadly, but WebKit script-parser not so perfect (for example it can't parse normally http://google.*), but that is how webkit parser done for now. Maybe Fab will write his own parser in future, or WebKit guys will update it later, but for now that is how it now. Anyway, that should't be big problem, because most userscripts come with their own whitelist (with the @include keyword), so parser settings it's usually correct by default for.


Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post

 




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




Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project