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": "Foxy A… (læs mere)

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

Stillet af j.sobiech for 5 dage siden

Seneste svar af jscher2000 - Support Volunteer for 5 dage 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 6 dage siden

Seneste svar af jscher2000 - Support Volunteer for 5 dage siden

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… (læs mere)

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

Stillet af jon.christian for 6 dage siden

Seneste svar af zeroknight for 6 dage siden

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… (læs mere)

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?

Stillet af Raymond for 6 dage siden

Seneste svar af jscher2000 - Support Volunteer for 6 dage siden

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… (læs mere)

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.

Stillet af Brandon for 1 uge siden

Seneste svar af cor-el for 1 uge siden

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, … (læs mere)

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

Stillet af Elizabeth Kiggen for 1 uge siden

Seneste svar af zeroknight for 1 uge siden

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… (læs mere)

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

Stillet af bobbyt9999 for 1 uge siden

Seneste svar af zeroknight for 1 uge siden

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… (læs mere)

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.

Stillet af darrenallen73 for for 1 måned siden

Seneste svar af TechHorse for 1 uge siden

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 … (læs mere)

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?

Stillet af Neil for for 2 måneder siden

Seneste svar af jonzn4SUSE for 1 uge siden

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… (læs mere)

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?

Stillet af Elke's Firefox for 1 uge siden

Seneste svar af TyDraniu for 1 uge siden

You've compromised the passwords yourself

Hi Every single one of my passwords is compromised according to you. Therefore I think the data breach is with Firefox . I have set up several unique passwords recently -… (læs mere)

Hi Every single one of my passwords is compromised according to you. Therefore I think the data breach is with Firefox . I have set up several unique passwords recently - how are they breached so soon? And why every single one. It is very suspicious. Regards Caroline

Stillet af cazzyguy for 1 uge siden

Seneste svar af jscher2000 - Support Volunteer for 1 uge siden

Incorrect Password

I would like to change my password for Mozilla Firefox account. I am doing so because I have been notified of a password security breach. However, upon signing into my ac… (læs mere)

I would like to change my password for Mozilla Firefox account. I am doing so because I have been notified of a password security breach. However, upon signing into my account via https://accounts.firefox.com/signin (it doesn't matter which device), I cannot change my password with the new one without the red-colored incorrect password window popping up. I know my signin is correct because I have just signed in using it. Whats the problem guys?

Stillet af curation for 2 uger siden

Seneste svar af jscher2000 - Support Volunteer for 1 uge siden

Recent issue viewing my Shopify site

Hello. In the last few days when I visit my Shopify website, the pricing on my products is not visible. This is only for me, nobody else has this issue. I do not have thi… (læs mere)

Hello. In the last few days when I visit my Shopify website, the pricing on my products is not visible. This is only for me, nobody else has this issue. I do not have this issue on Safari, or on Firefox when I open a private browsing window. It is something to do with Firefox, but I don't want to have to open a private window every time I go to my store. Is there a solution? This has only been happening for the last few days. Thanks

Stillet af leslie.day for 1 uge siden

Seneste svar af zeroknight for 1 uge siden