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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:58:04+00:00 2026-05-22T14:58:04+00:00

I have a new problem related to my GM user script. The purpose of

  • 0

I have a new problem related to my GM user script.

The purpose of this script is to retrieve data from external domain. My first attempts on Firefox lead me to design a page, with my form to be filled and an iframe embedding the external page. By using setInterval and identify wether it’s the top window or if we are in the iframe, I successfully used GM_setValue and GM_getValue to get the data.

But with IE (IE7PRO), I found out I was able to separate my script into 2 scripts : one only dealing with the form, and the other dealing with the external domain. IE7PRO provides equivalent functions (PRO_getValue and PRO_setValue) that can be retrieved on any tab/page of the product. The only difference is that it works cross-tab/page, so I don’t have to include the iframe on my own page, and I can open its own tab for the external domain which is about a million times better (at least…)!

I tried the same on Firefox and it obviously didn’t work. I’ve been through the documentation of those functions, and it appears that in Firefox, data are stored in Preferences (about:config to access).

So, is there a way I can modify GM_getValue, add it parameters, because values are stored with this model : greasemonkey.scriptvals.namespace/script_name.value_name

Is there a way to access the value of a preference in Firefox, in a Greasemonkey user script/in Javascript and what is the syntax?

Thanks 😉

  • 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-22T14:58:05+00:00Added an answer on May 22, 2026 at 2:58 pm

    If I’m understanding your question right, you’d pretty much do the same thing you’re already doing in IE: have a userscript running in each tab.

    GM_[gs]etValue do work cross-tab and cross-page. Values are stored per userscript.

    So all you need to do is have the same userscript run in both tabs, and simply have it do different things based on a check to window.location.href.

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

Sidebar

Related Questions

Following on from my previous question [link text][1] , I have a new problem.
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I am new to ADO.net and have this problem: Let's assume I have these
I have a problem with my sfDoctrineGuardPlugin... this question is related to... Two tables
I have the problem I just installed the new Monodevelop 2.2.2 on Windows but
I have a problem at some customer pc's (new Dell PCs) windows XP Professional
I have a problem with IE8 and the opening of a new window with
I'm new to python and have hit a problem with an SQL query I'm
I'm new in using boost and have a problem. I need shared_mutex function in
i am new in JSP,i have some problem with the following code : <%@

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.