Youtube has been blocked in my country, such a lame we are! I don't know how they have blocked , Some sites of google aren't working. I wanted to use the android sdk to install some of the packages and found out It can't connect. As I am on Ubuntu I tried using the System wide network proxy option but it didn't work. I tried the settings in /etc/environment without result.
At last inserting the proxy settings at /etc/java-6-openjdk/net.properties worked for me.
As I am using the socks proxy , I set the ip and port and it's working for me in both eclipse and android sdk manager.
Sunday, September 30, 2012
Sunday, September 16, 2012
wordpress ajax with different WordPress Address and Site Address
If in your WordPress General Settings WordPress address and Site address are different(if two domains are different), using Ajax in the frontend can be a little tricky. Usual approach is to localize a script :
wp_localize_script('some_script_name, 'SomeVar', array(
'ajaxurl' => admin_url('admin-ajax.php')
));
and you can get the ajaxurl from your javascript code by SomeVar.ajaxurl
admin_url('admin-ajax.php') will return an url in respect to the Wordpress address. So, when you make an ajaxcall , it won't work, javascript will throw a cross-domain exception.
The solution is to use the home_url() and appending the ajax url:
wp_localize_script('some_script_name, 'SomeVar', array(
'ajaxurl' => home_url('/').'/wp-admin/admin-ajax.php')
));
and don't forget to add the nopriv hook:
add_action('wp_ajax_nopriv_action_name', 'function name');
other wise the frontend ajax won't work, as the request relays back to the WordPress url even if you're logged in as admin the request will not carry that info.
Thursday, August 30, 2012
Linux get Processor Info
Found some useful commands to get the cpu info.
sudo lshw -C cpu
cat /proc/cpuinfo
sudo dmidecode --type processor
Also do
ls /sys/devices/system/cpu/
To get an idea about processors, cores, multithreading check
http://superuser.com/questions/329904/what-are-threads-and-what-do-they-do-in-the-processor
About Intel Hyperthreading read here:
http://software.intel.com/en-us/articles/performance-insights-to-intel-hyper-threading-technology/
Friday, August 3, 2012
Olympic 2012
I have been passionately following the Olympic 2012 especially the swimming events. I was amazed to see the 16 year old girl Ye Shiwen from China winning the gold Medal in 400m Medley. I became stunned while I found out the reaction of some of the people. They suspect her performance enhanced by dope! That's strange, when Stephanie Rice improved her personal timing 5 seconds that was a great performance or when the 15-year-old Katie Ledecky from USA wins the 800m making almost a world record , nobody questions her performance. After a lot of hard works and perseverence does the athlete really deserve this?
Friday, July 20, 2012
Python Basics
The single most important thing to know about python is that everything is object in python.
use dir() or the inspect module to inspect any object. The help() function is very useful. It's a wrapper around pydoc module.I use it frequently to know the statements like print, raise etc.
dir.__doc__ will give you the details.
inspect.getmembers() ouputs a list of all members of the passing object.
To know about any function at first try the __doc__ first
use dir() or the inspect module to inspect any object. The help() function is very useful. It's a wrapper around pydoc module.I use it frequently to know the statements like print, raise etc.
dir.__doc__ will give you the details.
inspect.getmembers() ouputs a list of all members of the passing object.
To know about any function at first try the __doc__ first
Sunday, June 3, 2012
Openssh as proxy server connection
Today I discovered the ssh -D feature which can be used as a secure proxy server connection.
For example I am using ssh -D 4589 username@hostname to make a secure connection to the hostname. 4589 is the local port to be used . After connecting to the remote hostname If you configure the proxy settings in the browser( In the socks field put 127.0.0.1 and as port put 4589 or whatever port you define in the command ) you'll be using your own proxy server! no need to use the insecure public proxys.
Check the manual of SSH for more info
For example I am using ssh -D 4589 username@hostname to make a secure connection to the hostname. 4589 is the local port to be used . After connecting to the remote hostname If you configure the proxy settings in the browser( In the socks field put 127.0.0.1 and as port put 4589 or whatever port you define in the command ) you'll be using your own proxy server! no need to use the insecure public proxys.
Check the manual of SSH for more info
Friday, January 20, 2012
Ubuntu 11.10 Recording Sound from the Sound Card
From the top right corner select sound preference. In the Hardware tab Select the profile 'Analog Stereo Output'.
Install audacity if you don't have. Open audacity, got to Edit>Preference from the devices list select pulse0 as the recording interface.
Now record any sound as usual from the audacity
Monday, August 29, 2011
Ruby Books
I have been working on ruby. Best book I have found is "Programmin Ruby" By Dave Thomas.
The language which has best documentation is "PHP" . The php manual is all what you need, I was searching something like that in ruby and 'Programming Ruby' is the gem.
Sadly I haven't found such documentation for Python.
http://docs.python.org/ is 'ok' to me but it has not been effective like 'php' or 'ruby' .
The language which has best documentation is "PHP" . The php manual is all what you need, I was searching something like that in ruby and 'Programming Ruby' is the gem.
Sadly I haven't found such documentation for Python.
http://docs.python.org/ is 'ok' to me but it has not been effective like 'php' or 'ruby' .
Saturday, August 27, 2011
Ruby on Rails Apache passenger defaults to production environment
I have been playing with ROR. I had been experimenting with WebRick server that comes with rails but default.
I tried to test my app with apache passenger module/mod_rails.
Passenger will assume the environment as 'production'.
On the other hand when you use rake db:migrate command it works for the 'development' environment.
If you want to use passenger for testing/development enviroment use the
rake db:migrate RAILS_ENV=production command.
or set the RailsEnv in your .conf file or in a .htaccess file(If AllowOverride is set ).
For details visit here.
http://www.modrails.com/documentation/Users%20guide%20Apache.html
I tried to test my app with apache passenger module/mod_rails.
Passenger will assume the environment as 'production'.
On the other hand when you use rake db:migrate command it works for the 'development' environment.
If you want to use passenger for testing/development enviroment use the
rake db:migrate RAILS_ENV=production command.
or set the RailsEnv in your .conf file or in a .htaccess file(If AllowOverride is set ).
For details visit here.
http://www.modrails.com/documentation/Users%20guide%20Apache.html
Saturday, August 20, 2011
javascript IE compatibility
I was pulling my hair off today when Nothing seemed to work at IE. After Some careful debuggin got out of it.
'class' is reserved at IE, MIDORi will not validate the script.
'class' is reserved at IE, MIDORi will not validate the script.
Sunday, June 12, 2011
Godaddy
I have been using GoDaddy for two months now. This is the time to make a review of their service. What I like about GoDadday is domain name registration service. They will tempt you to shop more by offering discount. They have a fine dns manager, which I had used to configure appengine.
I don't like the hosting service of godaddy, Sometimes the server was really slow especially the cpanel. I have been using hostgator and I like their service.
I don't like the hosting service of godaddy, Sometimes the server was really slow especially the cpanel. I have been using hostgator and I like their service.
Labels:
Hosting service
Tuesday, May 31, 2011
Ubuntu Recovering Boot menu after installing Windows
For Ubuntu 9.10 or later:
If you have installed windows OS after installing ubuntu and windows has deleted the mbr(Master Boot Record) you can't see the ubuntu at your boot menu, Try this solution.
Boot from a Ubuntu CD and select Try Ubuntu
First Step: Just checking the Hard Disk
Open a Terminal,Type in:
If you are Using only one Hard Disk, Your Boot record will be in that disk But if you are using two or more and mark the Hard Disk that you have selected to boot first from your Bios Settings.
If you are using one HD your device is - /dev/sda
we will continue assuming your device id is /dev/sda .
Second Step:
Now You have to mount the drive that your Ubuntu was installed previously.
Mount the drive By selecting it from the 'places' menu. It has been mounted at your /media folder(Live CD)
Check the folder name and copy the folder name. You can do it also By dragging any file/folder from the mounted drive.
Now at Terminal:
grub-install is suggested now rather than grub-setup
Try this first:
Or try this:
Replace The 'FolderName' with the Folder you have found at your /media folder.
Third Step:
Restart Your machine and the boot menu should be there but you will be missing the windows boot menu entry there . So after logging in Open a Terminal and Type:
It's Done! It'll show you a message if it finds a boot record for the windows.
There is a detailed description at http://help.ubuntu.com/community/Grub2
If you have installed windows OS after installing ubuntu and windows has deleted the mbr(Master Boot Record) you can't see the ubuntu at your boot menu, Try this solution.
Boot from a Ubuntu CD and select Try Ubuntu
First Step: Just checking the Hard Disk
Open a Terminal,Type in:
sudo fdisk -l
If you are Using only one Hard Disk, Your Boot record will be in that disk But if you are using two or more and mark the Hard Disk that you have selected to boot first from your Bios Settings.
If you are using one HD your device is - /dev/sda
we will continue assuming your device id is /dev/sda .
Second Step:
Now You have to mount the drive that your Ubuntu was installed previously.
Mount the drive By selecting it from the 'places' menu. It has been mounted at your /media folder(Live CD)
Check the folder name and copy the folder name. You can do it also By dragging any file/folder from the mounted drive.
Now at Terminal:
grub-install is suggested now rather than grub-setup
Try this first:
sudo grub-install --boot-directory=/media/FolderName/boot /dev/sda
Or try this:
sudo grub-setup -d /media/FolderName/boot/grub /dev/sda
Replace The 'FolderName' with the Folder you have found at your /media folder.
Third Step:
Restart Your machine and the boot menu should be there but you will be missing the windows boot menu entry there . So after logging in Open a Terminal and Type:
sudo update-grub
It's Done! It'll show you a message if it finds a boot record for the windows.
If you get any error you check the following link.
There is a detailed description at http://help.ubuntu.com/community/Grub2
Labels:
ubuntu
Monday, May 30, 2011
Simple Python HTML,XML DOM Parser
This parser is intended to be simple and easy to use. You can download a copy from github . The parser can detect the various forms of tags like id=lorem , id='lorem', id="lorem". I have been using this script for my current scraping project.
I had been using the python module minidom but it's no use for the malformed xml and html . So I wrote this script using only regular expression.
Usage:
Copy the spp.py in your working directory and import the package.
Instantiate the parser class by providing the url or xml|html string
To Get the 'id' attribute of the 'style' tag
1.spp.parser('http://www.google.com').getByTag('style').item(0).attr('id')
To get the attribute of a node whose id is 'csi'
2.spp.parser('http://www.google.com').getById('csi).attr('style')
# doc is the html or xml string you want to parse
3.spp.parser(doc).getById('test').attr('href')
To get the src of an image which is the 4th image of the document
4.spp.parser(doc).getBytag('img').item(4).attr('src')
To get the content of a node which has no child
5.spp.parser(doc).getById('test').innerText()
There are some nice parsing tools for python available.
I had been using the python module minidom but it's no use for the malformed xml and html . So I wrote this script using only regular expression.
Usage:
Copy the spp.py in your working directory and import the package.
Instantiate the parser class by providing the url or xml|html string
To Get the 'id' attribute of the 'style' tag
1.spp.parser('http://www.google.com').getByTag('style').item(0).attr('id')
To get the attribute of a node whose id is 'csi'
2.spp.parser('http://www.google.com').getById('csi).attr('style')
# doc is the html or xml string you want to parse
3.spp.parser(doc).getById('test').attr('href')
To get the src of an image which is the 4th image of the document
4.spp.parser(doc).getBytag('img').item(4).attr('src')
To get the content of a node which has no child
5.spp.parser(doc).getById('test').innerText()
There are some nice parsing tools for python available.
Saturday, May 28, 2011
PHP regex lookaround assertion: lookbehind and lookahead
Regular Expression is a mighty beast, if you can tame it Regex will be a great leverage to solve your Problems.
A Real World Example:
Regex assertion is to check if any string matches following or the preceding characters. Suppose we want to check if there is any '.mp3'or '.mp4' string in our text but we only want the value 'mp3'or 'mp4'
One solution is:
But this is ugly, we can use the lookbehind assertion to make the code simple:
What are the lookahead and lookbehind assertions? and what are the syntax?
Assertions Only check that from the current position if a string matches the following or preceding characters, It does not consume any character. 'lorum(?=ipsum)' matches 'lorum' from the text 'lorumipsum'. Note that it's not matching 'lorumipsum', it's just checking if 'ipsum' are the next characters after 'lorum'.
LookAhead Syntax:
Positive lookahead: (?=)
Negative lookahead: (?!)
LookAhead Assertion Checks if following characters matches(positive lookahead) or does not(negative lookahead) from the current position.
positive Lookahead:
The following example matches 'lorum' first then checks that if 'ipsum' is next, If the checking is successful then function returns a successful match.
Positive lookbehind:(?<=)
Negative lookbehind:(?<!)
positive Lookbehind:
This example matches 'ipsum' first then checks that if 'lorum' is previous, If the checking is successful then function returns a successful match.
Negative LookBehind:
The following example matches 'ipsum' first then checks that if 'hello' is not previous, If the checking is successful then function returns a successful match.
A Real World Example:
Regex assertion is to check if any string matches following or the preceding characters. Suppose we want to check if there is any '.mp3'or '.mp4' string in our text but we only want the value 'mp3'or 'mp4'
One solution is:
$text = 'demo.mp3, shakira.mp4,lorum ipsum';
if(preg_match_all('/\.mp3|\.mp4/', $text,$matches)):
foreach($matches as $key => $match){
$matches[$key] = str_replace('.', '' ,$matches[$key]);
}
endif;
var_dump($matches);
But this is ugly, we can use the lookbehind assertion to make the code simple:
preg_match_all('/(?<=.)mp3|mp4/', $text,$matches);
var_dump($matches); Let's Go Back: Check The Basic:
What are the lookahead and lookbehind assertions? and what are the syntax?
Assertions Only check that from the current position if a string matches the following or preceding characters, It does not consume any character. 'lorum(?=ipsum)' matches 'lorum' from the text 'lorumipsum'. Note that it's not matching 'lorumipsum', it's just checking if 'ipsum' are the next characters after 'lorum'.
LookAhead Syntax:
Positive lookahead: (?=)
Negative lookahead: (?!)
LookAhead Assertion Checks if following characters matches(positive lookahead) or does not(negative lookahead) from the current position.
positive Lookahead:
The following example matches 'lorum' first then checks that if 'ipsum' is next, If the checking is successful then function returns a successful match.
preg_match('/lorum(?=ipsum)/','lorumipsum', $match);
var_dump($match); Negative Lookahead: The following example matches 'lorum' first then checks that if 'test' is not next, If the checking is successful then function returns a successful match.
preg_match('/lorum(?!test)/','lorumipsum', $match);
var_dump($match); Look Behind Syntax:
Positive lookbehind:(?<=)
Negative lookbehind:(?<!)
positive Lookbehind:
This example matches 'ipsum' first then checks that if 'lorum' is previous, If the checking is successful then function returns a successful match.
preg_match('/(?<=lorum)ipsum/','lorumipsum', $match);
var_dump($match); ******One important thing to remember: Regex engine searches from left to right but in this case as there is nothing too match before our assertion it matces ipsum first to determine the current position. Suppose we would build our regex expression by '^(?<=lorum)ipsum' then the regex engine would match the start of the line first. Then it would determine whether 'lorum' matches previous which would obviously fail as there is no character preceding 'lorum'.
Negative LookBehind:
The following example matches 'ipsum' first then checks that if 'hello' is not previous, If the checking is successful then function returns a successful match.
preg_match('/(?<!hello)ipsum/','lorumipsum', $match);
var_dump($match);
Monday, May 16, 2011
JavaScript Rolling Animation Using marginTop
In My previous Post I wrote about how You can get a rolling animtaion using javascript scrollTop property. As the "scrollTop" is not a W3C recommendation we will use 'marginTop' of the style object to make a better solution.
We will set a negative value to the css margin-top property using a recursive function. This will move the div upwards gradually.Here is the sample Code.
Easy and pretty simple huh? This is just the basic, You can make awesome animations/sliding effects. This is compatible in all modern browsers. If you need more info, post a comment and I'll try to help.
****
*****
Javacript Rolling Animation Example Using margin
*******
*********
*******
*******
*********
*******
***
Free Javascript scripts
*****
Javacript Rolling Animation Example Using margin
*******
*********
*******
*******
*********
*******
***
Free Javascript scripts
We will set a negative value to the css margin-top property using a recursive function. This will move the div upwards gradually.Here is the sample Code.
d = document.getElementById('cat');
h = 0;
ab = function(){
if(h == -150){
h = 0;
}
h--;
d.style.marginTop = h+"px";
setTimeout('ab();', 10);
}
ab();
Easy and pretty simple huh? This is just the basic, You can make awesome animations/sliding effects. This is compatible in all modern browsers. If you need more info, post a comment and I'll try to help.
Labels:
JavaScript
Sunday, May 15, 2011
JavaScript Scrolling Animation Using scrollTop
Using only the scrollTop and scrollHeight property it is possible to create a nice scrolling effect.scrollTop and scrollHeight aren't W3C recommendation but these properties exist in all the modern browsers. I have checked it in Chromium,Firefox,IE and Midori the following script works perfectly. Let's see the effect.
The code is pretty simple. For achieving the animation effect out our div should be overflown.
Need Explanation?
scrollTop(integer) property shows that how far you have scrolled from the top. You can also set a value to scrollTop which will scroll automatically to a value specified.
we have a recursive function that sets the scrollTop property. If we reach at the bottom of our element that's when if(200+a.scrollTop==a.scrollHeight) we reset the scrollTop property.
Here is a tutorial about How you can achieve the same animation using margin.
If You need more explanation, Let me Know.
Javacript Scrolling Animation Using scrollTop property
****
*****
*******
*********
*******
***
****
*****
*******
*********
*******
***
Javacript Scrolling Animation Using scrollTop property
****
*****
*******
*********
*******
***
****
*****
*******
*********
*******
***
Javacript Scrolling Animation Using scrollTop property
The code is pretty simple. For achieving the animation effect out our div should be overflown.
a = document.getElementById('scroll');
c = 0;
b = function()
{
if(200+a.scrollTop == a.scrollHeight)
{
a.scrollTop = 0;
c = 0;
};
c++;
a.scrollTop = c;
setTimeout('b()',10)
}
b();
Need Explanation?
scrollTop(integer) property shows that how far you have scrolled from the top. You can also set a value to scrollTop which will scroll automatically to a value specified.
we have a recursive function that sets the scrollTop property. If we reach at the bottom of our element that's when if(200+a.scrollTop==a.scrollHeight) we reset the scrollTop property.
Here is a tutorial about How you can achieve the same animation using margin.
If You need more explanation, Let me Know.
Labels:
JavaScript
Sunday, May 8, 2011
PHP Declaring Object before Defining Class
A quiz for you. is the following code snippet valid?
What about the following one?
what about the next? assuming test.php contains the hello function.
Unlike C/C++/Python The first two snippets are correct. But the third one will generate error. When you call a function or make an instance of a class the compiler searches in the same file for the definion.
$obj = new hello();
class hello{
function __construct(){
echo 'PHP ';
}
}
What about the following one?
hello();
function hello(){
echo 'PHP ';
}
what about the next? assuming test.php contains the hello function.
hello();
include test.php;
Unlike C/C++/Python The first two snippets are correct. But the third one will generate error. When you call a function or make an instance of a class the compiler searches in the same file for the definion.
Labels:
PHP
Saturday, May 7, 2011
Django Installation with XAMPP for Linux-(LAMPP)
I use Ubuntu and XAMPP for my development works. My Xampp location is /opt/lampp.
This post is about Mysql Database connection problem in Django.
First Make sure you've installed the python-mysqldb package.
sudo apt-get install python-mysqldb
Then if you get the following error
_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")'
That means that mysqld can't find you mysql library location. You have to add the library path manually. /etch/ld/so/conf file maintains the extra library locations so add your library here.
sudo gedit /etc/ld.so.conf
Add your mysql library path here. In my case
/opt/lampp/lib/mysql
Now update your config by
sudo ldconfig
And that's it now you can test it by running server
Alternative:
You can also create a .conf file in the /etc/ld.so.conf.d directory and write your location in that file as the ld.co.conf file loads all the files from the directory.
This post is about Mysql Database connection problem in Django.
First Make sure you've installed the python-mysqldb package.
sudo apt-get install python-mysqldb
Then if you get the following error
_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")'
That means that mysqld can't find you mysql library location. You have to add the library path manually. /etch/ld/so/conf file maintains the extra library locations so add your library here.
sudo gedit /etc/ld.so.conf
Add your mysql library path here. In my case
/opt/lampp/lib/mysql
Now update your config by
sudo ldconfig
And that's it now you can test it by running server
Alternative:
You can also create a .conf file in the /etc/ld.so.conf.d directory and write your location in that file as the ld.co.conf file loads all the files from the directory.
Labels:
django
Friday, May 6, 2011
WordPress thickbox for Generated Images Solution
If you want to use Thickbox for the generated images you may get garbage values if you're using a url like http://test.com/image.php?coords=1,2,3 or http://test.com/image/ . The problem occurs when thickbox detects the url not as image. If you open the wp-includes/js/thickbox/thickbox.js file you will get a line
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
Image formats or urls other than the above ones will show garbage value. The solution is to edit the thickbox.js file. Do not edit the default file. Make a copy of the file and place it at your theme directory. Another Option is to obtain thickbox.js from the jQuery thickbox page. This is better than copying the WordPress included one. I will explain it a bit later. Now first add the thickbox.js file in you theme. In your functions.php file use the following code.
Don't forget to add the thickbox css. Now edit the thickbox.js file around Line no 72. If your url contains .php :
Replace the line
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
with
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp|\.php$/;
Then in the line 75
Replace the line
if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif'
|| urlType == '.bmp'' )
with
if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif'
|| urlType == '.bmp' || urlType == '.php' )
There is another edit, From the whole script remove all the properties and method related with 'thickboxL10n' . This variable has been injected by wodpress as a localization process. If your copy is from jquery website your thickbox.js will have no variable 'thickboxL10n'. So It's a better option to get thickbox from the jQuery website.
If you copy download jquery from jquery website:
Replace all the "$(" with "jQuery(" .
Now click on your image and it should work now. If You face any problem you can comment here, I will try to solve your problem.
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
Image formats or urls other than the above ones will show garbage value. The solution is to edit the thickbox.js file. Do not edit the default file. Make a copy of the file and place it at your theme directory. Another Option is to obtain thickbox.js from the jQuery thickbox page. This is better than copying the WordPress included one. I will explain it a bit later. Now first add the thickbox.js file in you theme. In your functions.php file use the following code.
add_action('wp_print_scripts' , 'add_custom_thickbox');
function add_custom_thickbox(){
wp_enqueue_script('thickbox_edit' , get_bloginfo('stylesheet_directory')
. '/thickbox.js' , 'jquery' , ' ' , true);
}
Don't forget to add the thickbox css. Now edit the thickbox.js file around Line no 72. If your url contains .php :
Replace the line
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
with
var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp|\.php$/;
Then in the line 75
Replace the line
if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif'
|| urlType == '.bmp'' )
with
if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif'
|| urlType == '.bmp' || urlType == '.php' )
There is another edit, From the whole script remove all the properties and method related with 'thickboxL10n' . This variable has been injected by wodpress as a localization process. If your copy is from jquery website your thickbox.js will have no variable 'thickboxL10n'. So It's a better option to get thickbox from the jQuery website.
If you copy download jquery from jquery website:
Replace all the "$(" with "jQuery(" .
Now click on your image and it should work now. If You face any problem you can comment here, I will try to solve your problem.
Labels:
wordpress
Thursday, May 5, 2011
Firefox Setting Google As Default Search Engine using about:config
If Searching in the main address bar redirects you to a search engine other than Google, that means some firefox add-on is controlling your search options. You can check your add-on preferences for correcting it. There should be some option in a nice add-on but there are some add-ons which don't even ask!
So for Changing the settings type about:conifg in the address bar. about:config is a advanced settings section of firefox. If you're not sure what to do Don't change the default settings. This may make your browser unstable.
In the about:config page search for keyword.url. If you see the value of the term other than google.com click on the value to toggle vaules. when you have got google.com leave it there and test searching in your address bar and Google should be your default search enging now!
So for Changing the settings type about:conifg in the address bar. about:config is a advanced settings section of firefox. If you're not sure what to do Don't change the default settings. This may make your browser unstable.
In the about:config page search for keyword.url. If you see the value of the term other than google.com click on the value to toggle vaules. when you have got google.com leave it there and test searching in your address bar and Google should be your default search enging now!
Some Facts:
You can see the mozilla book verse typing about:mozilla
For Chrome browser There is no about:config pag. But there are some about pages which you can see by typing about:about.
about:about is not supported in mozilla firefox 3.6
Labels:
Firefox
Subscribe to:
Posts (Atom)
About Me
- sabbir
- Web Developer From Dhaka, Bangladesh.