DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

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

1NR1

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 34
IDEA: One click to add to search url date defining parameters
« on: September 09, 2009, 03:31 AM »
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.com/search?q=%26amp;as_qdr%3Dd&hl=en&rlz=1C1GGLS_enUS339US339&num=50&newwindow=1&output=search&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,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: One click to add to search url date defining parameters
« Reply #1 on: September 09, 2009, 03:57 AM »
a bookmarklet can be used to do that.

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

• Source: http://www.labnol.org/internet/search/find-publishing-date-of-web-pages/8410/

1NR1

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 34
Re: IDEA: One click to add to search url date defining parameters
« Reply #2 on: September 09, 2009, 06:07 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,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: IDEA: One click to add to search url date defining parameters
« Reply #3 on: September 10, 2009, 03:50 AM »
you're welcome.. glad to be of help. :)

Original address: https://www.donationcoder.com/forum/index.php?topic=19856.0