Grok Private By Default

Automatically redirects to private chat on grok.com when on '/' or '/chat' without '#private'

当前为 2025-06-07 提交的版本,查看 最新版本

// ==UserScript==
// @name         Grok Private By Default
// @namespace    nisc
// @version      0.2
// @description  Automatically redirects to private chat on grok.com when on '/' or '/chat' without '#private'
// @author       nisc
// @match        https://grok.com/*
// @icon         https://grok.com/images/favicon-light.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    const path = window.location.pathname;
    const hash = window.location.hash;
    if (path === '/' || (path === '/chat' && hash !== '#private')) {
        window.location.href = 'https://grok.com/chat#private';
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址