Firefox

17794 readers
28 users here now

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

founded 4 years ago
MODERATORS
551
 
 

Having moved from @Vivaldi to @firefox for windows, I've come accross this amazing plug-in that gives me keyboard control over Firefox. https://github.com/gdh1995/vimium-c

552
553
 
 

Back in June 2002, Ubuntu founder Mark Shuttleworth was experiencing space for the first time, the Department of Justice's antitrust case against Microsoft was reaching its final arguments, and Adam Price, using what was then called Mozilla on a Mac, had an issue with persistent tooltips.

"If I mouseover a toolbar link, and wait for a second, a little yellow box with the description of the link appears. If I now use command-tab to move Mozilla to the background, the little yellow box stays there, in the foreground. The only way to get rid of it is to put mozilla in the foreground again, and move the mouse off the toolbar," Price wrote on June 2. There were a few other bugs related to this issue, but Price set down a reproducible issue, confirmed by many others in the weeks to come—and months to come, years to come, and more than two decades to come.

Over the years, people would check in on the thread or mark other bugs as duplicates of this one issue. It would occasionally seem fixed, only for coders and commenters to discover that it was just a little different in different versions or that prior fixes were seemingly accidental. Sometimes it seemed to appear in Windows or Linux, too. One commenter, denis, noted that at the 21-year mark: "I'm kinda partial to let it be forever. It feels like a relic from the past."

That relic is no more, as a fix to Bug 148624 was pushed in early September, with the fix appearing in build 119. I tried to replicate the tooltip on my not-yet-updated 118.0.1 Firefox browser on Mac but could not experience this rite of passage for myself. The patch itself is quite small, adding a check for whether a document has focus to the tooltip-showing code.

Yifan Zhu, who wrote the patch to Firefox's Tooltip Listener, wrote to Ars that they first encountered the bug in Thunderbird on Linux, as "seemingly random segments of text floating on my screen." Switching frequently between virtual desktops left subject lines floating on their screen, which was "extremely annoying." Zhu learned to switch back to either Firefox or Thunderbird and move their cursor before switching back.

But it grew on them, so they researched and sought to submit the bug, but "To my horror, I realized this bug report has been open for more than 20 years, and still hasn't been fixed." Because it was "a minor 'cosmetic' issue not causing crashes," there was a good chance nobody would fix it—"Unless I do it myself," Zhu wrote.

Zhu was motivated and knew how to program but had "zero experience in projects as complicated as the Firefox browser" and had "never contributed to open source projects before." But it was the summer before their PhD program started. "So, why not?"

Their start was inauspicious, to say the least. "I just searched for 'tooltip' in the entire code base, examined stuff for possible candidates, and inserted debugging print statements to follow the execution," Zhu wrote. This eventually bore answers. "When the mouse hovers over some element, a timer is started to display the tooltip. The timer would be canceled on a mouse-out event, which Firefox wasn't getting when I used keyboard shortcuts to switch windows or virtual desktops."

Zhu pushed a commit that made tooltip display based on Firefox losing focus, rather than the mouse leaving the application. In the next few hours, they heard from Emilio Cobos Álvarez, who refined Zhu's approach and helped get the commit into the code base. While the fix has created some regression, that bug is seeing work, too.

Zhu, born in 1999, just three years before this bug was submitted, had just finished their undergrad and Masters work at Stanford when they went work on it. They are just starting their PhD in electrical engineering. They can only guess why a bug like this has lasted for most of their life. Their guess it that it's both a cosmetic inconvenience and tricky to reproduce, leaving other, more serious bugs with perennially higher ranking.

Cobos Álvarez, who shepherded Zhu's fix into a commit, wrote to us that "this area is rather tricky," given various Firefox configurations and how they respond to different operating systems. Finding a solution that elegantly dealt with a lack of input on when a Mozilla app wasn't in focus, without guarantee of OS input, was tricky. "Pretty impressive for his first Firefox contribution!"

On social media, especially the Mastodon instances where you might expect to find people with opinions on Mozilla's XML User Interface Language, there was much rejoicing. Some noted their amazement that Bugzilla itself, the bug reporting tool, had lasted even longer than the bug (25 years as of August). Some suggested that this fix countered the prevalence of "stalebots," which single out old, unresolved issues for deletion. And one drafted a full hero's journey.

Not anyone can make a great commit, but a great commit can come from anywhere.

554
 
 

Progress?

555
 
 

EDIT: Today I dug a bit more and found that dom.image-lazy-loading.enabled preference has been removed and saw this comment on a related thread:

FWIW, it should still be possible to effectively turn off lazy loading by setting dom.image-lazy-loading.root-margin.* to a big number.

Which I tried (value 100000) and it works!


Hi, I have a slow connection and for pages with lot of images it's very convenient to open the page and wait for all the images to load before watching them.


I have dom.image-lazy-loading.enabled set to false but I have found webs where it doesn't work, like with Behance galleries. I see the loading="lazy" attribute on the img tags, but they don't load until I scroll down to them.

Does anyone know if I'm missing something or if there is any way to debug it further?


There are also pages (like this one) in where ~~I don't see the loading="lazy" attribute but~~ I see a lazy-images.js file on the Debugger file list, data-lazy-src attributes in img elements and other img elements with loading="lazy" inside noscript tags. I understand that the dom.image-lazy-loading.enabled setting may not work with custom lazy loading implementations.

Does anyone know of any solution for these cases?


EDIT: I've also tried LazyLoadify add-on with no luck.


Thanks!

556
557
558
 
 
559
79
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

Many add-ons have somewhat spookiy authorisation requirements, such as "access all of your activity". In many cases this is justified by it's function, and of course there isn't any problem with it as long as we're sure all this data stays on your computer and isn't shared with any remote server. How are we sure of that tho? Is there an easy way to check for each add-on ?

560
 
 

I recently installed librewolf for enhanced privacy and I found it have option for firefox sync Should I use it?Will it reduce privacy?

561
 
 

Is there any firefox extension to process SRT or WebVTT files to show subtitles in any page? Not just video streaming sites.

Context: I have some subtitle files for some podcasts, so the site is only playing audio. I'm using podverse.fm
It'll be great to have something similar to lyrics sections in some music players to follow along the audio while reading.

562
 
 

Does firefox ios let you use a password manager? I have both bitwarden and proton pass installed and I'm unable to use either of them. I didn't have this issue on chrome or safari

563
564
 
 

Hi everyone, This isn't the biggest issue, but it's a bit concerning, and I'm hoping someone knows a solution.

I have my autoplay settings to block audio and video, with just the default exceptions. However, certain sites, such as https://youtubetranscript.com/ will autoplay videos anyway. (Try pasting a URL of a YouTube video in there and search, and the results will immediately start playing, which is aggravating and has actually disturbed people before when I forget that's a thing that happens.)

I've done some searching, and checked about:config, but I think everything is okay in there.

I've also tested this in LibreWolf, where the exact same thing happened.

I also attempted to test it in Tor, but for some reason I am unable to connect to the Tor network right now.

I'm hoping I can find the root of the problem since clearly if it happens on this site, then it's likely to happen on others, and I'd rather not have videos autoplaying when I expect them not to.

This may or may not happen in other browsers, but it's still a Firefox issue, since Firefox presents us with a setting to disable autoplay, and one would expect it to work.

Edit: Bonus side note: ~~The reason I couldn't connect to Tor is the new version isn't working. The solution is to downgrade to 12.5.3 and disable automatic updates for now.~~ Bonus side note to my bonus side note: Turns out Microsoft flagged the latest version of Tor as a threat. Fuck Microsoft.

Edit: See solution by @[email protected] below

565
 
 

Hey @mozilla, how can I have this page as RSS?

https://www.mozilla.org/en-US/security/advisories/

(I couldn't find any RSS or atom links in the HTML source)

cc @firefox

#mozilla #firefox #infosec

566
20
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

There are some cookies I don't want deleted, like ones I log into often with my credentials. Is there a way to mark those as "exceptions" when deleng all website data?

UPDATE: I mean this post for Firefox for Android.

567
19
submitted 1 year ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 
 

cross-posted from: https://sh.itjust.works/post/5599576

Does a Firefox equivalent to TubeSift Bookmarker exist?

I did a brief search of Firefox extensions, but couldn't find anything. Most of the ad-related YouTube extensions seemed devoted to blocking ads, rather than archiving and cataloguing them.

My current workflow is as follows:

  • Right-click on the video player, select "Copy debug info"
  • Alt+Tab to a text editor
  • Ctrl+V the debug info into text editor
  • Ctrl+F for "addocid"
  • Ctrl+C the advertisment video id
  • Alt+Tab back to browser
  • Ctrl+N to open new browser window
  • Type "youtu.be/"
  • Ctrl+V the video id
  • Wait a fraction of a second for the URL to redirect from youtu.be/[video_id] to https://www.youtube.com/watch?v=[video_id]&feature=youtu.be to https://www.youtube.com/watch?v=[video_id]
  • Ctrl+D to bookmark the video
  • Ctrl+W to close the browser window

I can usually do this in under 15 seconds, but I would like to find a faster (or completely automatic) method. Does anyone have any recommendations?

P.S. As for why I want to do this, I like to have the option of rewatching or referencing an interesting or funny ad at a later date. Most ads are unlisted videos, which makes them nigh impossible to look up.

Update: I partially automated my workflow using AutoHotKey.

568
 
 

Mozilla seems to be asleep at the wheel, when it once drove online activity and communications. We have some suggestions where it could go.

569
 
 

To do this, first you need to have Firefox Nightly or Beta installed on your phone, then go to addons.mozilla.org and search in the search bar for User-Agent Switcher and install it by pressing the "Add to Firefox" button and now you should have User-Agent Switcher installed.

Now, you must press the 3 dots on the Firefox toolbar and go to Add-ons and open User-Agent Switcher.

Once there, choose Firefox 117 (or whatever version is available at the time you read this) and it doesn't matter if it's Windows or Linux, but to keep things simple choose Windows / Firefox 117.

Now, go to addons.mozilla.org again and again press the 3 dots and activate the option that says "Desktop site" and that's it, now you should be able to install any addon you want by going to the addon you want and pressing the "Add to Firefox" button, then you will get a pop-up asking if you want to add the addon and simply press yes.

I hope this guide is useful to someone! I recently came across this by chance and really found absolutely no information regarding this, so I posted it here.

It should be noted that not all extensions work as expected, some don't even open, but most of them work.

570
 
 

Hey everyone. I'm just migrating to floorp (first time maining firefox in 15 years) and I'm wondering if there's any good workspaces extensions. I think I've tried them all, but i've found nothing that let's me handle workspaces across multiple windows the way vivaldi does.

Basically what I want is workspaces the way vivaldi handles them. You can create a workspace and add tabs to it. you can select to open a workspace in a new window so when you close the window that workspace is saved and you can reopen it whenever you want.

What I've found with the workspace extensions I've tried so far is that when you open a new window, none of your workspaces are saved, so it's like a blank workspace. Floorp has workspaces but it only works for one window at a time.

Does anyone have suggestions how I could replicate vivaldi's workspaces functionaltiy without going back to that browser?

571
31
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

Hey there, I'm a long time firefox user and have never ever had any problems with firefox. But after the latest update, the browser will now just randomly freeze and it happens very often. It will freeze for over a minute at the time, making it impossible to use the browser. I've refreshed firefox as suggested on their websites, I've reinstalled but still all the same. Anyone got any suggestions to what I can try? Or anyone else experienced the same thing?

Edit: Using Garuda Linux

Solved: It's not firefox, it's Garuda issues. Thanks for the tips and tricks everyone gave 🙌

572
 
 

Let me explain: When trying to create homescreen shortcuts to URLs, some sites only give you the option to "install" as a progressive web app and remove the normal (and sane) option to merely "Add to home screen." This has annoyed me for so long because, on top of this, there's no way to rename app shortcuts in Android, so for a long time I haven't created a shortcut to my skiff email inbox because it would automatically name itself "react-client," which is aggravatingly obscure.

Just now, it suddenly occurred to me that if I totally disconnect from internet and enter the URL, then Firefox won't know that it's a site that can be used as a progressive web app. taps forehead

Sure enough, I now have a tidy little link called (smartly) "Skiff Mail."

Thought this information might be helpful to someone. Hope you all have a Mozillarific day!

573
574
575
 
 

C'est fou quand même le manque de compatibilité des navigateurs avec la pseudo classe css :dir()
https://developer.mozilla.org/fr/docs/Web/CSS/:dir

Elle permet d'appliquer une règle de css différente en fonction du sens de lecture du texte et elle est prise en compte depuis 2016 par @firefox

cc @ButterflyOfFire @w3c

view more: ‹ prev next ›