Firefox

17937 readers
37 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
176
 
 

Hi, recently Firefox (technically Librewolf) presents me with weird whitespace as in the image. I tried to search for something similar, and I did find some post, suggesting I'll edit my font configs (in settings), but this has no effect. I tried to also open in incognito mode or disabled all my plugins or even create a new profile on my machine, but the spacings are always like this. On proper firefox, I don't see this issue.

Any idea?

177
178
 
 

I seeked into the API in order to write a plugin for myself. In order to aid my workflow I need to listen to two keystrokes closely followed.

Apparently there are only hacks available. I want to fire-and-forget about my plugin as long as the API to command firefox stays consistent.

I did not attempt to write any code (and any JS code, honestly that is) yet. Simply because I did not get that requirement addressed by the official API /& documentation.

Recompiling firefox would be the least favorable option; But I would still be hooked if it would enable me to observe keystrokes on my own.

As an practical example: Pressing Shift two times in sequence and within 100 ms should enable me to eat the event.

179
 
 

cross-posted from: https://mander.xyz/post/13981542

As Original forget we not is archived now Without giving sync functionality. So, Do anyone know of similar addon.

Must Available for android and active development

Plus Sync functionality already implemented.

180
 
 

We have a few sites on our intranet at work that I constantly end up searching on Google instead of visiting the site.

If I type in the address bar

https://site.work/customers/12345

it will navigate just fine, but if I just type

site.work/customers/12345

it executes a Google search

Is there any way for me to add a whitelist for a given hostname? I don't want to turn keyword.enabled off.. I only want to turn it off for one site.

181
182
25
submitted 5 months ago* (last edited 5 months ago) by boredsquirrel@slrpnk.net to c/firefox@lemmy.ml
 
 

Let be begin by saying: Selectively blocking Javascript is essential for online privacy.

Fundamental idea

  • Javascript is needed for way too many websites to load correctly
  • Websites often dont only use their own Javascript to display their own menus etc. but they load tons of external Javascript.
  • There is often way more Javascript that you can block than what you need
  • No "privacy browser" can protect you if you dont invest the work of blocking Javascript per origin
  • there are many origins that just serve bullsh*t so you can always block them
  • browser sandboxes, process isolation etc. is only needed because of Javascript or CSS exploits
  • there are hacks that work through CSS only, but they are rare
  • this is why browser isolate every website in a process. They isolate these processes from the system with strict filters and sandboxes

Sum up

Javascript is a technology used to display fancy websites, moving parts, responsive interfaces etc.

It is executed code, in your browser. Unlike normal applications, the code comes from random places on the internet, and is often malicious.

This is why browsers need to be so secure.

Many developers bundle random 3rd party javascript into their website, mostly for capitalist "get some more cents" purposes.

This is what a shitty website looks like (and yes it runs perfectly fine after blocking all that)

This means often: the website, AND the developers of the javascript will both get your personal data.

If you block Javascript, you avoid 99% of security issues, and automatically block most trackers.

Websites cannot place cookies in the browser, if you block javascript!

Some things to know

  • Google reCaptcha is a nasty difference, as it requires many origins at once. NoScript has the "allow all Javascript on this tab" for this purpose
  • some sites may load fine without Javascript, but menus dont work.

Setup of NoScript

Install the Addon and go into its settings.

per site permissions

It has some very loose, "security only" settings, so most of "Big Tech" is trusted by default. If you dont use it, set it to "untrusted".

general settings

Here you can select what "default", "trusted" and "untrusted" do.

Default

  • I change it to "block all". Most websites dont load with the default settings anyways
  • if you set "noscript", websites can see that "your browser does not support Javascript". This may cause them to display a no-js website, but that is really rare.
  • The "noscript" makes you stand out from the crowd very likely. There are other methods to check if you support javascript, like just trying to run it.

Trusted

  • I enable everything but these:
    • ping: pretty shady stuff, thanks @leanleft@lemmy.ml
    • noscript: you support Javascript so not useful
    • LAN: block requests to your local network, should not be needed in most cases
    • unverified CSS: important blocking this is more secure (see above, CSS-only exploits are possible) but drastically slows down the speed of your browser
    • other: better not enable random other Javascript types

Untrusted

  • block everything
  • maybe allow noscript (see above)

See the explanations for all Javascript variants here

Workflow of NoScript

I think the author didnt really consider the implications, so these loose settings make little sense.

NoScript makes most sense for "goodness enumeration". By default, all Javascript is blocked.

At the beginning it may be annoying, but it will become less and less work:

  1. Open a website
  2. It likely doesnt load
  3. Click on the NoScript icon
  4. Set the Javascript of this Website to "trusted"
  5. NoScript automatically reloads the site
  6. maybe: Repeat, you may need to allow CDNs, image hosts etc.

Once you did this to all your commonly visited sites, only new ones will need manual configuration.

This approach becomes less effort over time, unlike badness enumeration, which gets more and more.

(I thought about giving you my 2 years old configuration as a headstart, but it is basically my browsing history. I would be interested in sharing a config on some Git host though, as this makes starting with NoScript way more pleasant)

Background on "badness enumeration"

Adblockers use something called "badness enumeration".

Example of badness enumeration:

  • Adblockers: allow all content to load, block a, b and c ONLY
  • Malware scanners: allow all code to execute, but block hashes a, b, c
  • Some Firewall Blocklists: allow all incoming traffic, but block all IPs coming from Russia

The system is fundamentally flawed, as

  1. The authors of blocklists always need to be perfectly up to date
  2. Once a new malware/site/ad comes out, it will stay unblocked for a while
  3. It assumes every user needs the same
  4. It needs always growing filterlists and malware databases, that get bigger and bigger

Avoid badness enumeration when possible. Btw, NoScript likely also blocks many Ads on websites.

183
 
 

Firefox 126.0.1, Fairphone 5, Android 13

184
 
 

I keep accidentally tapping it when trying to tap at the end of the address to edit it. Currently this is my biggest struggle with Firefox.

185
186
 
 

I have the an extension installed for Firefox and I see the green dot under my extension menu on every website visit and everytime I reload a website indicating that it asks for permission to read data on that website again. When I hover over it it tells me that I can allow it for this visit and the cog wheel menu has the option "only when clicked" for "extension can read and write data" ticked. Clicking on that option does nothing.

How do I give the permission permanently? It's annoying to have to click that everytime.

187
 
 

Screenshot from phone, but same warning message when i do it on my computer.

I have my bookmarks, history, etc. saved on my computer (in the firefox profile folder). But i'm afraid firefox may delete my data once i reset my password. If not, will firefox sync my local data to their cloud after pw reset?

188
 
 

How reliable is this? Is it VoIP based or actual phone numbers that will be accepted everywhere?

189
 
 

Does fennec get around this?

190
 
 

So I've been using Firefox's container function for a while now and recently discovered the multi account container extension. What does this add over the built in containers? I've seen a lot of people say they need multi account containers but are disappointed that it's an extension so I'm curious what it adds.

191
 
 

Sometimes I'll be browsing Firefox and things go wrong seemingly at random - all pages load indefinitely or show a screen indicating failure to load. This can be fixed by running pkill firefox and then starting a new instance. A look at Dev Tools shows that all requests fail and a message NS_BINDING_ABORTED is shown. I have looked up "firefox NS_BINDING_ABORTED" but none of the results 1 2 3 4 5 6 7 provided any solution.

Does anyone here know more about this issue?

Firefox version information:

Firefox Borwser 126.0

Mozilla Firefox for Arch LInux

archlinux - 1.0

192
 
 

After some searching, it looks like I need to disable all hardware acceleration ? How can I disable only the minimum amount of stuff ?

193
 
 

cross-posted from: https://lemmy.ml/post/16193001

due to reasons I only have my tbb/ff bookmarks saved as jsonlz4 files, 10 backups.

Ideally, I could recover all those including the structure, but Id settle for the urls (and hopefully the names).

thanks

194
195
 
 

If I want to opt out, I can only opt out by disabling all usage telemetry according to the official doc https://support.mozilla.org/en-US/kb/share-data-mozilla-help-improve-firefox . That means that my usage habits and the usage habit of all people that do not want to share their search terms with firefox, i.e. all somewhat privacy interested people is just thrown into the void. For future browser decisions, this means that the browsing behavior of a whole group is neglected. This makes me sad.

196
 
 

I mean this context menu

197
 
 

I have been playing around with pwa-like experiences, and as part of that I tested "kiosk mode".

For those who don't know, you can start a "kiosk window" with the command firefox -kiosk --new-window <url>, which will open that url in fullscreen without a titlebar, right click menu, any overlays like the link preview or loading text, ...
I cancelled the fullscreen flag of my window, and had a resizable fully functional website in a frameless window.

Which was great and all, until I realized that in my running profile now every newly opened window is also in kiosk mode, and right click was globally disabled. My running firefox instance has been infected by the kiosk disease.

Anyway, it's not a large issue, I can just restart my infected instance. But I hate restarting my browser, it usually runs for multiple months.

My question is, is it possible to leave kiosk mode without restarting firefox?

198
 
 

Folks I downloaded bypass paywall clean d here and am trying to set it up (on android, mull). After I had to remove the old one, yknow.

I enable the debug menu, click install extension from file but then idk what I'm doing wrong. I did extract the file but nothing seems to work?

Would appreciate any help, thanks!

199
 
 

I don't like it when I go back to a tab and it reloads.

For whatever reason, I want tabs to stop changing. I don't want the to reload from their javascript and I don't want the tab content to be deleted by the automatic discard (to save memory)

If firefox decides to free memory, it should dump tab data and tab state to disk, not delete and reload from the website later.

Sometimes the website won't exist later.

Somewhat related but this one is hard : Some website dynamically delete content after you've scroll past it (firefox) this means even if you scroll to the "true" bottom, you can't ctrl+f search and you can't freeze the page and read it all at your leisure and preserve it for later.

Currently my solution is to video screen capture the whole tab while scrolling slowly, this is quite a ridiculous step to take but apparently the only option to keep our data !?

200
view more: ‹ prev next ›