<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\758211560\46blogName\75Tech+Tips,+Tricks+%26+Trivia\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75BLUE\46layoutType\75CLASSIC\46searchRoot\75http://mvark.blogspot.com/search\46blogLocale\75en\46v\0752\46homepageUrl\75http://mvark.blogspot.com/\46vt\75-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
A seasoned developer's little discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


Google Mobilizer Bookmarklet - view just text of web pages

You can use Google Mobilizer application, when you need a mobile-friendly version of webpage. If you are on a low-bandwith Internet connection, Google Mobilizer can be used on a PC or laptop to view just the text (and optionally images).

When I'm on Twitter, I don't have a good feeling about clicking URL shortened links as they don't reveal the domain name and can lead you to spam. Ocassionally, I'm directed to web pages that have more ads than content. I also learnt the creepy fact that any site can find out if you are logged into social web sites.

http://datatransparency.wsj.com/

Considering these privacy, security & readability issues I faced, I wished there was a way to open all links in a web page with Mobilizer so that I can view a minimalist, text-only version of a web page. I wrote the Google Mobilizer Bookmarklet to scratch this itch.

The "prettified" code looks like this -
javascript:(function() {
    a = document.getElementsByTagName('a');
    for (i = 0; i < a.length; i++) {
        a[i].href = 'http://www.google.com/gwt/x?noimg=1&btnGo=Go&source=wax&ie=UTF-8&oe=UTF-8&u=' + encodeURIComponent(a[i].href);
        a[i].style.backgroundColor = '#f0f0f0';
    }
}())

To use the bookmarklet, drag & drop the following link to you Bookmarklet/Favorites bar - Mobilizer

Once you're on a page that has a lot of links (like Twitter), click on the Mobilizer bookmarklet & it will then set a light grey background color to all hyperlinks on that page & prepend the Google Mobilizer URL to them.

As the Google Mobilizer application works by taking a querystring as an input, it can be adapted to work like a search provider in Chrome & Opera, to simplify its use.  The string to use for configuring it is -
http://www.google.com/gwt/x?noimg=1&btnGo=Go&source=wax&ie=UTF-8&oe=UTF-8&u=%s

If you assign a letter like M to this app, you can type M in the Chrome address bar/omnibox & then the type the URL you would like to see via Google Mobilizer.

Related:
The Joy of Bookmarklets
View clutter-free web pages with TidyRead, Safari Reader
HOW TO block images/image ads originating from a specific domain in Firefox 4 & above
HOW TO block IFRAME based ads

Labels: , ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment