Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8534221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:08:39+00:00 2026-06-11T10:08:39+00:00

I have zero javascript experience but have a task which I believe can be

  • 0

I have zero javascript experience but have a task which I believe can be massively sped up through the use of a bookmarklet for Firefox/Chrome. I’ve been searching for a few hours but without luck for any basic tutorials that would give me the help I need.

In short, I’m looking to create a bookmarklet that will search the site I’m on (i.e. stackoverflow.com) for specific, hard coded text. I repeat these searches often hundreds of times per day and am trying to find a way to speed up the process.

I usually search for a single keyword but sometimes in combination, i.e.:
nonprofit OR foundation OR grantmaker (and sometimes include the filetype:pdf modifier).

If anyone can point me in the right direction oor show me a basic snippet of code for this type of search I would greatly appreciate it!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:08:40+00:00Added an answer on June 11, 2026 at 10:08 am

    It could look something like this:

    javascript:var s = 'test'; window.open('http://www.google.com/search?q=' + encodeURI(s + ' site:' + location.hostname), 'bookmarklet')
    

    Where the s variable is your predefined search query. The query could be formed in any manner that Google tolerates, including the filetype: keyword. Clicking the bookmarklet would open a new window/tab with a search for the given query, within the site you’re browsing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have zero experience in Javascript and JQuery but I have used both in
I know zero javascript, and have one simple task: Find all text in the
I have zero experience writing applications with Swing, but I have one application with
I've got zero experience with Python. I have looked around some tutorial materials, but
There is a JavaScript function, of which I have zero control of the code,
I have zero experience with COM. I actually never thought, I'll need to do
Consider I have a table with notes which could be associated with zero or
I have a piece of JavaScript code which is expected to set an integer
I'm writing an app with Titanium Developer which lets me use Javascript, PHP, Ruby
I'm working on an online orderform using javascript. I almost have it working, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.