Greasefire Helps You Automatically Find GreaseMonkey Scripts For a Website

If you are a Greasemonkey Fan and often find yourself downloading interesting scripts from UserScripts.org. This article shall bring great news for you. 

Firefox Add-On GreaseFire is an interesting add-on which lets you automatically find GreaseMonkey Scripts for a website. When you visit a web page that has compatible user scripts on Userscripts.org, this extension will highlight the Greasemonkey icon in the status bar. Right click the Greasemonkey icon and choose the “X scripts available” item to see and install the scripts available for the current page.

Greasefire automatically finds Greasemonkey scripts for the website being surfed.

Image: Greasefire automatically finds Greasemonkey scripts for the website being surfed.

If you are thinking that using GreaseFire might bring in more latency to the page load time, you might be surprised to know that Greasefire uses a local index to look up scripts that apply to the page you are on — it does not send any browsing data to a server.

Set your Preferences for GreaseFire

Image: Set your Preferences for GreaseFire

This index is updated periodically, you can update your preferences for this update time by going through Tools –> Add-ons -> Greasefire -> Preferences for details.

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Understanding Prefetching

This post describes an interesting concept called “Link Prefetching in Web Pages”. It talks about the ways to design Prefetching within your webpages and also talks about the issues attached with it.

What is meant by Prefetching in Web parlance?

In order to understand Prefetching, we need to understand how a web page with multiple objects like images, stylesheets etc is loaded by a Browser. In a usual scenario, we always have a web page designated as the HTML rendered by the browser. This webpage then has the embedded objects like images ( jpeg,gif,png etc) , stylesheets ( css ) etc. When the user makes a request for such a webpage, the first thing a web browser does is load the HTML. The browser then parses the HTML and asks for the different objects in a top-down fashion.

Skeleton of a Web Page.

Skeleton of a Web Page.

The above figure explains the request flow for a hypothetical web page with HTML, Images, FLV, Javascript and CSS. The numbers written against the component refers to the way they would be requested by the browser.

So if you have a script written at the top of the web page, that will get loaded first, then whatever next. What is important to understand is that the next request from the browser is made only when the first request has completed. This ways, the browser waits for the first object request to complete before issuing the next request. This leads to a lot of wait time, which in turn can make your website appear to be slow.

With Prefetching, the web browser tries to resolve this issue. When Prefetching is enabled, the browser requests for the first object (i.e. the html) and while it delivers and renders the response to the end user, also parses the HTML to figure out the next subsequent requests. It then makes those requests Asynchronously and stores the result in its browser cache. Therefore, the wait time between the two results is reduced. When the user actually asks for that content, all the browser has to do is give that object from its Cache. The object appears immediately, thereby giving an impression to the end user that the website is indeed fast. Read more about How to get data from the browser cache in Firefox.

How to design my HTML to enable link Prefetching?

The browser looks for either an HTML link tag or an HTTP Link: header with a relation type of either next or prefetch. An example using the link tag follows:

<link rel="prefetch" href="/images/big.jpeg">

The same prefetching hint using an HTTP Link: header:

Link: </images/big.jpeg>; rel=prefetch

The Link: header can also be specified within the HTML document itself by using a HTML meta tag:

<meta http-equiv="Link" content="&lt;/images/big.jpeg&gt;; rel=prefetch">

Please note that even if you dont have these special tags in place, some browsers/ applications can still prefetch your links.

I am a Web Administrator, How can i identify Prefetch requests from the Browser client?

Yes. Firefox sends a special request header X-moz: prefetch for Prefetch requests. You can setup your server to track these requests seperately or block them totally, as the case may be.

If you are a web admin and seeing lot of traffic on your server, firstly identify Prefetching requests from your Server Access Logs and then in order to take control of the situation related with prefetching process, decide upon a rescue strategy.

Do i need any special kind of Browser for the Prefetching to work?

Almost all the web browser these days, support Prefetching. All you need to ensure is that your browser supports prefetching and it is enabled. Test if your browser supports Prefetching.

Are there any issues with Prefetching?

There are no serious issues attached with Prefetching but yes, you may find your bandwidth being utilized for content which you might never actually view. 

The other issue is related to prefetching of certain links with topics which might be illegal in your geography.

Your Web site statistics data may become less reliable because of statistics registered for page hits that were never seen by the user

Can i disable Prefetching in Firefox? How do i disable Prefetching in Firefox?

Yes. Though, by default Prefetching is turned on in Firefox, but it can be disabled by following the steps mentioned below.

1.) Open the Firefox browser

2.) Type about:config in the address bar and press Enter

3.) Scroll down the resulting preference list to network.prefetch-next

Disabling Prefetching in Firefox

Disabling Prefetching in Firefox

4.) Double click network.prefetch-next so the value is set to false.

5.) Close Firefox and restart it to enable the change.

Can you list any other Softwares or Add-ons which use Prefetching technique to help me gain some time?

Well, there are many but the two most famous one’s are Google Web Accelerator and an interesting Firefox Add-On for speeding up Firefox called FasterFox.

References: Mozilla

Also Read: Firefox 3.1 to add Private Browsing feature

[How-To] Open Firefox Bookmarks Using Keywords

Mozilla Firefox: Get the data from your Cache

Do you store your passwords using Firefox?

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

Firefox Addon UrlbarExt extends your Location bar

Firefox Addon URLbarExt 1.4.8 is an interesting Firefox Plugin which extends the functionality of your Location bar with set of commands which can help you Tiny your URL using Tiny URL, Copy URL, Search Site, Page Tagging and others.

URLBarExt Firefox plugin

URLBarExt Firefox plugin

UrlbarExt Extends Location Bar with set of icons to
1- Go up one level,or directly to the root of the current site(double click).
2- Copy the current site URL OR custom formatted URL.
3- Shorten the URL using your favorite service.
4- Search the current site using Google.
5- Tag current Page,this one adds an unique feature to Firefox interface,
make it easier for Firefox user’s to Tag the pages they browse and later find it easily using “Awesome bar” or “Recent Tags” menu
6- Navigate through sequential URLs.
7- Surf anonymously using online phproxy servers and Unblock filtered websites.

You can show/hide any icon you don’t need using the settings dialog. URLBarExt also has a Youtube channel where you can find interesting videos related to the usage of this extension. 

Do note that you would be required to login to the Mozilla website to download this add-on as it is still in experimental mode.

Also read: 7 essential Firefox add-on to help you Blog better

My list of 5 best Firefox Extensions

Do you store your passwords using Firefox?

Some quick Firefox Tips and Tricks

 

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav

Firefox 3.1 to add Private Browsing feature

Firefox has finally realized the importance of Private Browsing after Chrome’s release which had Incognito Window feature from Day 1. 

Mozilla Developer Centre blog, says

Private browsing allows you to turn off Firefox’s recording of history and cookie information as you browse the web. This feature will be included for the first time in Firefox 3.1 Beta 2.

Private Browsing in Firefox 3.1

Private Browsing in Firefox 3.1

Start Browsing Privately in Firefox

Start Browsing Privately in Firefox

So what exactly is Private Browsing? Ehsan Akhgari has the answer to it.

Private Browsing aims to help you make sure that your web browsing activities don’t leave any trace on your own computer.  It is very important to note that Private Browsing is not a tool to keep you anonymous from websites or your ISP, or for example protect you from all kinds of spyware applications which use sophisticated techniques to intercept your online traffic.  Private Browsing is only about making sure that Firefox doesn’t store any data which can be used to trace your online activities, no more, no less.

Hope you enjoyed reading this post.

Also interestingly, Firefox now has a market share of 20% globally. Congratulations Firefox, good job done.

Also read: [How-To] Open Firefox Bookmarks Using Keywords

Some quick Firefox Tips and Tricks

Mozilla Firefox: Get the data from your Cache

Do you store your passwords using Firefox?

Blogging: 7 essential Firefox add-ons

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav Pandey

Create HTML Signatures in GMAIL using Better Gmail 2

If you are one of those who uses Firefox and always wonder about creating HTML Signatures in Gmail, here is good news for you. Better Gmail 2 firefox add-on has been released and it can certainly help you create HTML signatures in Gmail.

Apart from giving you an option for creating HTML Signatures in GMAIL, Better Gmail 2 also offers the following features

1.) Forces Encrypted connection. ( https) : Earlier you read how to connect and stay secure while working on Gmail. Now you need not worry about it. Better Gmail 2 does this all for you.

Better Gmail 2

2.) Attachment Icons: This features adds icons for the attachments received.

3.) Add Row Highlights.

4.) Adding Skins for Gmail: Select from a range of available skins for Gmail.

Choose-Skin-For-Gmail-Using-Better-Gmail 2

5.) Create Folders for Gmail; This feature lists labels in a folder like structure.

Create folders from Gmail Labels

6.) Hide your Spam Counts

Hide your Spam count in Gmail

Read more about Better Gmail 2 on Lifehacker blog.

Also read: How-To: In GMAIL, show unread mails at the top in your inbox?

Gtalk adds Invisible Mode

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav

[How-To] Open Firefox Bookmarks Using Keywords

You already know how to get data from your Firefox Cache and why you should not save your passwords using Firefox, in this post i will bring to you an interesting hack which allows you to open Firefox Bookmarks using a keyword.

You can open any firefox bookmark using a simple keyword attached with it. The keyword needs to be stored as a property for the bookmark. This hack is pretty useful when trying to open long URL’s.

For example, lets assume you wish to save http://www.technofriends.in into your bookmarks folder as one of the favorite item and would like http://www.technofriends.in to open up anytime you enter TF and press enter in your firefox browser tab/window.

1.) Drag and drop the link to the page http://www.technofriends.in into your Link toolbar or click on the menu link Bookmarks –> Organize Bookmarks.

Firefox-Bookmarks Manager

2.) Click on the menu link File –> New Bookmark or select the icon which says ” New Bookmark”

Open Bookmarks using Keyword in Firefox

3.) Enter the details for the bookmark like ” Name” for the name of the bookmark, ” Location” stores the URL of the webpage you wish to bookmark, in our case, http://www.technofriends.in and ” Keyword” for the keyword you wish to use, in our case “tf”. Enter “Description” if you wish to.

4.) Click on OK and close the Organize Bookmarks window.

5.) Now open a new browser tab/ window and key in tf and hit enter in the browser. Keywords are case-insensitive. Entering TF or tf shall render the same results.

6.) http://www.technofriends.in opens up. You just finished setting up and testing the keyword hack for opening bookmarks in browsers. This hack is pretty useful when trying to open long URL’s like banking websites login page, your wordpress.com dashboard page etc.

For already existing bookmarks, click on the properties tab of the bookmark and enter the keyword, save the details by clicking OK and you are done.

Also read: Some quick Firefox Tips and Tricks

Be the BOT: Fool websites by changing your Header

Do you store your passwords using Firefox?

How-To: Set multiple homepages in Firefox.

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav

Some quick Firefox Tips and Tricks

Previously you learnt how to get the data available in your Firefox browser cache and how easily your passwords can get hacked if you store them using your Firefox browser

Firefox Logo

Today, i will discuss two tips with you, which shall make your Firefox experience more lively.

1.) In Firefox, to open a new Tab follow the shortcut CTRL+TAB. This opens a new tab in the present window and saves you the effort of traversing through the Menu. File -> New Tab.

2.) To navigate between the tabs, press CTRL + SHIFT + TAB, this opens the tab page to the right of the current tab. To navigate to the tab page to the left of the current tab, press CTRL + TAB.

Also read:How-To: Set multiple homepages in Firefox.

BrowserShots: Test your web design in different browsers

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Cheers

Vaibhav