I've noticed the feeling lucky url (with btnI
query parameter) is now resulting in a redirect notice page. What's the deal?
5 Answers
Using this search string works for me:
https://www.google.com/search?q=%s&btnI=&sourceid=navclient&gfns=1
Where %s is the placeholder for the actual search term. Not sure what the meaning of sourceid and gfns is though.
Taken from here: https://www.reddit.com/r/firefox/comments/2y3vvt/im_feeling_lucky_or_auto_redirecting_in_url/cpkbbaw?utm_source=share&utm_medium=web2x&context=3
-
Any idea where these query parameters might be documented? I don't see them anywhere online and it feels a little too close to magic to be a long-term fix. The Reddit post just pasted an example without context. Commented Jan 19, 2023 at 20:15
-
I upvoted this in the past, so it must have worked back then. 3 years later, it no longer works. Example: google.com/… shows a redirect confirmation page.– RyanCommented Aug 13 at 13:29
Looks like they've introduced a csrf-like mechanism in the form of a query parameter (iflsig
). I've tried copying the one generated from a traditional "Feeling Lucky" request into my search url:
http://www.google.com/search?q=site%3Aen.wikipedia.org+{keyword}&btnI&iflsig=AAP1E1EAAAAAXbODt-rzChgYf5wDoUWplGXrcvsZ0qOk
Which does work temporarily, but this token is ephemeral and invalidates after a few minutes, so it's not a real solution.
Not sure if anyone from Google has commented on this, but I'll circle back if I hear of any developments.
Update: My workaround is to just use DuckDuckGo instead.
E.g. for first result from Wikipedia:
https://duckduckgo.com/?q=%5Csite%3Aen.wikipedia.org+<search_term>
%5C
(url-encoded backslash) is the redirect identifier here.
-
1on DuckDuckGo, you can use the bang
!ducky
to forward to the first result Commented Sep 17, 2020 at 11:44 -
I tried using the duckduckgo url, but found it only worked if I unescaped the
%5C
to\
and3A
to:
when using it in the search address bar Commented Feb 13, 2021 at 20:59 -
1
-
Very cool. duckduckgo.com/… worked, and now I even see this option: duckduckgo.com/bangs?q=kbb So this works: duckduckgo.com/?q=%5C2018%20Hyundai%20Elantra%20Sport!kbb– RyanCommented Aug 13 at 13:32
Use this Userscript: https://greasyfork.org/en/scripts/390770-workaround-for-google-i-m-feeling-lucky-redirect/code
Workaround for Google I'm Feeling Lucky Redirect
Immediately redirects when google prompts 'redirection notice'. Used to circumvent google pestering you when querying with I'm Feeling Lucky feature.
As a simple solution, press Tab then Enter when you see the redirect notice.
- Tab will select the link Google's feeling lucky would normally redirect to
- Enter will navigate you to the link you just selected using Tab.
Install the extension Skip Redirect. It's available for Chrome and Firefox.
It will skip the redirect page entirely so this is faster than using userscripts like Google I'm Feeling Lucky Redirect and Workaround for Google I'm Feeling Lucky Redirect.
Note that Skip Redirect is very aggressive in skipping URLs and might cause problem in other websites, so you might want to limit redirection to https://www.google.com/url?q=*
only in the settings:
https://duckduckgo.com/?q=!ducky+ham
per this blog post: travishorn.com/…