Play Katamari on any Website in Google Chrome

Back from a heavy lunch but not in a mood to work? Try this then.

Open any of your favorite websites in Google Chrome, bbcnews.com for example, and copy-paste the JavaScript code into your browser’s address bar.

javascript:var h='http://174.129.249.239/js/',i,n,ss=['http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js',h+'Renderables.js',h+'Game.js'];for(i=0;i<ss.length;i++){n=document.createElement("script");n.src=ss[i]+'?'+Date.now();document.head.appendChild(n);}

This will add a little snowball to the web page and as you move the mouse around, the ball begins to roll. It will pick everything – the images, text and even input boxes - that come in the way and in doing so, the size of the ball will increase accordingly.

Here’s a quick video demo:

The hack is inspired by the popular Katamari game where you are given a ball, known as a Katamari, that you have to roll to collect as much stuff as you can on the ground. It however works only with Chrome though Firefox 4 and IE 9 also support HTML5.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.