Torn Profile Link Formatter

Adds a dark-mode 'Copy' button with a customizable settings menu next to a user's name.

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

作者
Christopher Ebling (GNSC4)
评分
0 0 0
版本
1.1.2
创建于
2025-06-15
更新于
2025-06-15
大小
9.8 KB
许可证
暂无
适用于

Torn Profile Link Formatter


A simple and convenient userscript that adds a Copy button and a customizable Settings menu to Torn.com profile pages. This tool makes it easy to quickly generate and copy a pre-formatted link of a user's profile, perfect for sharing in chat or forums.


Features

  • One-Click Copying: Adds a "Copy" button right next to the user's name for instant access.
  • Customizable Format: Use the settings menu (⚙️) to choose which links you want to include in the copied text.
    • Profile Link
    • Attack Link
    • Faction Link
    • Company Link
  • Persistent Settings: Your link preferences are automatically saved, so you only need to set them once.
  • Intelligent Detection: The script automatically detects if a user is in a faction or a company. If they aren't, the option will be disabled in the settings menu for that profile.
  • Clean, Integrated UI: The buttons are styled with a dark theme to blend in seamlessly with the Torn interface.
  • Fast & Efficient: Uses a MutationObserver to ensure the buttons appear instantly as the page loads, with no noticeable delay.

How to Use

  1. Navigate to any user's profile page on Torn.com.
  2. You will see a Copy button and a ⚙️ (settings) icon appear next to the user's name.
  3. Click the "Copy" button to instantly copy the formatted link string to your clipboard.

    Example Output: Hornz - <a href="...">Profile</a> - <a href="...">Attack</a>
  4. Click the ⚙️ icon to open the settings menu.
  5. Check or uncheck the boxes for "Profile," "Attack," "Faction," or "Company" to customize what's included in the copied link. Your changes are saved automatically.

Feedback & Issues


If you encounter any bugs, have suggestions for new features, or need help, please feel free to leave feedback on the Greasy Fork page. Please include as much detail as possible, such as the browser you are using and any errors that appear in the developer console (F12).