blog/source/_posts/engadget-redirect-guce.md

2.9 KiB

title excerpt date tags
Prevent Engadget from redirect to guce Block its cookies 2019-06-09
firefox
web

Skip to solution.

Whenever I try to open an Engadget article, it will automatically redirect me to guce.advertising.com/... which is (thankfully) blocked by uBO.

{% image '20190609/guce-engadget.png' 'uBO blocks Engadget redirect' %}

Initially, I was able to workaround by opening the article in a private window, but it was not reliable. I didn't know why private window worked in the first place (and only found the reason later on). I figured it must be redirected by third-party javascript, so I checked the page source, looked for suspicious domains and block them using uBO. That didn't work, not even disabling javascript.

I then checked the Network Monitor (of Firefox Developer Tools) and I found it redirects using HTTP 302(?) response without any response body. This confirmed the redirection wasn't through javascript. But why it redirects but not in a private window?

I compared the request header between a normal and private window. There was no cookie sent in a private window. Then, I tried removing the cookie field and resend the request, but I didn't get any response. I wondered why a cookie is sent even after removing all the cookies and restarted the browser.

The source turned out to be Livemarks addon. It's a RSS addon, functions similarly to Live Bookmark feature that was removed in Firefox 64. I'm not blaming Livemarks here. Since I subscribe to Engadget's RSS, immediately after I start the browser, the RSS will be reloaded and a cookie would be set. It seems Engadget would set a cookie, regardless of links.

Firefox can block cookie by website. To block Engadget from setting a cookie, in Firefox:

  1. Go to Preferences.
  2. Navigate to Privacy & Security tab on the left.
  3. Scroll down to Cookies & Site Data section and open Manage Permissions.

{% image '20190609/privacy-settings.png' 'Privacy settings in Firefox' %}

  1. Put https://www.engadget.com as the address and click Block and save it.

{% image '20190609/engadget-block-cookie.png' 'Block Engadget cookies' %}

  1. If you have Clear history when Firefox enabled enabled, make sure Site Preferences is unchecked.

{% image '20190609/uncheck-site.png' 'Settings for clearing history' %}

That's it. If you want to know what is the purpose of guce.advertising.com, read on.

The previous owner of Engadget, AOL Inc was acquired by Verizon Media (previously known as Oath Inc) in May 2015. With Yahoo! and other media companies as part of its portfolio, Verizon Media can track readers across those websites. One way to do it is through cookie. So, guce.advertising.com is essentially a cookie consent form (page archived using archive.today).