Ceisteanna leis an gclib seo á dtaispeáint: Taispeáin gach ceist

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… (tuilleadh eolais)

#!/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 2 uair ó shin

Last reply by jscher2000 - Support Volunteer 2 uair ó shin

Save one autofill entry for usernames across all sites?

I have a unique annoyance wherein I use a considerably long email address for many sites. I've gotten tired of typing it out whenever it comes up and wish for it to be pr… (tuilleadh eolais)

I have a unique annoyance wherein I use a considerably long email address for many sites. I've gotten tired of typing it out whenever it comes up and wish for it to be preserved as an autofill across all sites so I no longer have to, similar to how your phone may suggest your email address in autocomplete.

Unfortunately, as far as I can tell, you can only manually add autofills for specific sites and with password attached. So my question is, is there a way to make the address be a suggested autofill on username/email address boxes across all sites?

(not interested in having form history saved, just want this one specific form entry)

Asked by ballakoala 7 n-uaire ó shin

Last reply by cor-el 58 nóiméad ó shin

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… (tuilleadh eolais)

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 5 huaire ó shin

Last reply by jscher2000 - Support Volunteer 3 huaire ó shin

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… (tuilleadh eolais)

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 lá ó shin

Last reply by zeroknight 10 n-uaire ó shin

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… (tuilleadh eolais)

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 lá ó shin

Last reply by jscher2000 - Support Volunteer 23 uair ó shin

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… (tuilleadh eolais)

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 2 lá ó shin

Last reply by cor-el 2 lá ó shin

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, … (tuilleadh eolais)

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 3 lá ó shin

Last reply by zeroknight 2 lá ó shin

Can't clear autosuggest

I've been having issues with the websites that I commonly go to no longer appear on the autosuggest list. Websites I haven't gone to for ten years appear when I type in … (tuilleadh eolais)

I've been having issues with the websites that I commonly go to no longer appear on the autosuggest list. Websites I haven't gone to for ten years appear when I type in a given sequence rather than more common ones. Website that I go to every day no longer appear.

Multiple websites suggest this sequence:

https://support.mozilla.org/en-US/kb/remove-websites-address-bar-suggestions

I follow the "clear all.." and nothing changes. How can I start anew and have FF re-learn my url history?

Asked by bizbizbiz 2 lá ó shin

Last reply by zeroknight 2 lá ó shin

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… (tuilleadh eolais)

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 2 lá ó shin

Last reply by zeroknight 2 lá ó shin

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… (tuilleadh eolais)

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 mhí ó shin

Last reply by TechHorse 3 lá ó shin

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 … (tuilleadh eolais)

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 mhí ó shin

Last reply by jonzn4SUSE 4 lá ó shin

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… (tuilleadh eolais)

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 4 lá ó shin

Last reply by TyDraniu 4 lá ó shin

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 -… (tuilleadh eolais)

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

Asked by cazzyguy 5 lá ó shin

Last reply by jscher2000 - Support Volunteer 5 lá ó shin

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… (tuilleadh eolais)

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?

Asked by curation 1 seachtain ó shin

Last reply by jscher2000 - Support Volunteer 6 lá ó shin

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… (tuilleadh eolais)

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

Asked by leslie.day 6 lá ó shin

Last reply by zeroknight 6 lá ó shin

Primary pass work

I tried to delete my primary password online, but system would not allow me to do so. I have exhausted all avenues to seek help, but to no avail. Any assistance would … (tuilleadh eolais)

I tried to delete my primary password online, but system would not allow me to do so. I have exhausted all avenues to seek help, but to no avail. Any assistance would be greatly appreciated. Tmg3842@yahoo.com

Asked by tmg3842 6 lá ó shin

Last reply by cor-el 6 lá ó shin