Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 09:05:29 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: One click to add to search url date defining parameters  (Read 3328 times)

1NR1

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 34
    • View Profile
    • Read more about this member.
    • Donate to Member
IDEA: One click to add to search url date defining parameters
« on: September 08, 2009, 10:31:16 PM »
The google search url below has a number of entries that describe how to add a string to the end of the search query in the ADDRESS BAR that will filter results within time periods (by dates). It looks like this   &as_qdr=d 

http://www.google.co...;tbs=qdr:y&tbo=1

The "idea" is to have a way of adding this with one tap.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: IDEA: One click to add to search url date defining parameters
« Reply #1 on: September 08, 2009, 10:57:44 PM »
a bookmarklet can be used to do that.

javascript:if(top.location.href.indexOf(%22google%22)!=-1){location.href=top.location.href+%22&as_qdr=y15%22};

• Source: http://www.labnol.or...e-of-web-pages/8410/

1NR1

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 34
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: One click to add to search url date defining parameters
« Reply #2 on: September 09, 2009, 01:07:20 AM »
Spot On lanux128.  Thank you.  A simple matter of copying the script and dragging it to a bookmark "bar".  Of course it's only simple if you have someone who knows help.  Thanks again.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: IDEA: One click to add to search url date defining parameters
« Reply #3 on: September 09, 2009, 10:50:54 PM »
you're welcome.. glad to be of help. :)