Showing questions tagged: Show all questions

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… (read more)

#!/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 hours ago

Last reply by jscher2000 - Support Volunteer 2 hours ago

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… (read more)

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 hours ago

Last reply by cor-el 54 minutes ago

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.… (read more)

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 3 hours ago

Last reply by The Quiet One 3 hours ago

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… (read more)

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 hours ago

Last reply by jscher2000 - Support Volunteer 3 hours ago

  • Solved

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… (read more)

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 day ago

Answered by cor-el 1 day ago

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… (read more)

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 day ago

Last reply by zeroknight 10 hours ago

recover passwords file

Hi, i locked my pc few days ago due to smart windows not recognizing my ( correct password ) repeatedly. anyway, im still trying to find a way to solve this issue. now, … (read more)

Hi, i locked my pc few days ago due to smart windows not recognizing my ( correct password ) repeatedly. anyway, im still trying to find a way to solve this issue.

now, i created an admin windows account get access to my old user files, found the bookmarks file. the only thing left for me now is the passwords file.i did not a Firefox online account before today

the only way currently if i did not solve the wind10 login issue is the find the passwords file physically just like i did with the bookmarks file.


can anyone help with this ??


thanks

Asked by OMVW 15 hours ago

It's ough to get all the photos and all the previous Facebook accounts back The next thing I want to ask is that I want to remove all the hacks, please help me to get out

It's ough to get all the photos and all the previous Facebook accounts back The next thing I want to ask is that I want to remove all the hacks, please help me to get out… (read more)

It's ough to get all the photos and all the previous Facebook accounts back The next thing I want to ask is that I want to remove all the hacks, please help me to get out

Asked by yelay9244611 1 day ago

Last reply by Paul 20 hours ago

Incognito mode and cookies

I find a bit illogical the fact that cookies are kept after all tabs that set those in incognito mode were closed. Have to close Firefox completely to make Google forget … (read more)

I find a bit illogical the fact that cookies are kept after all tabs that set those in incognito mode were closed. Have to close Firefox completely to make Google forget my account name.

Asked by WhatIfItsNotMe 21 hours ago

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… (read more)

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 day ago

Last reply by jscher2000 - Support Volunteer 23 hours ago

  • Solved

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… (read more)

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 1 week ago

Answered by cor-el 6 days ago

Looking to get e-mails with DKIM=fail marked as JUNK

I am getting about 50 phishing e-mails a day. They are as obvious as can be, but becoming a pain in the ass to mark as junk. None of the sending e-mail addresses are re… (read more)

I am getting about 50 phishing e-mails a day. They are as obvious as can be, but becoming a pain in the ass to mark as junk. None of the sending e-mail addresses are real and they all wind up with DKIM=fail. I am not finding a solution I am happy with, having considered 1. a Thunderbird add-in that checks DKIM - it has mixed reviews, and I have some clients whose e-mail systems do not respond to DKIM verification 2. SpamAssassin - not quite sure what this does, and I really do not to add another layer 3. I have enabled - in Thunderbird's Account setting and elsewhere - junk filtering, but it shows no signs of being successfully trained despite having manually marked hundreds of phishing e-mails as Junk. 4. I do not see how to create a filter to catch these (I am assuming looking for DKIM=fail in "body" would fail as "body" refers to rendered e-mail contents, not the raw format.

Help would be appreciated. Jonathan

Asked by JonathanWexler 1 day ago

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… (read more)

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 days ago

Last reply by cor-el 2 days ago

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, … (read more)

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 days ago

Last reply by zeroknight 2 days ago

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 … (read more)

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 days ago

Last reply by zeroknight 2 days ago