Optimize Google Analytics 4 page load time

Google will take you sites loading time into account when ranking your website.
So you want to make it as fast as possible.

If you use Google Analytics and maybe also Google Adsense, then they might be a big factor why your site is loading slowly.

With a pretty small code snippet you can increase the loading time with GP4.

Increase your website loading time with this Google Analytics code. (GP4)

It might be a bit hard for some people to set this up if you’re not a savvy user that are OK with getting dirty with file-editing and messing with the code.

Here’s the site with the code snippet and a tutorial how to set it up.

SOLVED! Stop the noise/static sound in Linux

A while ago I posted a crappy quick fix solution for the static, buzzing noise sound problem that a lot of Linux users have. It seems to be a pretty common problem for those who run Ubuntu, Linux Mint, Xubuntu and also other Linux distros.

I finally figured out what was causing the problem.
I’ll explain how to fix the problem with the crackling noise in Linux below.

The solution to the static noise problem in Linux

Open the terminal and type:
sudo nano /etc/pulse/default.pa

You will now have to type your admin password.
Once the file is open in nano, press CTRL + W to open the search field.
Type “suspend” without the quotes and press Enter.

You will now see this line:

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

You need to disable this line. Just type “#” without the quotes in front of the line with the text “load-module module-suspend-on-idle”.

It should now look like this:

### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle

Save the file by pressing CTRL + S. Then exit with CTRL + X.

Reboot your computer.

Hopefully you’ll be free from the annoying static sound.

Bookmarklet: Download videos from websites

It’s pretty annoying sometimes that you cant download a video you’re watching from a website.

I’ve found a bookmarklet that will let you download streaming videos from some websites.
And no, sorry, it does not work with YouTube. But it does work on lots of other “tube sites” and other kind of websites.

Download videos from websites - Bookmarklet

To use it you just have to create a new bookmark for the JavaScript code.

So go into “Manage Bookmarks” or whatever it’s called in the web browser you’re using.

Create a new bookmark with this JavaScript code in the URL field:

javascript:(function(xs){for(var i=0;i<xs.length;++i){if(xs[i].currentSrc){var a=document.createElement('a');a.target='_blank';a.download='';a.href=xs[i].currentSrc;a.click();return;}}})(document.querySelectorAll('audio,video'));

Enter a name for the bookmark and save/create it.

Go to a website with videos you can stream.
Play a video on that website and while it’s playing, click on the bookmark you just created.

If it works, a new window/tab will open up and the only thing showing is the video you want to download.
You can now right click on the video that is playing in the new windows and choose to save it.

But as I did mention, it doesn’t work on some websites. But it’s still worth a try.

While we’re speaking about bookmarklets, take a look at this bookmarklet that will load and show all pictures in open directories.

INFO: c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0

Are you having the string “c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0” as Mozilla Firefox Client ID?

It looks pretty weird right?

Lots of people wonder if they’ve been hacked. Or if their computer have been infected by some kind of virus or malware.

c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0 - Do you want to know what it is?

The reason you see c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0 as a client ID in Firefox web browser is because you have opt out of the Firefox Telemetry.

It’s a string that replaces the otherwise unique Firefox client ID. I admit it looks weird.

But you got nothing to worry about! But remember to always have a antivirus program installed on your computer anyway.

Got Mscorefonts installation problems? [SOLVED!]

Are you having problems to install the Mscorefonts under Linux? I had the same problem but I did manage to solve it.

Mscorefonts is a package of free fonts that looks pretty much exactly like the most used Microsoft fonts that are used in Windows operating systems and on millions of websites.

I’m running Linux Mint by the way. But even if you’re running another Linux distribution, try following the steps explained below. Because it will probably work for you too!

How to install the MScorefonts ona Linux system.

These fonts can be installed on Linux systems to ensure proper rendering of documents and web pages that use these fonts.

I tried to install the MSCoreFonts from the Software Manager, but that didn’t work.
So I tried to do it from the Terminal, but for some reason that didn’t work either.

But it worked fine with the following solution.

How to install mscorefonts using Synaptic

  1. Open the application called Synaptic Package Manager. If it is not installed, you can install it by running the command “sudo apt-get install synaptic” in the terminal.
  2. Click on the “Search” button in Synaptic Package Manager and search for “ttf-mscorefonts-installer“.
  3. Right-click on the package and select “Mark for Installation“. If it says that you’ve already installed it, just press the reinstall button.
  4. Click on the “Apply” button to start the installation process.
  5. During the installation process, you might be prompted to accept the Microsoft End User License Agreement. Use the Tab key to navigate to the “OK” button and press Enter to accept.
  6. Once the installation is complete, you can close Synaptic and start using the Mscorefonts on your PC.

That’s it. I hope it worked for you too!