15

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
    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). Oct 26, 2019 at 0:18
  • 1
    No solution but there's a thread about this support.google.com/websearch/thread/15794018?hl=en 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
    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
    Feb 26, 2021 at 16:49

5 Answers 5

10

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.

2
  • on DuckDuckGo, you can use the bang !ducky to forward to the first result
    – Adeerlike
    Sep 17, 2020 at 11:44
  • I tried using the duckduckgo url, but found it only worked if I unescaped the %5C to \ and 3A to : when using it in the search address bar
    – dx_over_dt
    Feb 13, 2021 at 20:59
7

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

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.