sora 2 advanced bio editor

format your bio :yay:

作者
alexbadi
日安装量
0
总安装量
3
评分
0 0 0
版本
1.0.0
创建于
2025-10-13
更新于
2025-10-13
大小
13.8 KB
许可证
GPL-3.0
适用于

sora 2 advanced bio editor

Userscript that adds an advanced bio editor modal for Sora 2.

example of a modified profile

follow me on sora!

View the GitHub repo

features

  • modal editor that feels Sora-native
  • saves new lines on Sora's backend
  • handles authentication headers using the app's internal session token via wp modules or by patching fetch. (btw, it never leaves Sora)
  • uses Sora native toasts for success/error

advanced bio editor button

installation

  1. make sure you have a userscript manager in your browser (Tampermonkey, Violentmonkey, Greasemonkey, ...).
  2. open the userscript from this repository or from Greasyfork.
  3. make sure the userscript is enabled and visit https://sora.chatgpt.com/profile.

[!NOTE]
Note: The userscript only matches https://sora.chatgpt.com/profile. If Sora updates the page structure or the internal webpack module IDs change, some fallback behaviors are present but the userscript would need an update.

how to use

  1. Open your Sora profile, click the "Advanced bio editor" button (added by the userscript).
  2. Edit your biography in the modal. The textarea uses a monospace font so ASCII art lines align predictably.
  3. To center a selection of lines, select the text in the textarea and click the center icon (looks like three centered lines).
  4. Toggle "Reload after editing" if you want the page to reload automatically after a successful save.
  5. Click "Done" to submit. You should see a toast confirming success or an error message if something goes wrong.

advanced bio editor button

brief explanation of how it works

The userscript attempts to use Sora's internal modules to get the authentication headers. If that fails it falls back to reading the session access token and, if that fails too (lmao), it patches window.fetch to get the Authorization header.

The script POSTs JSON to https://sora.chatgpt.com/backend/project_y/profile/:userId with the { description: "..." } payload and sets oai-device-id and appropriate auth headers.

security & privacy

This script reads session tokens from the page context to perform authenticated requests to update your profile. Do not share the script or any modified version that exfiltrates tokens. Only install scripts from sources you trust and after verifying the code.

Your session token is only sent to Sora. It is used exclusively to authenticate the profile update request and is not transmitted to any other servers or persisted outside your browser session. (line 285)

license

GitHub License

This repository is published under the terms of the GNU General Public License v3 License. See the LICENSE file for details.