您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically select GPT-5 Thinking model in new chats.
当前为
// ==UserScript== // @name GPT-5 Thinking Autoselect // @description Automatically select GPT-5 Thinking model in new chats. // @version 1.6 // @author C89sd // @namespace https://greasyfork.org/users/1376767 // @match https://chatgpt.com/* // @run-at document-body // @noframes // ==/UserScript== 'use strict'; if (location.pathname === '/' && location.search === '') { location.search = '?model=gpt-5-thinking'; } // Log prev/next for SPA navigations const _pushState = history.pushState; const _replaceState = history.replaceState; function wrap(orig) { return function (state, title, url) { const prev = new URL(location.href); const next = url ? new URL(url, prev) : prev; const ret = orig.call(this, state, title, url); console.log(orig.name, 'prev:', prev.href, 'next:', next.href, 'current:', location.href); if (next.pathname === '/' && prev.pathname !== '/' && next.search !== '?model=gpt-5-thinking') { location.search = '?model=gpt-5-thinking'; } return ret; }; } history.pushState = wrap(_pushState); history.replaceState = wrap(_replaceState);