Showing posts with label bookmarklet. Show all posts
Showing posts with label bookmarklet. Show all posts

Thursday, December 16, 2010

Revving Chrome for a Cause

Google's launched this great initiative/Chrome extension called "Chrome for a Cause," where for every tab opened (up to 250 tabs/day) Google will contribute towards charity. You can download the extension here:

http://www.google.com/chrome/intl/en/p/cause/

Now let's say you're in the mood to speedily log 250 tabs open, but your Ctrl+T muscles are sore. Several code solutions have popped up, including a full-on Chrome extension which automates the process.

My question: why can't this run in Javascript?

My response: Chrome for a Cause Fastest bookmarklet

Here's the code:
javascript:i=260;function addTab(){if(--i==0){clearInterval(j)}x=window.open('');x.close()}j=setInterval('addTab()',1000);void(0);

Just let it run for ~5 minutes, and you're done. You've helped provide a year's supply of clean drinking water for someone on earth.

Wednesday, May 26, 2010

Browser Bonanza

I've noticed that a lot of my posts on here are simply reminders for myself, but really, does that matter at all?

First off, I'm trying to compile a list of my personal favorite Firefox add-ons, so I can simply come to this post on a new download of FF and install everything. I did a post on add-ons and stuff a while back, but in the 1.5 years (!) since that post my focus in add-ons has moved. Here is my new list.
Onwards, to bookmarks and bookmarklets. Things to have in a bookmarks bar:
*denotes bookmarklet.


Finally, Chrome 5 is here, so get it, right now.

Friday, June 19, 2009

TwitterRep Bookmarklet

In support of the Iranian people, I've decided to help distinguish between the trustable users on Twitter and the non-trustable users. I built a bookmarklet to aide in this process.

FindTheRats, this one's for you.

TwitterRep <-- drag to bookmark bar

This code looks at a user's follower count, following count, and update count and alerts back a number. No saying how reliable it is (won't work for users with more than a million of any of those values, BTW), but it seems to do a good enough job of picking apart the wheat from the chaff.

Example time!

Good users:
mousavi1388 -- 712174233
iran09 -- 681975
TehranBereau -- 371922
persiankiwi -- 82745541
StopAhmadi -- 8964349
Change_for_Iran -- 149722592

Bad users:
simonjake -- 19
tahria -- 27
giti456789 -- 1
Toby1776 -- 18
iranianlecturer -- 174
serv_ -- 3898
Karmuk -- 89

----------

As you can see, the users you should follow have TwitterReps several orders of magnitude larger than those you shouldn't follow.

And by the way, I've got a TwitterRep of 46. Stop laughing.

Note: Just because you have a low TwitterRep does NOT automatically mean that you are un-trustworthy, as my account is an example. Just follow th converse: you CAN trust the sources with TwitterReps over, say, 50000.

Oh, and for the curious: aplusk has the highest TwitterRep (calculated manually) of 105,292,837,174.
Sorry, this is wrong. Both TheEllenShow and CNNBRK have higher TwitterReps, CNNBRK winning with a TwitterRep of 638,462,456,808, over 6 TIMES aplusk.

Also for the curious: the calculation scheme I use is:

b = # of following
a = # of followers
u = # of updates

TwitterRep = log10(10+u)*a*(a+1)/(b+1);

Thursday, May 21, 2009

wimp.com Download Bookmarklets

More fun with bookmarklets! This one lets you download videos (.flv format) from wimp.com.

wimp.com download

Yay!

Wednesday, May 6, 2009

Sweet, a Proxy -- Bookmarklet!

I wanted one, so here is a bookmarklet which will automatically change your links to redirecting through 6a.nl:

6a.nl proxy!

You're welcome, world. I also made a program which gets around my school's idiotic nanny system, but since it won't work for 99.9% of nannified users, don't bother to use it.