19

I've noticed the feeling lucky url (with btnI query parameter) is now resulting in a redirect notice page. What's the deal?

enter image description here

5
  • 1
    @Drazen Bjelovuk When I go to google.com, enter Tony Packo's and click on I'm Feeling Lucky, I get to where I should: tonypacko.com Please clar your cache and cookies and retry.
    – K7AAY
    Commented Oct 25, 2019 at 23:56
  • 2
    This is about constructing the redirect url outside of that context (e.g. a custom search engine string). Commented Oct 26, 2019 at 0:18
  • 1
    No solution but there's a thread about this support.google.com/websearch/thread/15794018?hl=en Commented Dec 3, 2019 at 11:27
  • 2
    @SanghyunLee gave forum link about issue & someone mentioned maybe google broke this on purpose as it subverts their ad's which is their money so I'm guessing they won't fix it. Duckduckgo has similar functionality I guess: https://duckduckgo.com/?q=!ducky+ham per this blog post: travishorn.com/…
    – gregg
    Commented Jan 2, 2020 at 16:09
  • 1
    I think probably people were using google.com redirects to add some credibility to malicious links. — Anyway, this userscript solves it for me: greasyfork.org/en/scripts/…. Duckduckgo is an other alternative.
    – Blaise
    Commented Feb 26, 2021 at 16:49

5 Answers 5

17

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

2
  • 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.
    – bsplosion
    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.
    – Ryan
    Commented Aug 13 at 13:29
13

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.

4
2

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.

0

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.

enter image description here

0

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:

setting screenshot 1

setting screenshot 2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .