GLM一次购买成功技巧,油猴桃脚本

429_TooManyRequests 2026-03-28 10:06 1

参考这个 终于抢到了GLM5 max套餐,分享下抢购小技巧


// ==UserScript==
// @name 智谱 GLM Coding 终极抢购助手 (数据拦截版)
// @namespace http://tampermonkey.net/
// @version 2.0
// @description 在底层拦截并篡改服务器返回的数据流,让前端框架彻底认为有货,从而原生激活按钮和完整的支付逻辑。
// @author YourName
// @match *://www.bigmodel.cn/*
// @run-at document-start
// @grant none
// ==/UserScript==

(function() {
'use strict';
console.log('[抢购助手2.0] 🚀 网络拦截器已在页面最早期启动...');

// ==========================================
// 战术一:拦截 SSR 页面初始注入数据与内部方法解析
// 通过劫持浏览器的 JSON 解析器,任何带有"售罄"属性的对象强制改为"有货"
// ==========================================
const originalJSONParse = JSON.parse;
JSON.parse = function(text, reviver) {
let result = originalJSONParse(text, reviver);

// 递归遍历所有解析出的对象属性
function deepModify(obj) {
if (!obj || typeof obj !== 'object') return;

// 篡改核心售罄标识
if (obj.isSoldOut === true) obj.isSoldOut = false;
if (obj.soldOut === true) obj.soldOut = false;
// 如果遇到 disabled,且该对象看起来是个商品(包含 price/id 等),则强制启用
if (obj.disabled === true && (obj.price !== undefined || obj.productId || obj.title)) {
obj.disabled = false;
}
// 有些系统会下发库存数量,顺手给它改大
if (obj.stock === 0) obj.stock = 999;

for (let key in obj) {
if (obj[key] && typeof obj[key] === 'object') {
deepModify(obj[key]);
}
}
}

try { deepModify(result); } catch (e) {}
return result;
};

// ==========================================
// 战术二:拦截 Fetch 接口请求
// 针对用户在页面停留时,前端向后端发起的存量/价格二次检查
// ==========================================
const originalFetch = window.fetch;
window.fetch = async function(...args) {
const response = await originalFetch.apply(this, args);
// 我们只处理 JSON 接口
const contentType = response.headers.get('content-type') || '';
if (contentType.includes('application/json')) {
const clone = response.clone();
try {
let text = await clone.text();
// 粗暴地全局替换响应体文字中的售罄状态
if (text.includes('"isSoldOut":true') || text.includes('"disabled":true') || text.includes('"soldOut":true')) {
console.log('[抢购助手] 拦截到 Fetch 售罄数据,正在执行篡改!', args[0]);
text = text.replace(/"isSoldOut":true/g, '"isSoldOut":false')
.replace(/"disabled":true/g, '"disabled":false')
.replace(/"soldOut":true/g, '"soldOut":false')
.replace(/"stock":0/g, '"stock":999');
// 构造并返回一份假的响应给 Vue
return new Response(text, {
status: response.status,
statusText: response.statusText,
headers: response.headers
});
}
} catch (e) {}
}
return response;
};

// ==========================================
// 战术三:拦截老式的 XMLHttpRequest (兜底)
// ==========================================
const originalXHROpen = XMLHttpRequest.prototype.open;
const originalXHRSend = XMLHttpRequest.prototype.send;

XMLHttpRequest.prototype.open = function(method, url, ...rest) {
this._reqUrl = url;
return originalXHROpen.call(this, method, url, ...rest);
};

XMLHttpRequest.prototype.send = function(...args) {
this.addEventListener('readystatechange', function() {
if (this.readyState === 4 && this.status === 200) {
const contentType = this.getResponseHeader('content-type') || '';
if (contentType.includes('application/json')) {
try {
let text = this.responseText;
if (text.includes('"isSoldOut":true') || text.includes('"disabled":true') || text.includes('"soldOut":true')) {
console.log('[抢购助手] 拦截到 XHR 售罄数据,正在执行篡改!', this._reqUrl);
text = text.replace(/"isSoldOut":true/g, '"isSoldOut":false')
.replace(/"disabled":true/g, '"disabled":false')
.replace(/"soldOut":true/g, '"soldOut":false');

// 用劫持 getter 的方式修改 this.responseText 给框架层消化
Object.defineProperty(this, 'responseText', { get: function() { return text; } });
Object.defineProperty(this, 'response', { get: function() { return JSON.parse(text); } });
}
} catch (e) {}
}
}
});
originalXHRSend.apply(this, args);
};

})();


提前进去,然后脚本已经将按钮可点击 点击后能弹出付款 但是空的 时间一到再点就能付款了

哈哈 不知道是不是被套路了,反正今天一次成功 ^-^






对 好像很多人都是这样 已经更新到市场 智谱 GLM Coding 前端按钮工具


这个只是前端工具 抢不抢得到还是要看缘分 ^-^


使用注意:需要如 篡改猴测试版 浏览器扩展详情中 将 允许运行用户脚本 开启,否则脚本不会生效


国际站不需要抢,价钱也差距不大 应该监管之类的还少一些,抢不到国内版的国际版的应该也还可以

最新回复 (19)
  • anyme 03-28 10:07
    1

    我手动 没抢到 哈哈

  • lolman 03-28 10:07
    2

    wow,^-^

  • zrj866 03-28 10:08
    3

    大佬牛逼啊

  • linfeei 03-28 10:08
    4

    感谢大佬

  • alizoed 03-28 10:09
    5

    今天打开就一直



    给我气的

  • 429_TooManyRequests 楼主 03-28 10:11
    6

    脚本可以少发好几个包,我玩手机都过了30秒才点 买的pro,应该是没人买 比较好抢的原因 ^-^ 买完了就觉得被套路了的感觉 哈哈

  • 大帅哥 03-28 10:35
    7

    感谢大佬!

  • NowwwW 03-28 12:24
    8

    感谢大佬!明天试试

  • 429_TooManyRequests 楼主 03-28 14:50
    9

    要提前进哦 不然页面都打不开

  • NowwwW 03-28 16:35
    10

    好的好的

  • 𝓱𝓸𝓹𝓲𝓷𝓰 03-28 16:41
    11

    明天看看

  • jiangly 03-29 10:01
    12



    抢到了,牛逼

  • 429_TooManyRequests 楼主 03-29 10:06
    13

    哈哈 我昨天还以为只是我运气好呢

  • isdkz 03-29 11:42
    14

    现在lite套餐可以用gpt-5-turbo了吗?

  • mmparko 03-29 11:44
    17

    6拿下了,明天试试

  • K 03-29 11:44
    18

    有大佬知道cc怎么优雅的配GLM-5.1吗,我用CCS早上一直触发熔断,但是在cherrystudio访问没啥问题,很奇怪~

  • hr_wang 03-29 11:44
    19

    感谢大佬分享

  • 朝夕时 03-29 11:46
    20

    GLM5.1 用着怎么样

  • Ne0 03-29 11:50
    21

    明天试试,感谢佬友

* 帖子来源Linux.do
返回