Thursday, 22. June 2006, 17:30:02
Enabling google's I'm feeling lucky search after failed url attempt.
In opera 9 , its possible if you look in opera:configopera:config#Network|EnableHostNameWebLookup
First tick that option, then if you don't want opera to search for domains .. untick "Enable Hostname expansion".
opera:config#Network|HostNameWebLookupAddress
Then enter an address in this field, remembering that %s is the search variable (I used googles I'm feeling lucky option).
http://www.google.com/search?hl=en&q=%s&btnI=I'm+Feeling+Lucky
And voila! A proper search after a failed url attempt!
Tuesday, 26. September 2006, 22:26:27
Tuesday, 17. October 2006, 10:52:47
Error!
The address is not available from this machine.
You tried to access the address http://aayush+arya/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
Make sure your Internet connection is active and check whether other applications that rely on the same connection are working.
Check that the setup of any Internet security software is correct and does not interfere with ordinary Web browsing.
If you are behind a firewall on a Local Area Network and think this may be causing problems, talk to your systems administrator.
Try pressing Alt+F12 on your keyboard and disabling proxy servers, unless you know that you are required to use a proxy to connect to the Internet. Reload the page.
Need help?
Open the Opera Help.
Go to Opera's on-line support desk.
What am I doing wrong?
Tuesday, 17. October 2006, 14:21:45
This is my settings section which work for me. Double check these settings with your opera:config to see if you got them alright.
Sunday, 11. February 2007, 21:04:01 (edited)
Open english.lng, find 1150263995. Add this code:
1150263995="contains characters that are not valid in the location they are found."<script type="text/javascript">window.addEventListener('load',function() {var st = document.getElementsByTagName('cite')[0].innerHTML.substr(7); if(window.location.host!='www.google.com'){window.location = 'http://www.google.com/search?client=opera&rls=en&sourceid=opera&ie=utf-8&oe=utf-8&q=' + encodeURIComponent(st.replace(/ /,'+'))};},false)</script>
Sunday, 11. February 2007, 21:04:40 (edited)
1150263995="contains characters that are not valid in the location they are found."<script type="text/javascript">window.addEventListener("load",function() {var st = document.getElementsByTagName("cite")[0].innerHTML.substr(7); if(window.location.host!="www.google.com"){window.location = "http://www.google.com/search?hl=en&q=" + encodeURIComponent(st.replace(/ /,"+")) + "&btnI=I'm+Feeling+Lucky"};},false)</script>
Tuesday, 20. February 2007, 20:09:04
<script type="text/javascript">window.addEventListener("load",function() {var st = document.getElementsByTagName("cite")[0].innerHTML.substr(7); if(window.location.host!="www.google.com"){window.location = "http://www.google.com/search?hl=en&q=" + encodeURIComponent(st.replace(/ /,"+")) + "&btnI=I'm+Feeling+Lucky"};},false)</script>
Sample for English.
Monday, 26. March 2007, 20:30:52
This work.
Originally posted by Lex1:
In your .lng file. Search string 1150263995 . Add to the end this string
<script type="text/javascript">window.addEventListener("load",function() {var st = document.getElementsByTagName("cite")[0].innerHTML.substr(7); if(window.location.host!="www.google.com"){window.location = "http://www.google.com/search?hl=en&q=" + encodeURIComponent(st.replace(/ /,"+")) + "&btnI=I'm+Feeling+Lucky"};},false)</script>
Sample for English.
Tuesday, 27. March 2007, 08:56:31
1150263995="contains characters that are not valid in the location they are found."<script type="text/javascript">window.addEventListener('load',function() {var st = document.getElementsByTagName('cite')[0].innerHTML.substr(7); if(window.location.host!='www.google.jp'){window.location = 'http://www.google.jp/search?client=opera&rls=en&sourceid=opera&ie=utf-8&oe=utf-8&q=' + encodeURIComponent(st.replace(/ /,'+'))};},false)</script>Tuesday, 10. April 2007, 10:27:46
Originally posted by epilos:
an you tell me a version of http://www.google.jp/search?q=s% and without feeling lucky?
Just go to your search preferences and copy and paste one of those.
Thursday, 26. April 2007, 07:47:15 (edited)
btw, i am using :
http://www.google.com/search?sourceid=navclient&gfns=1&q=%s
How can i put opera between it so google knows an opera user used their search engine.
EDIT-
found it:
http://www.google.com/search?sourceid=opera&gfns=1&q=%s
Friday, 27. April 2007, 04:49:30
Originally posted by AyushJ:
found it:http://www.google.com/search?sourceid=opera&gfns=1&q=%s
try these-
http://www.google.com/search?sourceid=navclient&gfns=1&q=Opera%20Forums
http://www.google.com/search?sourceid=opera&gfns=1&q=Opera%20Forums
Friday, 27. April 2007, 14:08:25
Originally posted by AyushJ:
Originally posted by AyushJ:
found it:http://www.google.com/search?sourceid=opera&gfns=1&q=%s
changing navclient to opera breaks the gfns=1 feature.
try these-
http://www.google.com/search?sourceid=navclient&gfns=1&q=Opera%20Forums
http://www.google.com/search?sourceid=opera&gfns=1&q=Opera%20Forums
I assume because sourceid=navclient is google itself, meaning there is no reason to show the google page but do google lucky instead. Whereas if say opera or firefox is the sourceid parameter, google might need a way to show its text ads somewhere so it disables google lucky. Try changing it to firefox and you'll see its the same thing.
Saturday, 12. May 2007, 14:53:10
Originally posted by bluephish:
is there a way to make it work without having to put a "+" between each word?
Thanks for the info, everyone, but I second bluephish's request: Can this be made to work with spaces instead of plusses?
Wednesday, 30. May 2007, 19:08:27
The first method did nothing, but I want to try the one suggested by Lex1. This lack of automatically using I'm Feeling Lucky is compeltely bugging me.
Monday, 4. June 2007, 18:41:41
http://www.google.com/search?hl=en&q=%s&btnI=I'm+Feeling+Lucky
And then set it as your default search engine. The newest version of opera automatically performs searches when more than one word is typed into the address bar. On the downside, it won't work with just one word, but if you combine this with the method above, it will work both ways!
Monday, 4. June 2007, 20:37:05
For example, typing opera.com will take you to the opera web site, but typing opera web browser will perform a search.
Opera uses your default search. So if you set I'm Feeling Lucky as your default search engine like this:
Tools > Preferences... > Search > Add...
Then make the dialog look like this:
http://i12.tinypic.com/6gmewjq.png
The last part is: http://www.google.com/search?hl=en&q=%s&btnI=I'm+Feeling+Lucky
Wednesday, 30. January 2008, 20:32:43
This is a great thread. I use this approach when running Opera in Windows, and it works great. But now I have installed Linux, and I can't get it to work.
But to no avail. The address field refuses to search. At least on single words.
Can anyone help? What might I be doing wrong?
Thanks in advance.
- Spectrum
Forums » Opera Community » General Opera topics » Customizing Opera
