Viser spørgsmål med mærkatet: Vis alle spørgsmål

I want to write an addon firewall but it fails

!/bin/bash Verzeichnis erstellen mkdir FoxyAddOnFirewall cd FoxyAddOnFirewall || exit package.json erstellen cat <<EOF > package.json { "title": "… (læs mere)

  1. !/bin/bash
  1. Verzeichnis erstellen

mkdir FoxyAddOnFirewall cd FoxyAddOnFirewall || exit

  1. package.json erstellen

cat <<EOF > package.json {

 "title": "Foxy AddOn Firewall",
 "name": "foxy-addon-firewall",
 "description": "A Firefox addon to control internet access for other addons",
 "author": "Your Name",
 "version": "1.0.0",
 "license": "MIT"

} EOF

  1. background.js erstellen

cat <<EOF > background.js var permissionManager = Components.classes["@mozilla.org/permissionmanager;1"]

                       .getService(Components.interfaces.nsIPermissionManager);

// Addon-Liste abrufen function getAllAddons() {

   var {AddonManager} = Components.utils.import("resource://gre/modules/AddonManager.jsm", {});
   return new Promise(function(resolve, reject) {
       AddonManager.getAllAddons(function(addons) {
           resolve(addons);
       });
   });

}

// GUI aktualisieren function updateUI() {

   getAllAddons().then(function(addons) {
       var addonList = document.getElementById("addon-list");
       addonList.innerHTML = ""; // Zurücksetzen der Liste
       addons.forEach(function(addon) {
           var listItem = document.createElement("li");
           listItem.textContent = addon.name;
           
           var blockButton = document.createElement("button");
           blockButton.textContent = "Block";
           blockButton.addEventListener("click", function() {
               blockInternetAccessForAddon(addon);
           });
           listItem.appendChild(blockButton);
           addonList.appendChild(listItem);
       });
   });

}

// Internetzugriff für ein bestimmtes Addon blockieren function blockInternetAccessForAddon(addon) {

   var host = addon.getResourceURI("").host;
   permissionManager.remove(host, "allAccess");
   console.log("Internetzugriff für " + addon.name + " wurde blockiert.");

}

document.addEventListener("DOMContentLoaded", function() {

   updateUI(); // GUI beim Laden der Seite aktualisieren

}); EOF

  1. index.html erstellen

cat <<EOF > index.html <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Foxy AddOn Firewall</title> <link rel="stylesheet" href="style.css">

Foxy AddOn Firewall

Welcome to Foxy AddOn Firewall!

Installed Addons:

<script src="background.js"></script> EOF

  1. style.css erstellen

cat <<EOF > style.css body {

 font-family: Arial, sans-serif;
 background-color: #f0f0f0;
 text-align: center;

}

h1 {

 color: #007bff;

}

h2 {

 margin-top: 20px;

}

ul {

 list-style-type: none;
 padding: 0;

}

li {

 margin-bottom: 10px;

}

button {

 background-color: #007bff;
 color: white;
 border: none;
 padding: 5px 10px;
 border-radius: 5px;
 cursor: pointer;

}

button:hover {

 background-color: #0056b3;

} EOF

  1. manifest.json erstellen

cat <<EOF > manifest.json {

 "manifest_version": 2,
 "name": "Foxy AddOn Firewall",
 "version": "1.0",
 "description": "A Firefox addon to control internet access for other addons",
 "icons": {
   "48": "icon.png"
 },
 "permissions": [
   "management"
 ],
 "browser_action": {
   "default_popup": "index.html",
   "default_icon": "icon.png"
 }

} EOF

  1. Icon herunterladen

wget -O icon.png "https://img.icons8.com/ios-filled/50/000000/firewall.png"

  1. Installationsanweisungen anzeigen

echo "FoxyAddOnFirewall wurde erfolgreich initialisiert!" echo "Um das Addon in Firefox zu installieren:" echo "1. Öffnen Sie Firefox und geben Sie 'about:debugging' in die Adressleiste ein." echo "2. Klicken Sie auf 'Dieses Firefox installieren' unter 'Temporäre Add-ons laden'." echo "3. Navigieren Sie zum Verzeichnis 'FoxyAddOnFirewall' und wählen Sie die 'manifest.json' Datei aus." echo "4. Das Addon wird nun installiert und kann verwendet werden."

Stillet af j.sobiech for 34 minutter siden

Seneste svar af jscher2000 - Support Volunteer for 38 sekunder siden

Firefox closing at random with no crash report

Yesterday Firefox started closing at random, sometimes instantly as soon as I open it. The crash dialog doesn't open, and if I go to about:crashes my most recent unreport… (læs mere)

Yesterday Firefox started closing at random, sometimes instantly as soon as I open it. The crash dialog doesn't open, and if I go to about:crashes my most recent unreported crash is from 2019. Tried refreshing, reinstalling, completely wiping all profiles and starting fresh. If I use troubleshooting mode it won't open properly at all. I am at a bit of a loss, any ideas?

Stillet af nathanbee354 for for 5 måneder siden

Seneste svar af the_logic_master for 29 minutter siden

'Bad' Current Session of Firefox (Windows)!

I currently have a 'bad/rouge' session of Windows 7 Firefox (don't really know how that happened) open (7 'Windows', each with one empty Tab plus 1 'Window', with only 1 … (læs mere)

I currently have a 'bad/rouge' session of Windows 7 Firefox (don't really know how that happened) open (7 'Windows', each with one empty Tab plus 1 'Window', with only 1 populated tab (Yahoo Mail)! I need to close Firefox in order to restart my laptop (strange things have been happening, including not being able to access the internet)!! On restarting, I want to be able to open Firefox with the previous session I had with my 8 'Windows', each with dozens and dozens of Tabs! Please help, I sorely need those many 'Windows' and Tabs!!!

Stillet af balls69bc for 38 minutter siden

message said Firefox could not update automatically, requested I install Firefox. I did. Next day, same thing, can't update, intall Firefox. And again today. I don't know what to do.

I have two desktop icons for Firefox. Each opens to a different file. How do I clear the old file? What do I do about the message that Firefox can not update automatical… (læs mere)

I have two desktop icons for Firefox. Each opens to a different file. How do I clear the old file? What do I do about the message that Firefox can not update automatically? Where do I look to see Firefox file and see what date it is downloaded? If it is operational? Why is the same series of problems repeating daily?

Stillet af beth.woodworth1 for 40 minutter siden

Group Policy Settings list with description

Hi, I would like to implement GPO settings for Firefox, and would like to review the list of the policies with description (explanation of what the policy is about and w… (læs mere)

Hi, I would like to implement GPO settings for Firefox, and would like to review the list of the policies with description (explanation of what the policy is about and what happens if its enabled or disabled) on a table or excel format. Is there a site or page that will give me that list?

Stillet af aurel_dimaculangan for 46 minutter siden

Why I can't take screenshot?

I am writing to report an issue I have encountered while using the Firefox browser. Specifically, I am unable to take screenshots on the website https://hescoebill.pk/hes… (læs mere)

I am writing to report an issue I have encountered while using the Firefox browser. Specifically, I am unable to take screenshots on the website https://hescoebill.pk/hesco-mis/. This issue persists despite numerous attempts, and it seems to be unique to this particular website. Is there any other way to take screenshot of site? I really want to take a screenshot for personal reason. Is it not allowed from the site owner side or what?

Stillet af Hamza Shareef for 58 minutter siden

PDF loading is very slow

I am using Firefox v125.0.2. When I open a PDF in Firefox it takes a lot of time to load. But, when the same PDF opened in the Edge browser it loads normally and scrollin… (læs mere)

I am using Firefox v125.0.2. When I open a PDF in Firefox it takes a lot of time to load. But, when the same PDF opened in the Edge browser it loads normally and scrolling through PDF pages renders fast. I have shared the screenshot of a single-page pdf loading taking quite a long time.

Could someone please help me with this.

Stillet af avisekn for 11 timer siden

Seneste svar af TyDraniu for 1 time siden

WebGL creation failed after reinstalling lbgl1* libegl*

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02… (læs mere)

I am using the apt version of firefox v125.0.2 (64-bit). I do not have a dedicated GPU - I use my intel core's internal gpu only Intel Corporation HD Graphics 620 (rev 02).

I used to play this game named narrow.one, which before I reinstalled the mentioned libraries, was working fine except for crashing a few times. I thought these libraries were causing some issue, so I tried reinstalling them.

I reinstalled the libraries using: `sudo apt install --reinstall --fix-missing libgl1* libegl*`

After installation, I start getting that error. So, I tried reinstalling firefox (using the same command), and then restarting the laptop - but of no use. Chrome seems to be running WebGL, including the game.

In firefox, on the https://get.webgl.org/ page, I see Hmm. While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card.

After that, I also tried reinstalling `libopengl0` and `libglu1-mesa` and `intel-microcode`, but of no use. Running although, `sudo intel_gpu_top` and then chrome, it seems that the GPU is in use by chrome as well.

I then go to about:support. It shows me the images I have attached. Reading the logs, there several `blocklisted` values in `Decision Log` section. I suspect that's the cause of this issue, but then I don't know how can I un-blocklist the blocklisted things, and even after that, why does Chrome runs webgl if these are blocklisted?

Running `glxinfo -B`, I get the following: `name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer):

   Vendor: Intel (0x8086)
   Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
   Version: 23.2.1
   Accelerated: yes
   Video memory: 7697MB
   Unified memory: yes
   Preferred profile: core (0x1)
   Max core profile version: 4.6
   Max compat profile version: 4.6
   Max GLES1 profile version: 1.1
   Max GLES[23] profile version: 3.2

OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20`

I do not know much about OpenGL, but reading the above stuff, I suppose my GPU is in use and also has a compatible driver (although I am not sure).

Also, running `glxdemo`, `glxheads`, and `glxgears` seems to be rendering stuff.

Should I reinstall firefox after purging it first? Please help.

Thanks!

Stillet af Lakshay Rohila for 6 timer siden

Seneste svar af Lakshay Rohila for 1 time siden

Firefox freezes after VPN status change

Whenever I change my VPN (not Mozilla VPN) status, Firefox will refuse to connect for something like 30 seconds then times out, leaving me with a blank screen. I have wai… (læs mere)

Whenever I change my VPN (not Mozilla VPN) status, Firefox will refuse to connect for something like 30 seconds then times out, leaving me with a blank screen. I have wait until that interval has passed before I can retry, otherwise it will repeat the freeze. This happens whenever I turn my VPN on/off or switch to a different VPN server. It happens only with Firefox. Chrome and my email client have no problems whatsoever. I think it's some kind of DNS caching problem within Firefox as the problem doesn't happen if I visit a site that I hadn't visited very recently. There's immediate response if I do that. I have DNS over HTTPS and secure DNS turned off in the settings, so it can't be those.

Anyone else have this problem? I wish there was some way to clear Firefox's DNS cache other than having to go into about:networking

Stillet af Parallax for for 4 måneder siden

Seneste svar af namnoops for 1 time siden

How to return to previously viewed tab when I close a tab, without extensions.

Others asked and were pointed to extensions. As long as extensions get access to my pages, I'm not willing to use any. So, is there an option in advanced settings, to ret… (læs mere)

Others asked and were pointed to extensions. As long as extensions get access to my pages, I'm not willing to use any. So, is there an option in advanced settings, to return to previously viewed tab when I close a tab? Thanks, Cat

Stillet af CatFox for 1 time siden

Can't get by a dead end

I have an issue where I go to website and I get a message that the website is temporarily available. I cannot go to a different webpage for what URL I want. I believe thi… (læs mere)

I have an issue where I go to website and I get a message that the website is temporarily available. I cannot go to a different webpage for what URL I want. I believe this has to do with history. I suspect I can get past this by flushing the history. I can get to the website I want by using a different browser such as chrome. Ho do I fix this?

IBM clone using windows 10, firefox 125

Stillet af boblatsch for 1 time siden

Firefox Works - but No Other Browser Does!!!

Hi. Strange request I know because Firefox is working perfectly but Google has failed me. We have a printer/copier in our small club. The IP address assigned is 192.168.… (læs mere)

Hi. Strange request I know because Firefox is working perfectly but Google has failed me.

We have a printer/copier in our small club. The IP address assigned is 192.168.1.125. Typing this into a browser should bring up the copier admin dashboard.

When I do this using Firefox everything works fine, BUT when I use any other browser such as Chrome, Edge or Opera I get the "Cannot connect" "Error connecting" etc message.

I removed Bitdefender antivirus and disabled Windows Defender but it's still the same.

Any network people who can point me in the right place as to where to look or report to the correct forum.

Apologies for posting in here when it's not a FF problem.

Thanks in advance TQO

Stillet af The Quiet One for 1 time siden

Seneste svar af The Quiet One for 1 time siden

Username data field

While this is a Privacy and Security setting issue - at least tangentially - my question isn't about security so much as how this data is being stored/retrieved. I navig… (læs mere)

While this is a Privacy and Security setting issue - at least tangentially - my question isn't about security so much as how this data is being stored/retrieved.

I navigated to an entirely new site the other day and it requested a username and password. When the cursor was in the Username field, a set of proposed entries showed up. These were all (recognizable) first names - not emails. When I checked the Privacy and Security settings, I couldn't find any of the names in stored data. While this may be just cached entries for similar fields ("username" or "name" etc...), the list I saw was heavily curated. One of the names I don't ever recall even entering in any name field (and wouldn't have been used for any login) - but even if I had, the list that I saw was far from exhaustive and would only have been a very specific subset of any data I would have entered into any "name" or "username" field.

Is there somewhere I can find how that list was generated?

Thank you,

Stillet af nikolai42 for 3 timer siden

Seneste svar af jscher2000 - Support Volunteer for 1 time siden

Major complaint by many! Can the Firefox code writers fix this?

With the latest version of Firefox the menu, etc. have a font size that is TOO SMALL. There are many Mozilla posts about this problem. https://support.mozilla.org/bm/qu… (læs mere)

With the latest version of Firefox the menu, etc. have a font size that is TOO SMALL. There are many Mozilla posts about this problem.

https://support.mozilla.org/bm/questions/1260063 https://support.mozilla.org/mk/questions/1395315 https://support.mozilla.org/en-US/questions/1274586 https://support.mozilla.org/bm/questions/1268779

My wife cannot read them. I can barely read them. If this is not fixed soon, we will switch to another browser.

Can the Firefox code writers fix this?

Stillet af bhs67 for 2 timer siden

Seneste svar af bhs67 for 2 timer siden

Hotmail through Firefox breaks my network card

I had a few issues with Hotmail and Firefox in the past as described in other posts. Now it has stepped up a gear. I can use the internet for anything, but the moment I o… (læs mere)

I had a few issues with Hotmail and Firefox in the past as described in other posts. Now it has stepped up a gear. I can use the internet for anything, but the moment I open my Hotmail account in Firefox my Lan card stops working. At first I had no idea it was Hotmail, I tried everything from switching cables to using wifi only. When it happened on wifi I realised every time I went into Hotmail on Firefox my network card stopped functioning and I had to restart the computer. The thing is, when I use Hotmail through Microsoft Edge nothing happens and all is well with the world!!! No network card shutdown. I could read between the lines but I'm no conspiracy theorist, however, I don't think the problem is with Firefox. Is there any solution? I don't use Edge and I don't want to start.

Stillet af markadonald for 3 timer siden

Seneste svar af zeroknight for 2 timer siden

whenever i close the window i get signed out of my youtube account

Whenever i sign into youtube and then close the window when i come back ive been signed out and have to sign in again. i have "delete cookies and site data when firefox i… (læs mere)

Whenever i sign into youtube and then close the window when i come back ive been signed out and have to sign in again. i have "delete cookies and site data when firefox is closed" off and dont know what else to do

Stillet af Starry Hankins for 2 timer siden

Seneste svar af zeroknight for 2 timer siden

  • Løst

Exceptions reset after Firefox update

Firefox removes the exceptions after every update and they have to be manually re-added. This is a very frustrating user experience. Can you please help me identify if th… (læs mere)

Firefox removes the exceptions after every update and they have to be manually re-added. This is a very frustrating user experience. Can you please help me identify if this is an issue with Firefox that can be updated or is it an issue with some setting I have setup.

Exceptions that get reset - Cookies and Site Data, Pop-ups, Add-ons, etc.

Permissions that get reset - All of them Location, Camera, Microphone, etc.

  • Side note, the Troubleshooting Information section below has a link to share data, that link does not open in a new window. It opened in this same window, erasing all the content I had typed up the first time.

Stillet af AR for 1 dag siden

Besvaret af cor-el for 23 timer siden

Youtube shows old Channel Name

Hello everyone, a long time ago i changed my youtube name to something else and to this day it never updated on firefox. Yesterday i finally asked youtube support about i… (læs mere)

Hello everyone, a long time ago i changed my youtube name to something else and to this day it never updated on firefox. Yesterday i finally asked youtube support about it and they told me to check with mobile or other browsers and there it works fine, so only firefox is borking out on that one. Do you have an idea how i can solve that?

sincerly, Cammy

Stillet af CammyVanny for 3 timer siden

Seneste svar af zeroknight for 2 timer siden