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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:54:51+00:00 2026-06-02T15:54:51+00:00

I have created a Firefox extension and a C++ program: The extension show some

  • 0

I have created a Firefox extension and a C++ program:

The extension show some information on a sidebar on Firefox.

The C++ program edit some preferences of the extension in the prefs.js (preferences file of Firefox) when Firefox is in execution:

user_pref("Sidebarinfo.initialize", "true");
user_pref("Sidebarinfo.initdone", "false");
user_pref("Sidebarinfo.usageflag", "eng");
user_pref("Sidebarinfo.userid", "162");
user_pref("Sidebarinfo.originaltime", "1309061712");

So, how can I edit my extension’s preferences when Firefox is in execution?

If I edit prefs.js when Firefox is in execution (and only in this case), then Firefox resets prefs.js.

  • 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-02T15:54:52+00:00Added an answer on June 2, 2026 at 3:54 pm

    You can’t do the communication part that way. It’s a settings file, no “communication file”. You’ll have to read some other file (not sure how far this is possible) with the extension or retrieve some url from a mini http server embedded into the C++ program.

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

Sidebar

Related Questions

I have created the following mapping in my vimrc file: noremap <C-p> ! firefox
i have created an extension for mozilla firefox button,which will transliterate a particular webpage.
I have created a Java program which takes some command line arguments to run.
I have created the following demo: http://thedrivepartnership.com/overflow.html The scrolls expand fine in FireFox /
I am getting a strange error using jQuery 1.3.2 and Firefox. I have created
I have created a file with XmlDocument xmldoc = new XmlDocument(); Can I make
I have a question about how to structure communication between a (new) Firefox extension
I have a firefox extension Options pref panel, where I should dynamically create menu
I am new to firefox extension building and would like some help on an
I have written a Firefox extension and am currently in the process of updating

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.