~jeffa/jeffa.io

164bd0655999c9c5a28c679cc83d6d2ce8fd5f3c — Jeff Anderson 5 months ago b3b87a4
Update Hulu article
1 files changed, 4 insertions(+), 1 deletions(-)

M client/src/content/hulu_location_cookie_spoof.md
M client/src/content/hulu_location_cookie_spoof.md => client/src/content/hulu_location_cookie_spoof.md +4 -1
@@ 1,6 1,7 @@
---
title: Hulu Location Cookie Spoof
date_written: Jan 29th, 2021
date_update: May 10th, 2021
---

# Hulu Location Cookie Spoof


@@ 17,7 18,7 @@ This cookie is *not* used to determine your local TV stations. That appears to d

## The Solution

Type the following in your browser's console (`Cmd/Ctrl + Opt/Alt/Meta + K` on Firefox) and refresh the page. Most browsers will save this command, allowing you to quickly type "↑" and retrieve the command when you need it.
Type the following in your browser's console (`F12` on Firefox for Linux) and refresh the page. Most browsers will save this command, allowing you to quickly type "↑" and retrieve the command when you need it.

The string format is `[latitude]&[longitude]&[timestamp]`.



@@ 35,6 36,8 @@ document.cookie = "geo=0&0&" + Date.now();
document.cookie = "geo=90&0&" + Date.now();

// Remind Hulu that you're on the North Pole once per hour.
// UPDATE: This does not work anymore. If you manage to get an automatic
// reminder working, please let me know!
setTimeout(() => {
    document.cookie = "geo=90&0&" + Date.now();
}, 3600000);