Greasy Fork

BT4G Magnet AutoGen

自动转换BT4G哈希到磁力链接

目前为 2025-03-26 提交的版本。查看 最新版本

这些是代码更新过的版本。 显示所有版本

  • v1.4.4 2025-04-13

    refactor(bt4g-magnet-autogen): remove ad blocking functionality

    • Remove all ad blocking related code from the script
    • Update version number to1.4.4
    • Simplify description by removing mention of ad blocking
  • v1.4.3 2025-04-13

    build: update version number to 1.4.3

    • Increment version number from 1.4.2 to 1.4.3
  • v1.4.2 2025-04-13

    feat(bt4g): add theme toggle functionality

    • Inject theme toggle script into the document
    • Add dark and light theme support
    • Implement theme switching on button click
    • Save user's theme preference using cookies
    • Enhance user experience with search box focus on load
  • v1.4.2 2025-04-13

    fix(userscript): enhance adblocker and protect bootstrap functionality

    • Add whitelist for essential scripts (bootstrap, jquery, popper, etc.)
    • Ignore click interception for settings bar elements
    • Protect bootstrap dropdowns and theme toggle from event interference
    • Allow URLs containing "bootstrap"
  • v1.4.1 2025-04-13

    fix广告拦截:优化重要元素保护机制

    • 新增 ESSENTIAL_CLASSES 数组,包含需要保护的重要类名
    • 修改 isEssentialElement 函数,增加对新数组中类名的检查
    • 优化设置栏的检查逻辑,增加对主题切换和语言选择元素的检查
    • 版本号更新至 1.4.1
  • v1.4.0 2025-04-13

    fix(protection): allow interactions with the settings bar

    • Update isOverlay function to exclude the settings bar and its child elements
    • Enhance isEssentialElement function to include the settings bar- Improve navigation protection to prevent accidental clicks on the settings bar
  • v1.3.9 2025-04-05

    fix(security): enhance iframe message security and version update

    • Improve iframe message handling for better security
    • Update version number to 1.3.9
    • Refactor message origin verification process
    • Implement more robust URL parsing and domain checking
  • v1.3.8 2025-04-05

    feat(security): enhance navigation protection and refactor URL monitoring

    • Refactor URL monitoring to use more widely supported methods- Implement enhanced navigation protection against unwanted redirects
    • Replace deprecated APIs with modern alternatives
    • Improve form submission and hash change event handling
    • Add event listeners for popstate and beforeunload events
    • Monitor and block suspicious URL changes
  • v1.3.7 2025-04-05

    chore(bt4g-magnet-autogen): bump version to 1.3.7

    • Update script version from 1.3.6 to 1.3.7
  • v1.3.6 2025-04-05

    fix(bt4g): improve location.assign and location.replace overrides

    • Use Object.defineProperty to override location.assign and location.replace
    • Add fallback safeAssign and safeReplace functions
    • Handle potential errors during override
    • Maintain compatibility with other protection mechanisms
  • v1.3.6 2025-04-02

    feat(security): enhance ad blocker and prevent malicious redirects

    • Update version to 1.3.6
    • Improve overlay detection and removal
    • Add more sophisticated iframe and script checks
    • Implement better click and event interception
    • Enhance protection against popup windows and redirects
    • Refactor code for better readability and efficiency
  • v1.3.5 2025-04-02

    feat(security): enhance ad blocker to prevent malicious redirects and popups

    • Add allowed domains list for URL filtering- Implement comprehensive redirect prevention for window.open, location.href, location.assign, and location.replace
    • Intercept and block suspicious link clicks
    • Extend inline event cleanup to cover more event types and scenarios- Create a blocking layer to prevent accidental navigation away from the page
    • Improve overall ad blocking effectiveness and user experience
  • v1.3.4 2025-03-31

    feat(adblock): enhance ad blocking and add torrent download functionality

    • Add GM_xmlhttpRequest to enable cross-origin requests for torrent downloads
    • Implement direct torrent file download feature for supported hashes
    • Improve ad blocking by targeting suspicious iframes and body siblings
    • Display custom notifications for download status and ad block actions- Update version to 1.3.4
  • v1.3.3 2025-03-31

    feat(bt4g): add support for downloadtorrentfile.com

    • Add new match pattern for downloadtorrentfile.com/hash/*
    • Remove optional behavior for Torrent Download buttons
    • Update script version to1.3.3
  • v1.3.2 2025-03-29

    feat(bt4g): 优化磁力链接生成和复制功能

    • 更新版本号至 1.3.2
    • 优化磁力链接生成逻辑,使用 RegExp.exec替代 match 方法
    • 采用 async/await 方式实现剪贴板复制功能
    • 修复复制哈希值时的错误处理
  • v1.3.1 2025-03-29

    refactor(bt4g-magnet-autogen): 优化高级搜索功能的加载和显示逻辑

    • 将高级搜索功能的初始化逻辑移到 DOM 完全加载后执行
    • 添加检查以避免重复创建高级搜索选项容器
    • 使用全局标识符确保只初始化一次
    • 优化部分代码结构,提高可读性和性能
  • v1.3.0 2025-03-28

    feat: ad blocking (not test)

  • v1.2.3 2025-03-27

    feat: keyword maps change

  • v1.2.2 2025-03-27

    feat: media type

  • v1.2.1 2025-03-27

    feat: add ability to handle direct magnet links for deleted content

  • v1.2.0 2025-03-27

    feat: detailed page with advanced search

  • v1.1.5 2025-03-26

    fix: remove 全景声|杜比全景声

  • v1.1.4 2025-03-26

    feat: disable the check for differences between the current input and the last saved original query

  • v1.1.4 2025-03-26

    fix: stop reset search option

    feat: optimize interface theme color contrast and remove dropdowns

  • v1.1.2 2025-03-26

    feat: if change input reset the search option

  • v1.1.0 2025-03-26

    feat: keydown event listener

  • v1.1.0 2025-03-26

    feat: advanced search

  • v1.0.4 2025-03-26

    docs: change description

  • v1.0.3 2025-03-26

    test: update webhook test

  • v1.0.2 2025-03-26

    feat: change the trigger logic

  • v1.0.1 2025-03-26

    fix: change match

  • v1.0.0 2025-03-26