每日签到奶昔超市积分商城奶昔访达
返回列表 发布新帖
查看: 588|回复: 11

微软Outlook注册没有0元订购ChatGPT Business解决方法

发表于 2025-12-20 10:04:28 | 查看全部 |阅读模式

登录后免广告,享受更多奶昔会员权益!

您需要 登录 才可以下载或查看,没有账号?注册

×
发现微软邮件注册完OpenAI账号也没有0元订购 ,一般outlook和gmail这些都不给开的,现在其实是可以后台直接百分百提取0元链接
今天有人问我 ,我感觉很多人不知道我应该让更多人知道,非常简单
直接给代码,我做成了一个书签脚本,保存为书签 ,登录以后点击书签即可:
  1. javascript:(async function (){try {const t=await (await fetch("/api/auth/session")).json();if (!t.accessToken){alert("请先登录 ChatGPT!");return} const p={plan_name:"chatgptteamplan",team_plan_data:{workspace_name:"Fangmu",price_interval:"month",seat_quantity:5},promo_campaign:{promo_campaign_id:"team-1-month-free",is_coupon_from_query_param:!0},checkout_ui_mode:"redirect"};const r=await fetch("https://chatgpt.com/backend-api/payments/checkout",{method:"POST",headers:{Authorization:"Bearer "+t.accessToken,"Content-Type":"application/json"},body:JSON.stringify(p)});const d=await r.json();if (d.url){window.location.href=d.url} else {alert("提取失败:"+(d.detail||JSON.stringify(d)))}} catch (e){alert("发生错误:"+e)}})();
复制代码
如果不会用还有篡改猴的版本,安装油猴插件再导入脚本
油猴版
  1. // ==UserScript==
  2. // [url=home.php?mod=space&uid=4014]@name[/url]         ChatGPT Team 支付链接提取器
  3. // @namespace    http://tampermonkey.net/
  4. // @version      1.0
  5. // @description  提取ChatGPT Team计划的支付跳转链接
  6. // @author       You
  7. // @match        https://chatgpt.com/*
  8. // @match        https://chat.openai.com/*
  9. // @grant        GM_notification
  10. // @grant        GM_setClipboard
  11. // @run-at       document-idle
  12. // ==/UserScript==

  13. (function() {
  14.     'use strict';

  15.     // 创建界面元素
  16.     function createUI() {
  17.         const container = document.createElement('div');
  18.         container.id = 'team-link-extractor';
  19.         container.style.cssText = `
  20.             position: fixed;
  21.             top: 20px;
  22.             right: 20px;
  23.             background: white;
  24.             border: 2px solid #10a37f;
  25.             border-radius: 10px;
  26.             padding: 15px;
  27.             box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  28.             z-index: 9999;
  29.             min-width: 300px;
  30.             max-width: 400px;
  31.             font-family: system-ui, -apple-system, sans-serif;
  32.         `;

  33.         const title = document.createElement('div');
  34.         title.textContent = 'ChatGPT Team 链接提取器';
  35.         title.style.cssText = `
  36.             font-weight: bold;
  37.             font-size: 16px;
  38.             margin-bottom: 10px;
  39.             color: #10a37f;
  40.         `;

  41.         const button = document.createElement('button');
  42.         button.id = 'extract-btn';
  43.         button.textContent = '提取支付链接';
  44.         button.style.cssText = `
  45.             background: #10a37f;
  46.             color: white;
  47.             border: none;
  48.             padding: 10px 20px;
  49.             border-radius: 5px;
  50.             cursor: pointer;
  51.             font-size: 14px;
  52.             width: 100%;
  53.             margin-bottom: 15px;
  54.             transition: background 0.3s;
  55.         `;
  56.         button.onmouseover = () => button.style.background = '#0d8c6d';
  57.         button.onmouseout = () => button.style.background = '#10a37f';

  58.         const resultContainer = document.createElement('div');
  59.         resultContainer.id = 'result-container';
  60.         resultContainer.style.cssText = `
  61.             display: none;
  62.             margin-top: 10px;
  63.         `;

  64.         const resultLabel = document.createElement('div');
  65.         resultLabel.textContent = '提取结果:';
  66.         resultLabel.style.cssText = `
  67.             font-size: 14px;
  68.             margin-bottom: 5px;
  69.             color: #666;
  70.         `;

  71.         const resultText = document.createElement('div');
  72.         resultText.id = 'result-text';
  73.         resultText.style.cssText = `
  74.             background: #f5f5f5;
  75.             padding: 10px;
  76.             border-radius: 5px;
  77.             font-size: 12px;
  78.             word-break: break-all;
  79.             max-height: 100px;
  80.             overflow-y: auto;
  81.             border: 1px solid #ddd;
  82.         `;

  83.         const copyBtn = document.createElement('button');
  84.         copyBtn.id = 'copy-btn';
  85.         copyBtn.textContent = '复制链接';
  86.         copyBtn.style.cssText = `
  87.             background: #4a5568;
  88.             color: white;
  89.             border: none;
  90.             padding: 5px 10px;
  91.             border-radius: 3px;
  92.             cursor: pointer;
  93.             font-size: 12px;
  94.             margin-top: 5px;
  95.             display: none;
  96.         `;

  97.         const status = document.createElement('div');
  98.         status.id = 'status';
  99.         status.style.cssText = `
  100.             font-size: 12px;
  101.             margin-top: 5px;
  102.             color: #666;
  103.         `;

  104.         resultContainer.appendChild(resultLabel);
  105.         resultContainer.appendChild(resultText);
  106.         resultContainer.appendChild(copyBtn);
  107.         resultContainer.appendChild(status);

  108.         container.appendChild(title);
  109.         container.appendChild(button);
  110.         container.appendChild(resultContainer);

  111.         document.body.appendChild(container);

  112.         // 添加事件监听器
  113.         button.addEventListener('click', extractPaymentLink);
  114.         copyBtn.addEventListener('click', copyToClipboard);
  115.     }

  116.     // 提取支付链接
  117.     async function extractPaymentLink() {
  118.         const btn = document.getElementById('extract-btn');
  119.         const resultContainer = document.getElementById('result-container');
  120.         const resultText = document.getElementById('result-text');
  121.         const copyBtn = document.getElementById('copy-btn');
  122.         const status = document.getElementById('status');

  123.         btn.disabled = true;
  124.         btn.textContent = '提取中...';
  125.         btn.style.background = '#999';
  126.         resultText.textContent = '';
  127.         copyBtn.style.display = 'none';
  128.         status.textContent = '';

  129.         try {
  130.             // 获取 session
  131.             const sessionResponse = await fetch("/api/auth/session");
  132.             const sessionData = await sessionResponse.json();

  133.             if (!sessionData.accessToken) {
  134.                 status.textContent = '请先登录ChatGPT!';
  135.                 status.style.color = '#e53e3e';
  136.                 resultContainer.style.display = 'block';
  137.                 return;
  138.             }

  139.             // 构建请求参数
  140.             const payload = {
  141.                 plan_name: "chatgptteamplan",
  142.                 team_plan_data: {
  143.                     workspace_name: "Fangmu",
  144.                     price_interval: "month",
  145.                     seat_quantity: 5
  146.                 },
  147.                 promo_campaign: {
  148.                     promo_campaign_id: "team-1-month-free",
  149.                     is_coupon_from_query_param: true
  150.                 },
  151.                 checkout_ui_mode: "redirect"
  152.             };

  153.             // 发送请求
  154.             const response = await fetch("https://chatgpt.com/backend-api/payments/checkout", {
  155.                 method: "POST",
  156.                 headers: {
  157.                     Authorization: "Bearer " + sessionData.accessToken,
  158.                     "Content-Type": "application/json"
  159.                 },
  160.                 body: JSON.stringify(payload)
  161.             });

  162.             const data = await response.json();

  163.             if (data.url) {
  164.                 resultText.textContent = data.url;
  165.                 resultContainer.style.display = 'block';
  166.                 copyBtn.style.display = 'inline-block';
  167.                 status.textContent = '✅ 链接提取成功!';
  168.                 status.style.color = '#38a169';

  169.                 // 显示通知
  170.                 if (typeof GM_notification !== 'undefined') {
  171.                     GM_notification({
  172.                         text: '支付链接已成功提取',
  173.                         title: 'ChatGPT Team 链接提取器',
  174.                         timeout: 3000
  175.                     });
  176.                 }
  177.             } else {
  178.                 resultText.textContent = JSON.stringify(data, null, 2);
  179.                 resultContainer.style.display = 'block';
  180.                 status.textContent = '❌ 提取失败:' + (data.detail || '未知错误');
  181.                 status.style.color = '#e53e3e';
  182.             }
  183.         } catch (error) {
  184.             resultText.textContent = error.toString();
  185.             resultContainer.style.display = 'block';
  186.             status.textContent = '❌ 发生错误';
  187.             status.style.color = '#e53e3e';
  188.             console.error('提取错误:', error);
  189.         } finally {
  190.             btn.disabled = false;
  191.             btn.textContent = '提取支付链接';
  192.             btn.style.background = '#10a37f';
  193.         }
  194.     }

  195.     // 复制到剪贴板
  196.     async function copyToClipboard() {
  197.         const resultText = document.getElementById('result-text');
  198.         const status = document.getElementById('status');

  199.         try {
  200.             if (typeof GM_setClipboard !== 'undefined') {
  201.                 await GM_setClipboard(resultText.textContent, 'text');
  202.             } else {
  203.                 // 备用方法
  204.                 const textArea = document.createElement('textarea');
  205.                 textArea.value = resultText.textContent;
  206.                 document.body.appendChild(textArea);
  207.                 textArea.select();
  208.                 document.execCommand('copy');
  209.                 document.body.removeChild(textArea);
  210.             }

  211.             status.textContent = '✅ 链接已复制到剪贴板!';
  212.             status.style.color = '#38a169';

  213.             setTimeout(() => {
  214.                 status.textContent = '';
  215.             }, 2000);
  216.         } catch (error) {
  217.             status.textContent = '❌ 复制失败';
  218.             status.style.color = '#e53e3e';
  219.         }
  220.     }

  221.     // 初始化
  222.     window.addEventListener('load', function() {
  223.         setTimeout(createUI, 2000); // 等待页面加载完成
  224.     });

  225.     // 添加样式
  226.     const style = document.createElement('style');
  227.     style.textContent = `
  228.         #extract-btn:hover {
  229.             opacity: 0.9;
  230.         }
  231.         #copy-btn:hover {
  232.             opacity: 0.9;
  233.         }
  234.         #team-link-extractor {
  235.             animation: slideIn 0.3s ease-out;
  236.         }
  237.         @keyframes slideIn {
  238.             from {
  239.                 transform: translateX(100%);
  240.                 opacity: 0;
  241.             }
  242.             to {
  243.                 transform: translateX(0);
  244.                 opacity: 1;
  245.             }
  246.         }
  247.     `;
  248.     document.head.appendChild(style);
  249. })();
复制代码
收起

希望能给大家提供到帮助~
跳转0元支付 ,支付成功即可

0元购可能存在封号风险,大家请小号新号尝试 ,风险自行承担
PayPal需要改到EEA再订购才有...
爱生活,爱奶昔~
回复

使用道具 举报

发表于 2025-12-20 10:07:50 | 查看全部
理论上任何邮箱都可以 ,没有什么邮箱更正规一说
爱生活,爱奶昔~
发表于 2025-12-20 10:19:23 来自手机 | 查看全部
搞定了,现在在研究怎么用pp
爱生活,爱奶昔~
发表于 2025-12-20 11:04:11 | 查看全部
好用的
爱生活,爱奶昔~
发表于 2025-12-20 11:04:42 来自手机 | 查看全部
目前用教师版感觉也够用了
爱生活,爱奶昔~
发表于 2025-12-20 11:10:13 来自手机 | 查看全部
谢谢大佬
爱生活,爱奶昔~
发表于 2025-12-20 11:23:45 来自手机 | 查看全部
感谢分享
爱生活,爱奶昔~
发表于 2025-12-20 14:32:16 来自手机 | 查看全部
还是用不了paypal支付
爱生活,爱奶昔~
发表于 2025-12-20 16:53:42 | 查看全部
感谢分享,试试
爱生活,爱奶昔~
发表于 2025-12-20 20:30:14 来自手机 | 查看全部
gmail之前试用过一次,可以的!
爱生活,爱奶昔~
发表于 2026-1-4 09:48:08 | 查看全部
这个好
爱生活,爱奶昔~
发表于 2026-1-6 16:02:55 | 查看全部
佬,这个脚本用了好长时间感觉一直很好用,现在别人似乎通过网页访问不了了,但是你这个脚本还可以,你是咋发现这个的,以后还会更新吗
爱生活,爱奶昔~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

© 2026 Naixi Networks. 沪ICP备13020230号-1|沪公网安备 31010702007642号手机版小黑屋RSS
返回顶部 关灯 在本版发帖
快速回复 返回顶部 返回列表