Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Tuesday, August 7, 2007

Auto translate any page without identifying the language

Identifying the language is necessary to translate a web page using Babel Fish or Google Translate.

But the main problem i had was that i could not identify which language the page was in, for example if the page was in Spanish, i would not be able to identify it as spanish.

So what option should i choose in the "Select from and to languages"?

This problem is solved when using Google or yahoo, as it shows the appropriate Translate this page link beside the web link. What to do if you encounter a web page when you are not using any search engine..So the Auto Translate Greasemonkey can be used to lead you to the google page with the Translate this page link.

The Auto Translate Greasemonkey can be improved to directly redirect you to the translated page. But i thought the overhead was too much.

Wednesday, July 18, 2007

Getting unlucky after being too lucky

After feeling lucky and lcukier its time to be unlucky. So the present version of feeling lucky gives an option to unlucckify the queries that have been made lucky. Since, the lucky queries cant be seen on google,you will have to goto the unluckify page after installing the latest feel lucky greasymonkey.

The unlcukify page will remove the query from the lucky list. As soon as the query is removed it is displayed as an alert msg. Although this method works satisfactorily, their should be a more sensible method that does not require going to the unluckify page.

Tuesday, July 17, 2007

Feel luckier with google

This is an update to the previous post-Get lucky with google with input from Gautham pai. The new feel luckier script provides redirects to the suggested result.

For example if you were to search for nagarjunv you would get the suggestion of seeing results for nagarjuna.The script directly takes you to the suggested result page as in Yahoo. And a link to the original result is shown at the top as .

If you feel the word is correct on its own merit, that word can be added to the dictionary(on ur system only). Later it can be removed from the dictionary as well. The remove from dictionary link appears when the query is tried the next time, the redirect does not happen as the word is in the dictionary although Google suggests another result.

However, these scripts will be just as useful as bookmarks in their present form. They would be useful only if the redirects and made lucky queries are stored online. So the queries made lucky by other users of the script will also be lucky for us even if we are typing in the query for the first time. Google will have to do more than this simple script as it would have to take into consideration the language and other criteria as well.

Wednesday, June 20, 2007

Rediffmail greasemonkey version 0.1

To use this greasymonkey script, u need to have installed the greasemonkey on your firefox browser. The script is for the new rediffmail which has the largest inbox in the world. It is the preliminary version and has just two features-
  1. Removes the banner ads from the free versions inbox.
  2. Provides google talk on rediffmail homepage and inbox.
The following screen shot shows the inbox without the right side banner ads. The Google talk is on the left side bar. To be able to use google talk you need to be logged into gmail. rediffmail greasemonkey
The main page of the rediffmail has been modified to remove the sponsored links and the advertisement at the left top corner has been replaced by gtalk.
rediff gtalk greasemonkey

To install the grease monkey just click on Nagarjunvs rediffmail version 0.1 in firefox and a dialog box will appaer which can be followed to install the greasy monkey.

Thursday, June 14, 2007

Mozilla search plugin for Coop Search

Making search plugin's for firefox are easy one page deals. Just follow the instructions at Mycroft and a search plugin can be made available for download.The screen shot shows the plugin for coop search.

coop search plugin
I tested it and it works fine.For the sake of record the final XML file was as given below --

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Coop Search</os:ShortName>
<os:Description>Coop Search - Searching custom search engines</os:Description>
<os:InputEncoding>ISO-8859-1</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAQABADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDy/WP+Eu/tzUPs39t/Z/tMnleX5u3buOMY4xjpis6H+0v7QsvL+1/ZdsGdu7ZjaufbHWoPKuf7U2fY1+z+dj/j2XG3d649O9dk2saBo1/pUd4EMMVnYy3FonhyzmEoaCJ3HnOwclskliMgseuKwzDDywajFK7fMvha+G3a/fTY68BL6n96293bvvdO5//Z</os:Image>
<UpdateInterval>7</UpdateInterval>
<UpdateUrl>http://mycroft.mozdev.org/update.php/id0/coopsearch.src</UpdateUrl>
<IconUpdateUrl>http://mycroft.mozdev.org/update.php/id0/coopsearch.jpeg</IconUpdateUrl>
<SearchForm>http://www.google.com/coop/cse?cx=006220872262304550041%3Ahpoa4qugio0</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.google.com/cse?sourceid=Mozilla-search&amp;cx=006220872262304550041%3Ahpoa4qugio0&q={searchTerms}">
</os:Url>
</SearchPlugin>

Monday, May 21, 2007

Firefox closing worm or virus-easy removal solution

I picked up a worm while using the pen drive at the college. It is a rather unique one as it says

ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??

when you try to open orkut.

youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did

when you try to open youtube

and most intrestingly does not allow you to use firefox. However, it is easy to remove. Just go to the task manager by pressing ctrl+alt+del keys together.

remove all processes that have the name "SVCHOST.exe" and are running under your user name. Dont remove the other SVCHOST.exe processes such as the local service, system etc..

after that goto

C:\heap41a

select all the contents of that folder and delete it and you worm is gone. This seems a preliminary worm which may later become dangerous. Anyway for the sake of record i am putting up the script i found in it.

And one more thing it makes that wonderful noise which is supposed to be a laugh!! If you find any variants pls let me know..

#persistent
#notrayicon
settimer,ban,2000
return

ban:
WinGetActiveTitle, ed
ifinstring,ed,orkut
{
winclose %ed%
soundplay,C:\heap41a\2.mp3
msgbox,262160,ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ifinstring,ed,youtube
{
winclose %ed%
soundplay,C:\heap41a\2.mp3
msgbox,262160,youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ifinstring,ed,Mozilla Firefox
{
winclose %ed%
msgbox,262160,USE INTERNET EXPLORER YOU DOPE,I DNT HATE MOZILLA BUT USE IE `r OR ELSE...,30
return
}
ifwinactive ahk_class IEFrame
{

ControlGetText,ed,edit1,ahk_class IEFrame
ifinstring,ed,orkut
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit2,ahk_class IEFrame
ifinstring,ed,orkut
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit3,ahk_class IEFrame
ifinstring,ed,orkut
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit4,ahk_class IEFrame
ifinstring,ed,orkut
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,ORKUT IS BANNED,Orkut is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit1,ahk_class IEFrame
ifinstring,ed,youtube
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit2,ahk_class IEFrame
ifinstring,ed,youtube
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit3,ahk_class IEFrame
ifinstring,ed,youtube
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}
ControlGetText,ed,edit4,ahk_class IEFrame
ifinstring,ed,youtube
{
winclose ahk_class IEFrame
soundplay,C:\heap41a\2.mp3
msgbox,262160,youtube IS BANNED,youtube is banned you fool`,The administrators didnt write this program guess who did??`r`r MUHAHAHA!!,30
return
}

}
return