Posts that Mablung is monitoring
|
Nov 29, 2007
|
Topic: Correct Google URL Redirects btw, this mini-script now can found here:
I hope, it OK for you :-) |
|
Nov 28, 2007
|
Topic: Correct Google URL Redirects Now I have "unsafeWindow.rwt = function(){ return true; } " installed as GM-skript ... works great :) Thanks! |
|
Nov 28, 2007
|
Topic: Correct Google URL Redirects i just highlight the area of the link and Right-click "View Selection Source". another useful tip is to use this bookmarket to view rendered source: if (document.createElement){void(pstTagName='%s');void(head=document.getElementsByTagName('head').item(0));void(script=document.createElement('script'));void(script.src='http://javascript.gibney.org/editor_v2.js');void(script.type='text/javascript');void(head.appendChild(script));}
|
|
Nov 27, 2007
|
Topic: Correct Google URL Redirects Yes, that's probably the best approach. It's direct and gets rid of the function you don't want. An easy way to view the source of links...
This will show you the WYSIWYG rendered source around the link. |
|
Nov 27, 2007
|
Topic: Correct Google URL Redirects
|
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects Thanks for your detailed answer. I deactivated "web-protocol" in google; but the rewrite are still present. I looked at the source; i guess, this is the relevant string (searching for test, showing result "www.test.de/shop"):
|
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects I don't use iGoogle but I think there's an option to "not remember search results" or something like that, it was mentioned in one of those discussions.
I don't really want to create an account to see what they do to links, so I don't know for sure. But either you can disable it in your preferences, or on the search results page, or try CustomizeGoogle, or try the script Mikado posted which will rewrite links (but a bit "wordy" I think). Or you may actually want this in order to use the iGoogle features. I can't suggest anything since I can't see what they do. If you don't want them to monitor your clicks, as they do to all Firefox users (and maybe other browsers), then you want to somehow disable that function. There's no doubt a better way to write a script, but it depends on what you want to do - always prevent the redirects or prevent the click tracking, or both. |
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects In the last 40 minutes i tried out to deactivate GM-Skripts and extensions. But then, I found out, that its none of that.
Ok, I think, I will some of the scripts u offered here in this thread. Which one? :D
|
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects There are lots of ways to disable this in Greasemonkey... Redefine the function
unsafeWindow.clk = function(){ return true; }
or Remove mousedown events...
for(var i=0; i < document.links.length; i++){
document.links[i].removeAttribute('onmousedown');
}
or use the SpiderMonkey built-in method (according to wiki)
Array.forEach(document.links, function(link){ link.removeAttribute('onmousedown') });
|
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects Thanks for the replies. No, that are not ads. That are the normal search results (btw, using Adblock plus, i dont see the ads).
But: I tested this with Internet Explorer and with a clean Firefox-Profile ... and there are no redirects. So, I guess, this is made by one of my numerous extensions or one of my GM-Scripts. Maybe it is a google-affinility-link?! |
|
Nov 26, 2007
|
Topic: Correct Google URL Redirects No, I checked a few days ago and they did this if the User-Agent header contained the word "Firefox", which my browser isn't, there is a onclick handler and "clk" function. Seems they've been doing this since August 2005, and I've never seen it. I found some info on this... However the "clk" function that I looked at does not create a redirect link, but it creates a new Image who's source is generated from the link you click. This "fake image" request appears right after you click the link and looks something like... http ://www.google.com/url?sa=T&ct=res&cd=4&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGreasemonkey&ei=pTRACKINGCODEA An extension that claims to disable it - CustomizeGoogle Firefox extension |
|
Nov 23, 2007
|
Topic: Correct Google URL Redirects Really? That's interesting. Check result links, don't they have onmousedown attribute which calls some url rewriting function? Maybe you already using some script that gets rid of this? |
|
Nov 23, 2007
|
Topic: Correct Google URL Redirects Google isn't doing this to me, and I don't see anything that would cause this. The ads do something like this but not the search results. The first couple results are often ads, they have a different background color. Maybe the Google Toolbar or something else is causing this. |
|
Nov 23, 2007
|
Topic: Correct Google URL Redirects for (var xpr = document.links, i = xpr.length - 1, hr; i >= 0; i--) {
xpr[i].removeAttribute('onmousedown');
if ((hr = xpr[i].href).substr(0, 28) == 'http://www.google.com/url?q=') xpr[i].href = unescape(hr.substring(28, hr.indexOf('&', 28)));
}
Also, I believe there are already 10 to 50 similar scripts, but writing this one is easier than searching :) |
|
Nov 22, 2007
|
Topic: Correct Google URL Redirects I noticed, that Google has changed all links on search results, to that they dont link directly on the target, but use a redirect over google (http://www.google.de/url?sa=t&ct=res&cd=2&url=http...) The tricky thing is, that they are first seems to link to the direct page (when flying the the mouse over the link, the correct link appears in the statusbar in firefox), but when left- of rightclicking, then the links get changed (by JS?) into a redirecting URL. Example: Search for "greasemonkey". The Wikipedia-Link seems on first view link directly Wikipedia, but when rightclick/copy-URL, then this link is copied:
Can anyone create greasemoney-script to avoid this anoying behaviour? |
|
Oct 15, 2007
|
Topic: Bleach Exile Download can you upgrade it ? when i enter this page, can links directly downloaded without submit?
|
|
Oct 15, 2007
|
Topic: Bleach Exile Download lol :)))) ur solition was cool :)
|
|
Oct 14, 2007
|
Topic: Bleach Exile Download Main Download Page
Countdown Code can u help me to pass countdown
1st
2st
3rd
I'm waiting your scripts.
|
|
Oct 10, 2007
|
Topic: Greasemonkey and his development Sorry. Confused about markup. http://www.greasespot.net/ |
|
Oct 10, 2007
|
Topic: Greasemonkey and his development Not entirely sure what you mean, but take a look at [url]http://www.greasespot.net/[/url]. |
|
Oct 5, 2007
|
Topic: Greasemonkey and his development Does somebody know whether the Greasemonkey farther will still be elaborated or no? P.S. Sorry for my english. |
