Posts that Mablung is monitoring

Subscribe to Posts that Mablung is monitoring 21 posts found

Nov 29, 2007
Nyks 8 posts

Topic: Correct Google URL Redirects

btw, this mini-script now can found here:
http://userscripts.org/scripts/show/14953

I hope, it OK for you :-)

 
Nov 28, 2007
Nyks 8 posts

Topic: Correct Google URL Redirects

Now I have "unsafeWindow.rwt = function(){ return true; } " installed as GM-skript ... works great :)

Thanks!

 
Nov 28, 2007
sizzlemctwizzle 120 posts

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
Descriptor 757 posts

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...
Click somewhere before the link
Press TAB until the link you want is outlined
Hold SHIFT and press the right-arrow to select the link (or the down-arrow)
Right-click the selection (or use the Menu meta-key, right next to the Windows key)
Select "View Selection Source" from the menu.

This will show you the WYSIWYG rendered source around the link.

 
Nov 27, 2007
sizzlemctwizzle 120 posts

Topic: Correct Google URL Redirects

unsafeWindow.rwt = function(){ return true; }
This got rid of the rewriting for me.

 
Nov 26, 2007
Nyks 8 posts

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"):


<a href="http://www.test.de/shop/"
class="l"
onmousedown="return rwt(this,'','','res','2','AFQjCNEgr5fgt5gd9fC2fFyUPE_YPg71RFwiVQ','&amp;sig2=SWYb6dg53r01NSK1jU-Rw')"><b>test</b>.de
- Shop - Stiftung Warentest</a>

 
Nov 26, 2007
Descriptor 757 posts

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.
Since you use iGoogle there are two issues - click monitoring and link rewriting.

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. window.clk is the function I saw and the first line of code I posted causes that function to do nothing, at least until they change it. This doesn't remove the "onmousedown" event, which may be used for something else. You can remove the "onmousedown" attribute, but they could later define some other event or the same event another way.

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
Nyks 8 posts

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.
The thing is: I'm permanently logged in on google.de - i occasionally use iGoogle-Services, so its comfortable to stay login.
As soon, as I "logoff", the redirects on search-results are away.

Ok, I think, I will some of the scripts u offered here in this thread. Which one? :D
What does "unsafeWindow.clk = function(){ return true; }", what does it change?

 
Nov 26, 2007
Descriptor 757 posts

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
Nyks 8 posts

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).
And, the Google-Toolbar i havent installed.

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
Descriptor 757 posts

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.
I might complain about this if I knew who to complain to. Also I noticed Google's HTML is a bit less than "acceptable", which removes another little bit of respect I had for them (but perhaps still better than any other search engine).

Seems they've been doing this since August 2005, and I've never seen it. I found some info on this...
Google stealthily monitoring clickthroughs from search-results
Is Google click-tracking regular search results?

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
also Controle de Scripts can completely disable onmousedown events.

 
Nov 23, 2007
Mikado 563 posts

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
Descriptor 757 posts

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
Mikado 563 posts

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
Nyks 8 posts

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:
http://www.google.de/url?sa=t&ct=res&cd=2&url=h...

Can anyone create greasemoney-script to avoid this anoying behaviour?

 
Oct 15, 2007
cwt.stalker 6 posts

Topic: Bleach Exile Download

can you upgrade it ?

when i enter this page, can links directly downloaded without submit?
and / or
can it write direct link to page?

 
Oct 15, 2007
cwt.stalker 6 posts

Topic: Bleach Exile Download

lol :))))

ur solition was cool :)
thks for everything.

 
Oct 14, 2007
cwt.stalker 6 posts

Topic: Bleach Exile Download

Main Download Page
http://www.bleachexile.com/multimedia/bleach-an...
First Episode Download Page
http://www.bleachexile.com/members/downloads/ep...

Countdown Code

can u help me to pass countdown
i thinked lots of ways but i cant coded it

1st
time = 100; is random value (not fully random always growing till 600
if u change it directly time = 0; it'll be cool

2st
if u cant change a random value
there is a code like >>> time--;
u can change it to time = 0;

3rd
if (time == 0) u can change here to >>> if (time > 0)

I'm waiting your scripts.
Thanks for help and sorry for my bad english

 
Oct 10, 2007
Daniel Dawson 16 posts

Topic: Greasemonkey and his development

Sorry. Confused about markup. http://www.greasespot.net/

 
Oct 10, 2007
Daniel Dawson 16 posts

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
matrixik 6 posts

Topic: Greasemonkey and his development

Does somebody know whether the Greasemonkey farther will still be elaborated or no?

P.S. Sorry for my english.