Prikaz označenih pitanja: Prikaži sva pitanja

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": "Foxy A… (pročitajte više)

#!/bin/bash

# Verzeichnis erstellen
mkdir FoxyAddOnFirewall
cd FoxyAddOnFirewall || exit

# 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

# 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

# index.html erstellen
cat <<EOF > index.html
<!DOCTYPE html>
<html lang="en">
<head>
  <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">
</head>
<body>
  <h1>Foxy AddOn Firewall</h1>
  <p>Welcome to Foxy AddOn Firewall!</p>

  <h2>Installed Addons:</h2>
  <ul id="addon-list">
    <!-- Addon-Liste wird hier eingefügt -->
  </ul>

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

# 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

# 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

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

# 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."

Asked by j.sobiech prije 11 sati

Last reply by jscher2000 - Support Volunteer prije 10 sati

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… (pročitajte više)

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?

Asked by bhs67 prije 13 sati

Last reply by bhs67 prije 12 sati

FireFox - User does not have privileges to save a file.

I have two end users that are having a different issues but they are of similar nature. First user can not upload anything to Microsoft Share point. She gets a message th… (pročitajte više)

I have two end users that are having a different issues but they are of similar nature. First user can not upload anything to Microsoft Share point. She gets a message that says she does not have proper permissions to upload. She does not have the same issue on Chrome or Edge. The second user is trying to download and or save a file from a couple of different websites but regardless on where she tries to save it on her computer it says she does not have proper permissions to save to "x" file location. She also does not have this issue when she is on Chrome or Edge.

For both users I have tried clearing cache and cookies, Rebooting their computers, uninstalling and reinstalling Firefox, deleting registry keys/user data from the computer itself. I have had no luck with resolving this issue and I can not find anything online that remotely resembles this issue.

Thank you and please advise

Asked by amassey1 prije 15 sati

Last reply by cor-el prije 9 sati

Bad/Rogue Current Session of Firefox (Windows 7) Redux

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that… (pročitajte više)

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that would work! So, I tried to 'cut and paste' my reply (on a smartphone) and I ended up losing even the email reply text so here is a reconstruction. I tried the suggestions in order and the first one didn't have a "Restore previous session" option and the second one had "Recently closed windows" greyed out! And, when I entered "about.support" in the address bar (top rightish), I received a notice that I couldn't reach Google (Remember that I don't currently have internet access on my laptop). So, no joy there either! Can I not just change some current setting to prevent Firefox v 115.9lesr from saving the current 'Windows' and Tabs so that, when I again open Firefox, the previous session 'Windows' and Tabs would be used?!?

Asked by balls69bc prije 9 sati

How to disable immediate search when you type in the Find Bar?

It is annoying that search executes immediately instead of triggering on enter keypress, especially when a web page is big. Is there any way to disable auto-search and tr… (pročitajte više)

It is annoying that search executes immediately instead of triggering on enter keypress, especially when a web page is big. Is there any way to disable auto-search and trigger it only when you press enter?

If you want to understand better it's pretty similar to this VS Code issue.

Asked by wpmgprostotema prije 16 sati

Last reply by cor-el prije 10 sati

My bookmarks and history are gone.

I get the following message when going online with Firefox: "The bookmarks and history system will not be functional because one of Firefox's files is in use by another a… (pročitajte više)

I get the following message when going online with Firefox: "The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. Some security software can cause this problem." I've followed all the prompts to restart the computer, refresh the computer, delete the favicons.sqlite and places.sqlite and it won't allow me to delete them. This happened yesterday as well. Yesterday I could delete those files and everything was restored. But today I can't get it to work.

Asked by Lana Patterson prije 10 sati

Microsoft Windows 11 user - font size for display resolution 3456 x 2160

I have to put my face within inches of the screen and strain to see the text in Firefox browser menus, tabs, and search bars. How do I adjust the font size? I'm not a p… (pročitajte više)

I have to put my face within inches of the screen and strain to see the text in Firefox browser menus, tabs, and search bars. How do I adjust the font size?

I'm not a programmer. If I need to enter code please be pedantic about descriptions of how to do that.

Asked by maxjen prije 14 sati

Last reply by cor-el prije 10 sati

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… (pročitajte više)

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?

Asked by Hamza Shareef prije 11 sati

Last reply by jscher2000 - Support Volunteer prije 10 sati

'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 … (pročitajte više)

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!!!

Asked by balls69bc prije 11 sati

Last reply by jscher2000 - Support Volunteer prije 10 sati

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… (pročitajte više)

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?

Asked by nathanbee354 prije 5 mjeseci

Last reply by the_logic_master prije 11 sati

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… (pročitajte više)

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.

Asked by avisekn prije 21 sat

Last reply by TyDraniu prije 11 sati

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… (pročitajte više)

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!

Asked by Lakshay Rohila prije 17 sati

Last reply by Lakshay Rohila prije 11 sati

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… (pročitajte više)

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

Asked by Parallax prije 4 mjeseci

Last reply by namnoops prije 12 sati

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… (pročitajte više)

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

Asked by boblatsch prije 12 sati

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.… (pročitajte više)

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

Asked by The Quiet One prije 12 sati

Last reply by The Quiet One prije 12 sati

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… (pročitajte više)

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,

Asked by nikolai42 prije 13 sati

Last reply by jscher2000 - Support Volunteer prije 12 sati