Отображение вопросов с тегом: Показать все вопросы

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… (читать ещё)

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

Задан j.sobiech 3 недели назад

Последний ответ от jscher2000 - Support Volunteer 3 недели назад

New primary password not accepted

I had to reset my primary password. Now the new password is not being accepted. And I keep getting a pop-up asking for the password. What can I do to have my password … (читать ещё)

I had to reset my primary password. Now the new password is not being accepted. And I keep getting a pop-up asking for the password. What can I do to have my password accepted?

I already tried to un-check "use primary password" in settings but cannot accomplish that with a password that is rejected.

Задан brooklynseltzer 3 недели назад

Последний ответ от cor-el 3 недели назад

history

How to PROPERLY erase history? I mean, you erase HISTORY...click...there you go...?!?!?...but, what's happening? I erased HISTORY...ah, I erased it FROM the panel but, it… (читать ещё)

How to PROPERLY erase history? I mean, you erase HISTORY...click...there you go...?!?!?...but, what's happening? I erased HISTORY...ah, I erased it FROM the panel but, it WILL remained on the list that it shows on top of the icon (sic) ...someone suggested to go on the panel, select privacy, scroll to history, pass over "Never remember history...." (?) AND then you "click"... Clear...what is the point? clear means clear means clear from EVERYWHERE...sorry about the mess I wrote but I was frustrated

Задан minutes2go 2 недели назад

Последний ответ от zeroknight 2 недели назад

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… (читать ещё)

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

Задан leslie.day 1 месяц назад

Последний ответ от zeroknight 1 месяц назад

My account was "used to sign in to Firefox on a MacOSX10.15 on Sunday, May 5. It was not me.

I had someone breaking into a number of my accounts. They used my account to sign into Firefox. And I got an account authorization code, but I'm afraid to use the email … (читать ещё)

I had someone breaking into a number of my accounts. They used my account to sign into Firefox. And I got an account authorization code, but I'm afraid to use the email in case it is them getting more info!!

Задан ccg14 2 недели назад

Последний ответ от Amelia 2 недели назад

Browser no longer asking for primary password

This started a few weeks ago. I thought it might have been because I synced the passwords with other devices. I reverted it back. When in about:logins, I click on the l… (читать ещё)

This started a few weeks ago. I thought it might have been because I synced the passwords with other devices. I reverted it back.

When in about:logins, I click on the log in button but nothing happens.

Задан l s p 3 недели назад

Последний ответ от cor-el 3 недели назад

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, … (читать ещё)

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

Задан OMVW 3 недели назад

Последний ответ от cor-el 3 недели назад

how to disable new Firefox feature?

I heard that the newest version of Firefox (which I have not upgraded to yet) has a feature that makes it easier to accidentally visit a website whose URL is on the clipb… (читать ещё)

I heard that the newest version of Firefox (which I have not upgraded to yet) has a feature that makes it easier to accidentally visit a website whose URL is on the clipboard. I googled to find out how to disable it, and the Featured Snippet said "go to about:config and change clipboard.autocopy to false." Sounded simple, so I did it, but subsequently found out that the article it quotes from is 10 years of age!

My first question, then, is: what does changing "clipboard.autocopy" to false do if it doesn't turn off the brand-new feature?

The second question is, how do I disable the new URL Paste Suggestion feature? Will setting "clipboard.autocopy" disable it? In particular, I want to make sure that the browser does not pre-load or pre-fetch the clipboard URL, and in fact, I wish to pop up a dialog box any time I do "paste and go." People often copy URLs from e-mails to research them before visiting them directly; jumping directly will increase the likelihood of visiting an imposter site.

Задан 4232jl 2 недели назад

Последний ответ от zeroknight 2 недели назад

Unlocking about:config Minimum TLS Preference

I need to edit minimum TLS version in order to remotely manage order device that use TLS 1.0. I'm using FireFox 102 and the security.tls.version.min is grayed out and I c… (читать ещё)

I need to edit minimum TLS version in order to remotely manage order device that use TLS 1.0. I'm using FireFox 102 and the security.tls.version.min is grayed out and I cannot edit.

Задан rilo 4 месяца назад

Последний ответ от cor-el 4 месяца назад

Logins and password losts

My profile is not able to recover saved password. Logins.json file copied in the new profile but password not visible. In the default profile logins.json.corrupt appeared… (читать ещё)

My profile is not able to recover saved password. Logins.json file copied in the new profile but password not visible. In the default profile logins.json.corrupt appeared. I am looking for a procedure to recover information in corrupted profile. Can you help?

Задан Testone99 4 месяца назад

Последний ответ от cor-el 4 месяца назад

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… (читать ещё)

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.

Задан darrenallen73 2 месяца назад

Последний ответ от TechHorse 4 недели назад

Intermittent Master Password Recognition Issue with External Keyboard on Firefox for Ubuntu

Hello, I've encountered a recurring issue with Firefox on Ubuntu where my master password is sporadically not recognized when typed using my external wireless keyboard. … (читать ещё)

Hello,

I've encountered a recurring issue with Firefox on Ubuntu where my master password is sporadically not recognized when typed using my external wireless keyboard. This problem does not occur consistently but is particularly frustrating when it does, as it forces me to switch to my laptop's keyboard for input. I'm certain the password is entered correctly; after multiple careful attempts (3-5 times), the issue persists, leading to unnecessary stress and inconvenience.

    • Environment:**

- **Operating System:** Latest version of Ubuntu - **Hardware:** Dell Latitude laptop with a Contour external wireless keyboard, connected through a Dell docking station. This setup is shared with another laptop (HP) via the docking station.

    • Observations:**

- The issue seems to occur sporadically and is not reproducible on demand, adding to the frustration. - It has happened notably on the first login attempt after the computer's first boot of the day. - On one occasion, the problem led me to change my master password under the mistaken belief it had been compromised.

    • Impact:**

This intermittent recognition issue disrupts my workflow and significantly affects my user experience with Firefox. The necessity to switch input methods and the initial misinterpretation of the problem as a security concern are particularly concerning.

I hope this detailed feedback assists in identifying and resolving the issue. Thank you for your attention to this matter Firefox.

Sincerely, Daniel

Задан Daniel 3 месяца назад

Последний ответ от cor-el 3 месяца назад

How to recover/save my history if I deleted my history

If I delete my history of the websites I go on is there a way to either restore it or store it some place else in case I want to see it at a future time? Can I also do it… (читать ещё)

If I delete my history of the websites I go on is there a way to either restore it or store it some place else in case I want to see it at a future time? Can I also do it If I delete my emails and I would like to see certain emails, again in the future? I use mostly Yahoo and Gmail? I'm using Windows 10.

Thanks

Задан jkbania 1 месяц назад

Последний ответ от coldpaut 1 неделю назад

Youtube live's not auto starting when counter runs out

Hi I've no idea which section this should go.. I'm having an issue when a youtube channel im following sets a live. When I get the card on the desktop for the 30 min time… (читать ещё)

Hi I've no idea which section this should go.. I'm having an issue when a youtube channel im following sets a live. When I get the card on the desktop for the 30 min timer, I'll click it.. sometimes it will open in a new tab (usually the card just disappears), that's another problem.. Anyway.. If I switch to the new tab at the time the live should have started, it shows the counter reset to 30 minutes.. if I F5 the page it will load the live.. Is there a way to auto start the live when the counter hits zero?

Hope that wasn't as clear as mud...

Thanks

Задан Tracy Scott 1 месяц назад

Последний ответ от zeroknight 1 месяц назад