Forked from Last-Order/abema_region_bypass.user.js
Last active
October 16, 2021 08:48
-
-
Save 4b441/b03e64dd00ed96c1ce238d045e080d4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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