Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


RickD

280 posts

Ultimate Geek
+1 received by user: 8


#181249 8-Oct-2015 05:56
Send private message

Hi,

Does anyone know of an browser extension that allows you to spoof your time zone? Have searched and not found any working solutions

E.g. I'm currently in the UK and want my browser to appear as if it is in NZST time zone (to watch TVNZ OD without using a VM :]) without changing my system clock


Cheers





Create new topic
roobarb
701 posts

Ultimate Geek
+1 received by user: 643

Trusted

  #1402091 8-Oct-2015 06:28
Send private message

If you set your system time does it make any difference to what the website shows?

Although there are dates in https headers there is nothing to say show me in a specific timezone.

https://en.wikipedia.org/wiki/List_of_HTTP_header_fields

I've
found that preferred timezone tends to be a website account user setting.

You could try setting your user time zone rather than system time zone. ( eg TZ variable )




spmiller
41 posts

Geek
+1 received by user: 13

Lifetime subscriber

  #1402116 8-Oct-2015 08:07
Send private message

The TVNZ detection is via a small JS library. You can fool it into thinking you're in NZ via a Greasemonkey script, eg:

// ==UserScript==
// @name        Disable Timezone detection
// @namespace   spmiller.net
// @include     https://www.tvnz.co.nz/ondemand/*
// @version     1
// @grant       none
// ==/UserScript==
jstz.determine = function () {
  return {
    'name': function () {
      return 'Pacific/Auckland';
    }
  };
};

RickD

280 posts

Ultimate Geek
+1 received by user: 8


  #1402214 8-Oct-2015 10:05
Send private message

spmiller: The TVNZ detection is via a small JS library. You can fool it into thinking you're in NZ via a Greasemonkey script, eg:

// ==UserScript==
// @name        Disable Timezone detection
// @namespace   spmiller.net
// @include     https://www.tvnz.co.nz/ondemand/*
// @version     1
// @grant       none
// ==/UserScript==
jstz.determine = function () {
  return {
    'name': function () {
      return 'Pacific/Auckland';
    }
  };
};


Thanks spmiller, works perfectly :)



gzt

gzt
18676 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #1402396 8-Oct-2015 13:39
Send private message

Lucky you are in UK, we are waiting to find out if this just became an actual crime under TPP.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.