Greasy Fork

字幕助手: 一键视频字幕下载器

一键从多个视频平台轻松下载字幕

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

  • v0.6 2025-01-13
  • v0.5 2024-11-28

    [0.5] - 2024-11-28

    Fixed 修复

    • Fixed multiple popup windows issue when clicking the download button
    • 修复点击下载按钮时出现多个弹窗的问题

    Changed 更改

    • Improved URL acquisition method to only get the main frame URL
    • 改进 URL 获取方法,只获取主框架 URL

    Added 新增

    • Added frame detection to ensure script only runs in main frame
    • 添加框架检测,确保脚本只在主框架中运行
    • Added getCurrentTabUrl() function to get accurate tab URL
    • 添加 getCurrentTabUrl() 函数以获取准确的标签页 URL

    Technical Details 技术细节

    • Replace direct window.location.href with window.top.location.href
    • 将直接使用的 window.location.href 替换为 window.top.location.href
    • Added iframe check using window.self !== window.top
    • 添加使用 window.self !== window.top 的 iframe 检查

    Compatibility 兼容性

    • Maintains compatibility with all previously supported video platforms
    • 保持与所有先前支持的视频平台的兼容性
  • v0.4 2024-09-19

    Remove the button at the bottom right of the page to maintain a clean layout

  • v0.3 2024-09-19