-
-
Save manatsu-asuka-qin/6e590b657509a7cc44d6f9d5756bfc91 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 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
4b441 commented on 8 Jun 2020
你好,感谢分享,minyami超可爱。我想用任意外国IP地址观看abema海外版,试着添加了
Object.defineProperty(CLIENT_REGION, 'cdnURL', {
get: () => 'https://ds-glb-linear-abematv.akamaized.net/region'
});
Object.defineProperty(CLIENT_REGION, 'divisionCode', {
get: () => 1
});
使用abema不支持的外国IP测试,发现可以正常观看支持海外的直播频道譬如麻将。但看录播的时候似乎仍然会通过https://abematv.akamaized.net/region 检测区域,必须用日本IP验证,但视频流走的是https://ds-glb-vod-abematv.akamaized.net ,可以用外国IP下载。假如用原本可看海外版的IP,则会从https://ds-glb-linear-abematv.akamaized.net/region 检测,可以正常观看。
请问能不能帮忙改写一个外国IP用的版本,感谢!
@Last-Order
Last-Order commented on 8 Jun 2020
你的意思是想把 https://abematv.akamaized.net/region 劫持到 https://ds-glb-linear-abematv.akamaized.net/region 吗?
可以试试这个:https://chrome.google.com/webstore/detail/reres/gieocpkbblidnocefjakldecahgeeica
@4b441