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 922667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:04:14+00:00 2026-05-15T19:04:14+00:00

How can I create a shortcut for Greasemonkey for the firefox bookmarks, or, a

  • 0

How can I create a shortcut for Greasemonkey for the firefox bookmarks, or, a shortcut that opens a website?

Sorry,

I want a greasemonkey script that contain some script that bind some key for firefox bookmark

for example, press key 1 = open bookmark 1, and so on

  • 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-05-15T19:04:15+00:00Added an answer on May 15, 2026 at 7:04 pm

    I want a greasemonkey script that contain some script that bind some key for firefox bookmark

    Here is an example:

    // ==UserScript==
    // @name           Google Shortcut
    // @namespace      googleShortcut
    // ==/UserScript==
    
    (function(){
    document.addEventListener('keydown', function(e) {
      // pressed alt+g
      if (e.keyCode == 71 && !e.shiftKey && !e.ctrlKey && e.altKey && !e.metaKey) {
       window.location = "http://google.com"; // go to google.
      }
    }, false);
    })();
    

    This user script can be found at userscripts.org here.

    This adds a “alt+g” hotkey to all pages which when pressed will take the user to google.com.

    This is a very good document explaining how to hook on to different hotkeys, providing all of the keycodes, and information about cross platforms quirks, etc.

    You’ll have to read this documentation on Greasemonkey to learn how to customize the header information.

    Then just save the file with a .user.js extension, and drag and drop it to a Firefox window to install it. When your done upload it to userscripts.org in case someone else would like the script.

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

Sidebar

Related Questions

Is there a way to create a homescreen shortcut that can not be removed
How can I create an application that performs an action with keyboard shortcut (App
How can I create a Cygwin shortcut that will open Cygwin at a specific
Possible Duplicate: Create shortcut to console.log() In javascript we can easy assign functions to
I can create a contact that is not mail enabled, but how do I
One can create an anonymous object that is initialized through constructor parameters, such as
How can I create this keyboard shortcut in Netbeans?
Can I in Visual Studio create keyboard shortcut to regionate method and auto-document it
Is there any shortcut for cleaning a project? Or can we create a shortcut
Can I programmatically create a keyboard Shortcut to my add-in's in Revit?

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.