Do you have too many friends on facebook that you don’t know? Now you can remove them simply by visiting their profiles. I wrote a Greasemonkey script that will help you do exactly that, and another that helps you add instead of delete.
What is Greasemonkey?
Greasemonkey allows you to customize the way a webpage displays on Firefox using small bits of JavaScript. Hundreds of scripts, for a wide variety of popular sites, are already available at http://userscripts.org.
- http://addons.mozilla.org/en-US/firefox/addon/748
Greasemonkey is a Mozilla Firefox add-on that allows users to install scripts that make on-the-fly changes to HTML web page content on the DOMContentLoaded event, which happens immediately after it is loaded in the browser (also known as augmented browsing). As Greasemonkey scripts are persistent, the changes made to the web pages are executed every time the page is opened, making them effectively permanent for the user running the script.
- http://en.wikipedia.org/wiki/Greasemonkey
Where to get Greasemonkey?
http://addons.mozilla.org/en-US/firefox/addon/748
Get the two scripts!
Script to auto delete friends:
http://userscripts.org/scripts/show/61122
Script to auto add friends:
http://userscripts.org/scripts/show/61660
Warning!
Don’t forget to disable the scripts when you are not using them, or else you will accidentally delete your real friends, or add people you don’t know!!!
I have added a new page for my uni projects, so you can see what I’m doing (reports, programs, etc.)
It is accessible from the navigation bar on the left.
http://www.samliew.com/school.php
Finally, I have completed the two years of NS. Today I went to collect my stuff and collect my pink IC from camp. Went well and I was able to leave camp by lunch time.
Today I also edited my onemangahelper script a lot and added features. One of my ‘fans’ also gave a good review for it.
Paste this in the address bar to check all checkboxes on a page:
javascript:input=document.getElementsByTagName('input');cb=new Array();for(i=0;i<input.length;i++){if(input[i].type=="checkbox")cb.push(input[i]);} for(i=0;i<cb.length;i++){cb[i].checked=true;} void(0);
21 Dec: Church Christmas outreach dinner
22 Dec: Dinner at relative’s house
23 Dec: Uploaded lots of pictures to Facebook
24 Dec: Visit Tan family, dinner at Eng family’s house
27 Dec: Birthday celebration at Bubble Tea chalet BBQ
29 Dec: Birthday party with relatives
Tried creating a Facebook app using clearspring.com
http://apps.facebook.com/wordscram/page
Today I programmed a new userscript for IE7Pro so that I can have a direct link to download original images from Photobucket.
http://www.iescripts.org/view-scripts-193p1.htm
Today, my father said that his application for the overseas studies was approved. My entire family will be going to the U.S. for 2 years, except me who will be staying back to complete my NS.
My schedule is now very tight as it is nearing the exams, with my IT innovation project due and business com 3 presentation this coming Tuesday. I’m worried about the integration of the project, and I haven’t done any research for the biz com presentation.
I have also programmed the SetGame game at
http://www.samliew.com/Resources/Downloads/Programs/SetGame/index.html
I modified the SetGame Solver and now is called the SetGame Generator. It can generate codes for posting on any website.
Today I completed programming the SetGame Solver. I’m very pleased and satisfied =)