EMB01
asked on
Create autocomplete "www." and ".com" for Firefox
My Flashpeak Slimbrowser has a feature I just love: It autocompletes "http://www." and ".com" so I can just type "amazon" and hit enter and it will go to http://www.amazon.com. I know it sounds lazy but it's awesome and since I use firefox all day at work (my boss doesn't let me use Slimbrowser because he doesn't trust IE!) I would love to create a plugin (or change some firefox settings) to enable this functionality. Slimbrowser also checks whether or not the URL has spaces (whitespace) and if it does it will run a google search. So, you can search from the address bar and quickly access any website just bytyping its name without all the "www." and ".com" stuff.
Does anyone know how to create a plugin like this for firefox or change firefox settings to enable this functionality?
Does anyone know how to create a plugin like this for firefox or change firefox settings to enable this functionality?
You can press ctrl + enter after putting in amazon and it will autocomplete for you in almost every browser i've ever used.
Here is an add-on that lets you control the actions of Enter, CTRL+Enter, Shift+Enter, Alt+Enter and others in Firefox. This may be what you want.
https://addons.mozilla.org/en-US/firefox/addon/url-suffix/
https://addons.mozilla.org/en-US/firefox/addon/url-suffix/
ASKER
Thanks for those links but how can I change what happens when a user simply hits "enter" in the address bar? I know in college I created a simple web browser that would navigate to the URL entered inside of a textbox. The textbox variable could be manipulated then, to say, prepend "www." and append ".com." There must be a way to do this with a firefox plugin, right? Keep in mind, I'm not necessarily looking for a plugin as I can probably create one myself; I'd would just like some insight/ direction.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
It doesn't work exactly right, in that, when you enter a data that would not validate as a url i.e. a URL with a space like "word1 word2" it should do a google search instead and not add the "www" and ".com."
It does work pretty well, though. I'll accept your answer if no one submits a better solution.
It does work pretty well, though. I'll accept your answer if no one submits a better solution.
ASKER
Alright, no one replied so your answer is as good as it will get. It's works pretty well. I guess I would have to program a firefox extension myself to get the exact functionality I am looking for, though. Thanks for your help.