Kukhonjiswa imibuzo ethegiwe: Veza yonke imibuzo

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… (funda kabanzi)

#!/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 1 isonto elidlule

Last reply by jscher2000 - Support Volunteer 1 isonto elidlule

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.… (funda kabanzi)

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 1 isonto elidlule

Last reply by The Quiet One 1 isonto elidlule

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… (funda kabanzi)

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 1 isonto elidlule

Last reply by jscher2000 - Support Volunteer 1 isonto elidlule

  • Kusonjululiwe

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… (funda kabanzi)

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.

Asked by AR 1 isonto elidlule

Answered by cor-el 1 isonto elidlule

How to use Advanced Preferences (about:config) to select 'Manual proxy configuration' setting

I want to use the Advanced Preferences (about:config) to select 'Manual proxy configuration' setting. I have been able to set the HTTP Proxy and associated port but I am… (funda kabanzi)

I want to use the Advanced Preferences (about:config) to select 'Manual proxy configuration' setting. I have been able to set the HTTP Proxy and associated port but I am unable to find the setting in Advanced Preferences that will select Manual proxy configuration. Could someone please help. Thanks

Asked by jon.christian 1 isonto elidlule

Last reply by zeroknight 1 isonto elidlule

exceptions in configuration security disappear after restart

I have a NAS server, where I save all my data. When I type the local address 192.168.2.10:5001 I always get the warning That this is a malicious site. I havo enter I know… (funda kabanzi)

I have a NAS server, where I save all my data. When I type the local address 192.168.2.10:5001 I always get the warning That this is a malicious site. I havo enter I know the risk etc. which cost me time and is useless, since my NAS server is under my control.

I have tried to put the server address in several exceptions, but they disappear.

How to tell Firefox that my Nas srver is safe?

Asked by Raymond 1 isonto elidlule

Last reply by jscher2000 - Support Volunteer 1 isonto elidlule

  • Kusonjululiwe

Disable "Block dangerous downloads" has no effect

Hi, Before Firefox's Version 125.0.1 (64-bit) latest update I could download any file from my safe office environment, behind firewalls, VPN, ... Now despite of uncheckin… (funda kabanzi)

Hi, Before Firefox's Version 125.0.1 (64-bit) latest update I could download any file from my safe office environment, behind firewalls, VPN, ... Now despite of unchecking the "Block dangerous downloads" I'm still unable to download files. I have Windows 10 on my laptop.

Here are the steps: Click on a file, Save "File not downloaded. Potential security risk." Click on the message - Allow download The result is a file with content "HTTP Status 405 – Method Not Allowed".

Please help me to work the downloading again. I am aware of the safety but I want to switch off this feature.

Thanks in advance for help, Tibor

Asked by Tibor Ágoston 2 emasontweni adlule

Answered by cor-el 2 emasontweni adlule

Can I recover account data after reseting password?

I had issues login to my Firefox account, so I reset my password, which cleared my data with passwords and bookmarks. I later found where I stored my recovery key and wan… (funda kabanzi)

I had issues login to my Firefox account, so I reset my password, which cleared my data with passwords and bookmarks. I later found where I stored my recovery key and wanted to see if I can recover that data again.

Asked by Brandon 1 isonto elidlule

Last reply by cor-el 1 isonto elidlule

Browser controlled by unknown organization

My firefox browser is controlled by an organization and I don't beong to an organization. I can't delete certificates that have authorization to change, block, reroute, … (funda kabanzi)

My firefox browser is controlled by an organization and I don't beong to an organization.

I can't delete certificates that have authorization to change, block, reroute, access my computer hard drive, you name it. Certificates that I do remove immediately reappear.

The authority certificates are from China, Russia, and many untrustworthy locations.

It happens in Firefox focus on my Android, Firefox on my computer and it appears the spyware has access to my hard drive and phone.

How do I fix this, and can you remove this organizarion from controlling my browser?

Thank you,

Elizabeth Kiggen

Asked by Elizabeth Kiggen 1 isonto elidlule

Last reply by zeroknight 1 isonto elidlule

Disable "reCaptcha"

This has started to happen whenever I try to do a Google search. I type in something into the search box and before I can go any further I'm hit with having to go throug… (funda kabanzi)

This has started to happen whenever I try to do a Google search. I type in something into the search box and before I can go any further I'm hit with having to go through reCaptcha. This is a major pain in the butt. How can I disable this?

It doesn't happen when I use other search engines - just Google.

Thanks... any help would be appreciated!!!

Asked by bobbyt9999 1 isonto elidlule

Last reply by zeroknight 1 isonto elidlule

Decryption tool for passwords in Firefox

Back in November 2023 I had the misfortune of a software engineer not doing his job correctly and he reinstalled the OS on my laptop instead of repairing some software th… (funda kabanzi)

Back in November 2023 I had the misfortune of a software engineer not doing his job correctly and he reinstalled the OS on my laptop instead of repairing some software that wasn't functioning correctly. Mercifully, I have had Microsoft support working on recovering my data, which has proved a tremendous task. 4 months and counting.


We have now finally managed to recover my passwords for my browsers, but they are encrypted. Microsoft Support have therefore asked if Mozilla do a decryption tool as they cannot open the file without it being decrypted first. If I was using Microsoft Edge, they would have been able to assist as that is a Microsoft product, but as Firefox is a third party application, they've asked for assistance. By the way, these are NOT scammers or hackers 'helping' me, but Microsoft support and I get everything emailed about our support etc.

Thanks in advance.

Asked by darrenallen73 1 inyanga edlule

Last reply by TechHorse 1 isonto elidlule

  • Kusonjululiwe

Firefox 125.0.1 update breaks all self signed certificates

Firefox 125.0.1 update breaks all self signed certificates After the latest auto update I can no longer access any of my management screens on my private network with se… (funda kabanzi)

Firefox 125.0.1 update breaks all self signed certificates

After the latest auto update I can no longer access any of my management screens on my private network with self signed certificates. This is a real problem. I have attached a couple error screen grabs, but ALL of themn are the same. The information link says there is no workaround!

So how do I recover access? Chrome works just fine ... so it is def. a Firefox problem.

Asked by mzla.cm 1 isonto elidlule

Answered by zeroknight 1 isonto elidlule

Blocked pages

When I try to access my payment preferences page on xfinity.com, the page goes blank and it appears that it is being blocked. I can't figure out how to unblock it. I had … (funda kabanzi)

When I try to access my payment preferences page on xfinity.com, the page goes blank and it appears that it is being blocked. I can't figure out how to unblock it. I had to use Microsoft Edge to access the page to change my information. Can you please assist?

Asked by Neil 2 izinyanga ezidlule

Last reply by jonzn4SUSE 1 isonto elidlule

whatsapp privacy

So Mozilla supports privacy rights- and I've supported Mozilla for that reason- but they want Whatsapp to be censored for "misinformation" ? How does that go togeth… (funda kabanzi)

So Mozilla supports privacy rights- and I've supported Mozilla for that reason- but they want Whatsapp to be censored for "misinformation" ? How does that go together? Whatsapp was supposed to be encrypted and not even Whatsapp was supposed to know the content of messages. How would they know about misinformation? And how do they get to decide what's misinformation now?

Asked by Elke's Firefox 1 isonto elidlule

Last reply by TyDraniu 1 isonto elidlule