Remove Pesonalised Search Greasemonkey Script

I just knocked up a quick Greasemonkey script to add a “Remove customisations” link next to the “View customizations” (customisations) link that appears when Google is tailoring your results based on your search history.

This is particularly useful if, like me, you want to know when this kind of thing is happening and need and quick way to remove it.  Yes, you can disable it but this gives you a more granular option.

So, here you go..

// ==UserScript==
// @name           Remove Google Customisations
// @description    Adds link to remove personal customisations from Google searches
// @include        http://www.google.co.uk/search?*q=*
// ==/UserScript==

window.addEventListener('load', function() {
	var d=document;
	var n;var as=d.getElementsByTagName('a');
	for(var i=0;i<as.length;i++){
		if(/View customi(s|z)ations/.test(as[i].textContent)){
			n=as[i];
			break;
		}
	}
	if(n){
		var a=d.createElement('a');
		a.href=d.location.href+'&pws=0';
		a.innerHTML='Remove customisations';
		n.parentNode.insertBefore(a,n.parentNode.firstChild);
	}
}, true);

That should do it.. I do have a bookmarklet version to if anyone wants it posted.

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

Advertisements

Google sync on windows mobile 5 (wm5)

Google has (finally) launched a product (service) allowing you to sync your contacts and calendar from windows mobile device with gmail equivalents.

Google Sync for Windows Mobile

If however, like me, you’re running an old window mobile 5 device, you may find yourself stumped while following the instructions.  Specifically, it says –

8. Leave the Domain field empty.

Hmm, not so easy.. it’s a compulsary field!

The answer is to use m.google.com/sync for the domain 🙂

This google forum post pointed me to the answer.

Oh, one more thing, you may want to take a backup of your phone contacts/calendar first.  That’s easy grab PIM backup from DotFred, it works great.

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

Hosted wordpress social bookmarks bookmarklet

As I use Google Chrome as my default browser nowadays, I don’t currently have access to greasemonkey (userscripts are coming in 2.0 though :)) and therefore I can’t use my hosted wordpress social bookmarks greasemonkey script. For this reason (and for others who don’t use firefox*), I’ve knocked up a bookmarklet version of the script.

Given that it’s really diffcult to format code correctly in here, I’ll just point you to it as a file.  Just grab the file and and copy the contents as the location of a bookmark (preferably one on you bookmarks bar so you have easy access to it).  Then, whenever you’re on the add or edit post pages in your wordpress admin, you can click the link to add in the nifty “Social Bookmarks” section as if you were using the greasemonkey version.

Neat.

*Apart from those using IE as it seems to truncate all bookmarks longer than a predetermined max… what a PITA.

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

BBCode for Google Picasaweb images

If, like me, you post links to your Picasaweb images on forums, you’ll probably have scratched your head in the past and wondered why Google doesn’t include a ‘BBCode’ option in it’s ‘Link to this photo’ section on the right hand side.

So, I thought I’d knock up a quick bookmarklet to achieve this, basically if you copy the code below as the location for a bookmark in your bookmark bar, you can click it to swap out the standard ‘Embed image’ code for BBCode for insertion to forums.

Here you go –

javascript:void(function(){
  var s=document.getElementById('lhid_snippet');
  if(s){
    s.value='[url='+document.location.href+'][img]'+/<img src="([^"]+)"\/>/i.exec(s.value)[1]+'[/img][/url]'};
}())

(you’ll need to get it back one line, it wont format correctly here as one line)
Enjoy 🙂

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

Make Google Chrome your default browser in Vista

If you (like me) have tried clicking ‘Make Google Chrome my default browser’ in options > basic with no result, you’re probably as frustrated as I was.

If you’re running Vista, it’s simply a privileges issue, you need to –

  • Close Chrome
  • Right click the Chrome shortcut and select ‘Run as Administrator’
  • Accept the warning about running as administrator
  • Go to options > basic (as before)
  • Press the ‘Make Google Chrome my default browser’ button

This time it should work 🙂

You can now close the browser as administrator and launch it again with your normal user credentials.

On a side note, if you are having trouble making Skype aware of Opera as your default browser, this may help.

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

Google Chrome available now

Well, they’ve not announced it officially, but it appears it’s here.

Enjoy 🙂

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live

Google launches new web browser

Well, unless I’ve lost all track of my calendar and tomorrow is actually Aprils Fools Day then it would appear that Google is launching it’s new web browser, Google Chrome tomorrow.

I wait in anticipation, let’s see what tomorrow brings.

add to del.icio.us :: Bookmark Post in Technorati :: Add to Blinkslist :: add to furl :: Digg it :: add to ma.gnolia :: Stumble It! :: add to simpy :: seed the vine :: :: :: TailRank :: post to facebook :: Bookmark on Google :: Add to Netscape :: Share on Yahoo :: Add this to Live