Google Bookmarklet Reference

Posted in Windows with tags , , , on June 19, 2009 by mywadud

I use Google Chrome as much as I can, and thus, I have to use the wonderful bookmarklets in order to do some tasks that aren’t yet built-in as they should be especially the Google Bookmark Bookmarklets. I do get frustrated when I can’t find the ones I use in one single place so here is a reference for meee … and by extension, youuu …

Just add the links to your “bookmark bar” and be happy…
(WordPress is not allowing me to generate links to “javascript:” references, thus I cannot make draggable links) soo … Select the code, drag it to the “bookmarks bar” then rename it to your liking.

Add Google Bookmark

javascript:(function(){var a=window, b=document, c=encodeURIComponent, d=a.open("http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+c(b.location)+"&title="+c(b.title), "bkmk_popup", "left="+((a.screenX||a.screenLeft)+10)+", top="+((a.screenY||a.screenTop)+10)+", height=420px, width=550px, resizable=1, alwaysRaised=1");a.setTimeout(function(){d.focus()}, 300)})();

View Google Bookmark

javascript:(function(){var a=window, b=document, c=encodeURIComponent, d=a.open("http://www.google.com/bookmarks/", "bkmk_popup", "left="+((a.screenX||a.screenLeft)+10)+", top="+((a.screenY||a.screenTop)+10)+", height=420px, width=550px, resizable=1, alwaysRaised=1"); a.setTimeout(function(){d.focus()}, 300)})();

Scroll

javascript:var one,two=new Function('clearTimeout(one)'); document.onkeydown=two; two(); void(one=setInterval('if( pageYOffset<document.height-innerHeight) {window.scrollBy(0,1)} else{two}',50));

KeepVid

javascript:window.location.href = 'http://keepvid.com/?url=' + window.location.href;

BlackOnWhite

javascript: (function(){ var newSS, styles='* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet("javascript:'"+styles+"'"); } else { newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } } )();

Gmail

javascript:var%20w=window, u='https://mail.google.com/mail/?ui=2& view=cm& fs=1& tf=1', l=document.location; try{%20throw(0); %20}%20catch(z)%20{a%20=function(){if(!w.open(u, 't', 'toolbar=0, resizable=0, status=1, width=600, height=500'))l.href=u; }; if(/Firefox/.test(navigator.userAgent))setTimeout(a, 0); else%20a(); }void(0)

… More, may be added …

Printer Friendly CSS for Firefox

Posted in Programming with tags , , on March 24, 2009 by mywadud

Problem: I’m trying to add a “Print” css style into my page but Firefox keeps only printing the “First Page” which is quite annoying while it works in IE

Solution: First of all see A List Apart – Print your way and Fix for the firefox css one page printing problem bug.

Below is the css that fixed my problem…
Read more »

Windows XP Folder Delete Permissions

Posted in Windows with tags , , , , on March 20, 2009 by mywadud

Problem: Have you ever wanted to DENY yourself “Delete Permissions” to a parent folder to protect it from accidental deletion, but allow full access to its content but Windows just won’t let you do it?

Read more »

simultaneous AJAX Calls

Posted in Programming with tags , on March 13, 2009 by mywadud

Problem: I’m trying to make multiple calls to my AJAX Function using variables, it’s acting funny, overriding each other or simply not working.

Answer: Use an array to differentiate the calls from each other.


var myReqNum = 0; //Global Variable
var http = new Array();
Read more »

IE AJAX NULL or Undefined Problem

Posted in Programming with tags , , , on March 10, 2009 by mywadud

Problem: While developing a javaScript AJAX based Web App. with an on load call for getElementByID document.getElementById(...) is null or not an object error message is received in IE, IE7 while Firefox worked, meaning the “ID” is there but “IE” is messing up.

Solution: Place the javaScript call at the end of the HTML document to ensure all elements load before the code executes.

Low Volume Output Problem

Posted in Windows with tags , , , on December 4, 2008 by mywadud

Problem: Laptop/Desktop has too low audio output even when all the audio settings are maximised.

Solution:

1 – Utilize Secret Volume Boost

VLC: hit “Control + Up Arrow” (Hit Up Arrow while holding down Control)

Quicktime: “Shift + Click Volume Slider” or “Shift + Up Arrow”

2 – Purchase external speakers

I found a great portable option at ROSS. $14, 85 DB, Works with DC or 4 AA

Get Most Out of Your XP

Posted in Tutorial, Windows with tags , , , , , on November 18, 2008 by mywadud

Speed Up This Machine…. I KNOOW!

This is a guidebook to smooth computing. So read and apply the advice here and you will not regret it. Keyword is awareness, and I will allow you to become aware and give you the tools and know-how for you to be happy with your machines performance, FINALLY! Let’s begin…

Read more »

Vista Wireless Local Only Problem

Posted in Windows with tags , , on November 17, 2008 by mywadud

Problem: Windows Vista Connects to WEP Encrypted Wireless in Local Only Mode. Can not access internet.

Solution:

1 – Disable IPv6

2 – Setup Static IP Settings For IPv4

Read more »

What is THIS Blog About?

Posted in Uncategorized on November 17, 2008 by mywadud

Well, very simple… When you stumble across a technical problem, wheter a Windows glitch, performance issue, frustration while programming or writing a SQL statement, and you tell your friend and (s)he goes…. I KNOOOOOOOW! I have the same thing happen to me. Arghh!

Read more »