Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi

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… (xem thêm)

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

Được hỏi bởi j.sobiech 12 giờ trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 12 giờ trước

FireFox - User does not have privileges to save a file.

I have two end users that are having a different issues but they are of similar nature. First user can not upload anything to Microsoft Share point. She gets a message th… (xem thêm)

I have two end users that are having a different issues but they are of similar nature. First user can not upload anything to Microsoft Share point. She gets a message that says she does not have proper permissions to upload. She does not have the same issue on Chrome or Edge. The second user is trying to download and or save a file from a couple of different websites but regardless on where she tries to save it on her computer it says she does not have proper permissions to save to "x" file location. She also does not have this issue when she is on Chrome or Edge.

For both users I have tried clearing cache and cookies, Rebooting their computers, uninstalling and reinstalling Firefox, deleting registry keys/user data from the computer itself. I have had no luck with resolving this issue and I can not find anything online that remotely resembles this issue.

Thank you and please advise

Được hỏi bởi amassey1 16 giờ trước

Lần cuối trả lời bởi cor-el 10 giờ trước

Bad/Rogue Current Session of Firefox (Windows 7) Redux

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that… (xem thêm)

Sorry, posted recently and had then trouble finding out how to respond to help offered (jscher2000)! Noticed that the email version was "no-reply" so I didn't figure that would work! So, I tried to 'cut and paste' my reply (on a smartphone) and I ended up losing even the email reply text so here is a reconstruction. I tried the suggestions in order and the first one didn't have a "Restore previous session" option and the second one had "Recently closed windows" greyed out! And, when I entered "about.support" in the address bar (top rightish), I received a notice that I couldn't reach Google (Remember that I don't currently have internet access on my laptop). So, no joy there either! Can I not just change some current setting to prevent Firefox v 115.9lesr from saving the current 'Windows' and Tabs so that, when I again open Firefox, the previous session 'Windows' and Tabs would be used?!?

Được hỏi bởi balls69bc 10 giờ trước

How to disable immediate search when you type in the Find Bar?

It is annoying that search executes immediately instead of triggering on enter keypress, especially when a web page is big. Is there any way to disable auto-search and tr… (xem thêm)

It is annoying that search executes immediately instead of triggering on enter keypress, especially when a web page is big. Is there any way to disable auto-search and trigger it only when you press enter?

If you want to understand better it's pretty similar to this VS Code issue.

Được hỏi bởi wpmgprostotema 17 giờ trước

Lần cuối trả lời bởi cor-el 11 giờ trước

My bookmarks and history are gone.

I get the following message when going online with Firefox: "The bookmarks and history system will not be functional because one of Firefox's files is in use by another a… (xem thêm)

I get the following message when going online with Firefox: "The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. Some security software can cause this problem." I've followed all the prompts to restart the computer, refresh the computer, delete the favicons.sqlite and places.sqlite and it won't allow me to delete them. This happened yesterday as well. Yesterday I could delete those files and everything was restored. But today I can't get it to work.

Được hỏi bởi Lana Patterson 11 giờ trước

Microsoft Windows 11 user - font size for display resolution 3456 x 2160

I have to put my face within inches of the screen and strain to see the text in Firefox browser menus, tabs, and search bars. How do I adjust the font size? I'm not a p… (xem thêm)

I have to put my face within inches of the screen and strain to see the text in Firefox browser menus, tabs, and search bars. How do I adjust the font size?

I'm not a programmer. If I need to enter code please be pedantic about descriptions of how to do that.

Được hỏi bởi maxjen 16 giờ trước

Lần cuối trả lời bởi cor-el 11 giờ trước

Why I can't take screenshot?

I am writing to report an issue I have encountered while using the Firefox browser. Specifically, I am unable to take screenshots on the website https://hescoebill.pk/hes… (xem thêm)

I am writing to report an issue I have encountered while using the Firefox browser. Specifically, I am unable to take screenshots on the website https://hescoebill.pk/hesco-mis/. This issue persists despite numerous attempts, and it seems to be unique to this particular website. Is there any other way to take screenshot of site? I really want to take a screenshot for personal reason. Is it not allowed from the site owner side or what?

Được hỏi bởi Hamza Shareef 13 giờ trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 11 giờ trước

'Bad' Current Session of Firefox (Windows)!

I currently have a 'bad/rouge' session of Windows 7 Firefox (don't really know how that happened) open (7 'Windows', each with one empty Tab plus 1 'Window', with only 1 … (xem thêm)

I currently have a 'bad/rouge' session of Windows 7 Firefox (don't really know how that happened) open (7 'Windows', each with one empty Tab plus 1 'Window', with only 1 populated tab (Yahoo Mail)! I need to close Firefox in order to restart my laptop (strange things have been happening, including not being able to access the internet)!! On restarting, I want to be able to open Firefox with the previous session I had with my 8 'Windows', each with dozens and dozens of Tabs! Please help, I sorely need those many 'Windows' and Tabs!!!

Được hỏi bởi balls69bc 12 giờ trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 12 giờ trước

Firefox closing at random with no crash report

Yesterday Firefox started closing at random, sometimes instantly as soon as I open it. The crash dialog doesn't open, and if I go to about:crashes my most recent unreport… (xem thêm)

Yesterday Firefox started closing at random, sometimes instantly as soon as I open it. The crash dialog doesn't open, and if I go to about:crashes my most recent unreported crash is from 2019. Tried refreshing, reinstalling, completely wiping all profiles and starting fresh. If I use troubleshooting mode it won't open properly at all. I am at a bit of a loss, any ideas?

Được hỏi bởi nathanbee354 5 tháng trước

Lần cuối trả lời bởi the_logic_master 12 giờ trước

Firefox freezes after VPN status change

Whenever I change my VPN (not Mozilla VPN) status, Firefox will refuse to connect for something like 30 seconds then times out, leaving me with a blank screen. I have wai… (xem thêm)

Whenever I change my VPN (not Mozilla VPN) status, Firefox will refuse to connect for something like 30 seconds then times out, leaving me with a blank screen. I have wait until that interval has passed before I can retry, otherwise it will repeat the freeze. This happens whenever I turn my VPN on/off or switch to a different VPN server. It happens only with Firefox. Chrome and my email client have no problems whatsoever. I think it's some kind of DNS caching problem within Firefox as the problem doesn't happen if I visit a site that I hadn't visited very recently. There's immediate response if I do that. I have DNS over HTTPS and secure DNS turned off in the settings, so it can't be those.

Anyone else have this problem? I wish there was some way to clear Firefox's DNS cache other than having to go into about:networking

Được hỏi bởi Parallax 4 tháng trước

Lần cuối trả lời bởi namnoops 13 giờ trước

Can't get by a dead end

I have an issue where I go to website and I get a message that the website is temporarily available. I cannot go to a different webpage for what URL I want. I believe thi… (xem thêm)

I have an issue where I go to website and I get a message that the website is temporarily available. I cannot go to a different webpage for what URL I want. I believe this has to do with history. I suspect I can get past this by flushing the history. I can get to the website I want by using a different browser such as chrome. Ho do I fix this?

IBM clone using windows 10, firefox 125

Được hỏi bởi boblatsch 13 giờ trước

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… (xem thêm)

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,

Được hỏi bởi nikolai42 15 giờ trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 13 giờ trước

Hotmail through Firefox breaks my network card

I had a few issues with Hotmail and Firefox in the past as described in other posts. Now it has stepped up a gear. I can use the internet for anything, but the moment I o… (xem thêm)

I had a few issues with Hotmail and Firefox in the past as described in other posts. Now it has stepped up a gear. I can use the internet for anything, but the moment I open my Hotmail account in Firefox my Lan card stops working. At first I had no idea it was Hotmail, I tried everything from switching cables to using wifi only. When it happened on wifi I realised every time I went into Hotmail on Firefox my network card stopped functioning and I had to restart the computer. The thing is, when I use Hotmail through Microsoft Edge nothing happens and all is well with the world!!! No network card shutdown. I could read between the lines but I'm no conspiracy theorist, however, I don't think the problem is with Firefox. Is there any solution? I don't use Edge and I don't want to start.

Được hỏi bởi markadonald 15 giờ trước

Lần cuối trả lời bởi zeroknight 14 giờ trước

whenever i close the window i get signed out of my youtube account

Whenever i sign into youtube and then close the window when i come back ive been signed out and have to sign in again. i have "delete cookies and site data when firefox i… (xem thêm)

Whenever i sign into youtube and then close the window when i come back ive been signed out and have to sign in again. i have "delete cookies and site data when firefox is closed" off and dont know what else to do

Được hỏi bởi Starry Hankins 14 giờ trước

Lần cuối trả lời bởi zeroknight 14 giờ trước

Youtube shows old Channel Name

Hello everyone, a long time ago i changed my youtube name to something else and to this day it never updated on firefox. Yesterday i finally asked youtube support about i… (xem thêm)

Hello everyone, a long time ago i changed my youtube name to something else and to this day it never updated on firefox. Yesterday i finally asked youtube support about it and they told me to check with mobile or other browsers and there it works fine, so only firefox is borking out on that one. Do you have an idea how i can solve that?

sincerly, Cammy

Được hỏi bởi CammyVanny 15 giờ trước

Lần cuối trả lời bởi zeroknight 14 giờ trước

having to clear my cookies every day or pages wont load properly

I have attached images of what slowly occurs when I don't clear my cookies, websites start to slowly and slowly load less and less until they eventually completely break … (xem thêm)

I have attached images of what slowly occurs when I don't clear my cookies, websites start to slowly and slowly load less and less until they eventually completely break and wont load and I have to clear my cookies, resign into everything. and rinse and repeat every few days or a week, I also attached an image of what the purchase screen is supposed to look like. Looking at this via Microsoft edge

Được hỏi bởi superkitty914 1 ngày trước

Lần cuối trả lời bởi zeroknight 15 giờ trước