Skip to content

Instantly share code, notes, and snippets.

@4b441
Forked from Last-Order/abema_region_bypass.user.js
Last active October 16, 2021 08:48
Show Gist options
  • Save 4b441/b03e64dd00ed96c1ce238d045e080d4f to your computer and use it in GitHub Desktop.
Save 4b441/b03e64dd00ed96c1ce238d045e080d4f to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Abema 区域限制
// @version 1.0.0
// @run-at document-end
// @namespace Violentmonkey Scripts
// @match https://abema.tv/*
// @grant none
// ==/UserScript==
Object.defineProperty(__CLIENT_REGION__, 'isAllowed', {
get: () => true
});
Object.defineProperty(__CLIENT_REGION__, 'status', {
get: () => false
});
//海外版
Object.defineProperty(__CLIENT_REGION__, 'cdnURL', {
get: () => 'https://ds-glb-linear-abematv.akamaized.net/region'
});
Object.defineProperty(__CLIENT_REGION__, 'divisionCode', {
get: () => 1
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment