How to view wikipedia on SOPA blackout day

On Wednesday wikipedia English is blacked out in protest of proposed anti-piracy law SOPA in US congress. you are greeted with blacked out page with information about SOPA. However you don’t have to postpone your research or daily wikipedia reading. You can still view wikipedia site despite the blackout, by simple javascript code bookmarlet that can show all hidden elements on page.

So how to show hidden element on page using Javascript?


var tags=document.getElementsByTagName("*"); //get all tags for (var tg in tags){ try{ if (tags[tg].style.display=="none")tags[tg].style.display="block"; //check if they are hidden, display if they are }catch(e){ } }

Or you can copy the same code as bookmarklet to your browser bookmark bar. simply drag the link/button below and drop it on your browser’s bookmark bar or favorites. when on wikipedia on SOPA day or a page that you need to show all hidden elements , click Show all hidden elements.

Show all hidden elements

Bookmarklet to turn off Google instant search and turn off search filter

Here is a useful bookmarklet to turn off Google’s instant search (another annoying feature from Google) the following bookmarklet consist of two buttons, one to take you to Google preferences, and the other will set the settings automatically, it will turn off instant search and turn off safesearch (adult filter). this is useful when working in incognito mode or private browsing .

Go Pref
Go Set

Drag each of the buttons above and drop it onto your bookmark bar.  Obviously you should FIRST go to Go pref then hit Go Set. When you first visit google preferences directly, you might see a message that claims that your cookies are disabled, ignore that. it still works unless your cookies are actually disabled.

 

UPDATE:  

I updated the bookmarklet so now it works with Google new setting page.

Firefox Plugin To Turn Off Google Fade In Effects!

Are you tired of Google new homepage that has to fade in each time you visit upon mouse move? I’m surely very tired of it. Each time I visit Google homepage, it takes some time to show me the usual links such as images, videos, and advanced search. I either have to guess the place, or wait for the fade in to come. It is totally unnecessary and not needed.

As a result, I made simple firefox extension that should make the text automatically displayed and turn off this feature. Well, this serves first as convenience for me and for anyone who hates the fade in Google, and second to tell Google how unnecessary it is.

Unfortunately, this is only for Firefox, you can try other alternatives for other browsers, maybe the link on the right would help (;

Here is the plugin link: No Fade In Google Addon

If there is any issue, please use the contact link, you can find it at the bottom of this site. it works for me so far well. I’m using Firefox 3.5

Google blog about the new homepage: Official Google Blog: Now you see it, now you don’t

Why Dreamweaver cannot show .htaccess and other hidden files?

Actually yes, it can. .htaccess files normally hidden as default, Dreamweaver 8 does not display hidden files as default as well. I needed to look around for quite sometime until I found it. So to save trouble for people in a similar situation, here is how to make Dreamweaver 8 display hidden files.

Main:

How to Show .htaccess & other hidden files in DreamweaverIn the “Files” area where you can manage your files, Look at the title where it is written Files beside the collapsing arrow, on the other side of this bar, there is a small icon with a tiny arrow, click that, you get a menu, hover on view, then you ll see “Show Hidden Files”, check it, and now you ll see htaccess files and other hidden files.

You can do this in Remote view or local view, however, if you change it in local view and you were already connected to the server, you ll need to refresh the view in remote view. But if you change it in Remote View , it will refresh automatically.

Google Toolbar’s new tab feature on Firefox too slow/freeze problem due to a conflict

After I installed Google’s toolbar 5.0 and I tried the chrome’s new tab feature on Firefox 3.0 , I encountered a problem. When I open a new tab, it loads fine, though Firefox freezes for couple of seconds afterward. After investigating what’s happening, I noticed that Alexa Sparky plugin is trying to get the statistics for the page, and as a result Firefox freezes.

I looked at the javascripts of Alexa Firefox plugin, I found that the problem is that Alexa trying to get the host of Google-toolbar, since there is no such host, it takes extra seconds to realize that which leads to freezing.

Probably Alexa would fix this Alexa-Google toolbar conflict soon when they realize it, while then I did the following solution:

Main:

0-ANY OF THESE STEPS ON YOUR RISK, OF COURSE (;

1-On your computer browse to:
C:\Documents and Settings\YOUR CURRENT COMPUTER USERNAME\Application Data\Mozilla\Firefox\Profiles\SOME CODE.default\extensions\toolbar@alexa.com\content

2-Find the file overlay.js , backup the file just in case.

3-Edit the original file with notepad or any ASCII non-BOM editor. (If you are newbie and not sure about that, use notepad)

4-Find the following lines:


isIntranet: function(host) { try

Before “try” and AFTER {

adds the following line:


if (host==”google-toolbar”){ return true;}

So after you did that, it should look like this:


isIntranet: function(host) { if (host==”google-toolbar”){ return true;} try

5-Now save the changes, and exit Firefox, then open it again .

6-The problem should be solved now, enjoy the new tabs without hassles.