X (Twitter) Bookmark Scroll Position Keeper

Fixes automatic scroll to top after clicking on a bookmarked post in X (formerly Twitter) Bookmarks page

Acestea sunt versiunile scriptului în care codul a fost actualizat. Arată toate versiunile.

  • v0.4 13-01-2025

    Version 0.4 (2024-01-13)

    Added

    • Support for activating the script when navigating to bookmarks page from any X/Twitter page
    • URL change detection using MutationObserver and History API
    • Conditional script execution based on current page path

    Changed

    • Extended @match patterns to cover all X/Twitter pages
    • Improved script initialization and event handling
    • Better logging for debugging purposes

    Technical Details

    • Added route change detection for Single Page Application (SPA) compatibility
    • Implemented page-specific activation logic
    • Enhanced error handling and performance

    版本 0.4 (2024-01-13)

    新增

    • 支持从任意 X/Twitter 页面导航到书签页面时激活脚本
    • 使用 MutationObserver 和 History API 检测 URL 变化
    • 基于当前页面路径的条件性脚本执行

    变更

    • 扩展了 @match 匹配规则以覆盖所有 X/Twitter 页面
    • 改进了脚本初始化和事件处理机制
    • 优化了调试日志输出

    技术细节

    • 添加了路由变化检测以兼容单页应用(SPA)
    • 实现了页面特定的激活逻辑
    • 增强了错误处理和性能表现
  • v0.3 02-08-2024

    v0.3 (2024-08-02)

    • Added support for twitter.com domain
    • The script now works on both x.com and twitter.com bookmark pages
    • Improved compatibility to cover all current Twitter domain usage
  • v0.2 01-08-2024

    v0.2 (2024-08-01)

    • Initial release
    • Fixed the issue of automatic scrolling to the top after clicking on a bookmarked post in X (formerly Twitter) Bookmarks page
    • Added support for maintaining scroll position when navigating through bookmarks
  • v0.1 01-08-2024