Website animations not working properly in browsers

OS: Ubuntu 20.04 LTS; Graphics: GeForce GTX 1060 6GB/PCle/SSE2;

Some website animations aren’t working properly – they’re often jumpy – whereas they’re smooth on my Windows OS on the same PC. Some sites that rely on movement animations are basically unusable E.g. this site.

I’ve tried using Chrome and Firefox and the result is the same in both browsers. I’ve tried reinstalling Chrome too.

Go to Source
Author: House Leto

How do web ad’s collect revenue? By page rendering or by clicking?

Many sites ask for disabling AdBlock to continue using the site and I’ve obliged to the request if it’s absolutely must.


However, even if I disable the AdBlock, I never click the ads (hide them if possible), so my question is:

Does the site get money simply by rendering the ad to the page or does the money come only when clicking the ad?


If it’s by clicking, then what’s the point of disabling AdBlock? I won’t click the ads so they won’t get money either way.

I understand the disabling if the ad revenue algorithm activates through page rendering.

Go to Source
Author: K4R1

Setup optimal swap settings when firefox juggles with memory

My laptop runnning 20.04 has only 8GB of RAM but 32GB of swap on NVMe disk.

When RAM usage reaches ~90%, the “Web Content” processes of Firefox 79.0 (only those which are greedy in RAM such as social networks) start to juggle with memory pretty fast, even if the guilty tabs are inactive, and even if I finally free huge quantity of RAM to reach a reasonable percentage of usage as shown in the screenshot below.

Firefox juggles with chunks of RAM

My issue with this behaviour is that it slows down the whole system on the long term. THe only workaround I found is to open many apps to force swapping, and then close them so that RAM is freed but swap rate remains high.

I have 2 wishes:

  • How can I tell the kernel to swap earlier? At least Firefox wouldn’t have to deal with a few % of free memory. For instance just like the Windows pagefile strategy which seems to swap pages way before the Linux kernel does. My swapiness is currently 1, which looks the less terrible, I tried high values such as 60, 90, 100: it does not swap earlier but it’s definitely slower.
  • How can I prevent “Firefox Web Content” from juggling with RAM chunks for no reason? Not only it uses 100% of 1 CPU a few seconds for each change, but also the full system becomes slow a few seconds, that’s really nasty. Note: I am not wishing it could use less RAM, first because all browsers are RAM-greedy and second because I have 32GB of swap which can surely host pages from tabs I don’t use so much. So I just want it to stop freeing memory that it will request again 10 seconds later.

Go to Source
Author: myoan

Firefox: open .pdf files with acrordrdc (installed by snap)

I’m trying to open .pdf files in Firefox with acrordrdc installed via snap. I tried:

  1. Since acrordrdc file.pdf works it tried using a “wrapper” file:

    #!/bin/bash
    acrordrdc $1
    
  2. Editing the acrordrdc.desktop (see https://askubuntu.com/a/1168551/802536).

In the first case (the wrapper solution) acrordrdc opens with an empty window. No file is showed.

In the second case I can select “Acrobat Reader DC” in Firefox but nothing happens when the files is downloaded. Acrobat is not opened.

Go to Source
Author: Gabriele Nicolardi

How to prioritize firefox shortcuts over xfce key shortcuts

I would like to use the Firefox shortcuts for e.g. swap between tabs. But when I use CTRL+SHIFT+Pageup, then xfce will change window size. Is there any way to change the priority of shortcuts, so that when I am in Firefox, it will preferably use the Firefox shortcut and not the xfce shortcut?

I am using Linux Mint 19.3, xfce4.14

Go to Source
Author: Mara 01010011

CA certificate somehow not taken by browsers on android

This is a follow up question related to this answer.

In short: I am importing the Root CA certificate into android system via

Settings -> Security -> Trusted Credentials -> install from SD

path slightly differs on different android versions.

Then point any browser (tested with Firefox, chrome and opera) to the secure (java script based) resource and I receive a socket error. The resource is an index.html with js web-socket logic to securely connect to a mosquitto broker.

If I on the other hand point the browser to "https://myserver:<mysecure port>" I receive a privacy warning, can continue unsafe and this somehow sets a cookie or other storage thing thus I am able to do future requests over the js based secure resource.

How to accomplish browser based requests on android without accepting unsafe privacy risks?

Go to Source
Author: woodz

New browsers windows are always full screen

I have the feeling I am missing something obvious, but if I knew I wouldn’t be asking … every time I create a new browser window in Firefox on Ubuntu 20.04, the window size of the new window fills the entire screen. On a 4K monitor, that’s a bit excessive for a web browser window. How do I set the default size of new browser windows to be something smaller?

Go to Source
Author: kamprath