great but does not work on Oracle site
![]() ![]() |
The script works great, I tested it on quite a lot of sites, I have issues with Oracle.com site, the script does not convert any documents from this site http://www.oracle.com/pls/db112/homepage |
![]() ![]() |
You can use encoreURIComponent (at least it seems to work for the oracle.com).
(function(){
|
![]() ![]() |
Current version doesn't convert a URL intentionally if the URL include '?'. If you want to do soon, please change the following part.
* current code
if (l[i].href.match(/^[^?]+.(pdf|ppt|tif)$/)) {
* changed code
if (l[i].href.match(/.(pdf|ppt|tif)$/)) {
But it is wrong in the case of the following. [Before] http://docs.google.com/viewer?url=http://igor.chudov.com/diveintogreasemonkey.pdf [After] http://docs.google.com/viewer?http://docs.google.com/viewer?url=http://igor.chudov.com/diveintogreasemonkey.pdf Probably I will upload improved version a few days later. |
![]() ![]() |
I've uploaded the new version. |


