GitHub License Insights 版本紀錄 - 6 個版本
GitHub License Insights 作者: Dizmo
GitHub License Insights 版本紀錄 - 6 個版本
小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。
版本 0.4.0
發行於 2026年6月3日 - 672.33 KB適用於 firefox 142.0 與更新版本Version 0.4.0:
- Fixed a bug where the license insights badge was incorrectly injected inside the README tab when the file contained an "About" heading.
- Scoped all DOM scraping and badge injection query selectors strictly to the repository sidebar container elements.原始碼依照 MIT License 條款釋出
版本 0.3.0
發行於 2026年5月28日 - 672.4 KB適用於 firefox 142.0 與更新版本Version 0.3.0:
- Migrated background processes to Manifest V3 service worker (Chrome) and compatible event pages (Firefox).
- Implemented chrome.storage.local caching to prevent unauthenticated GitHub API rate-limiting.
- Built a highly resilient, language-independent DOM scraper that utilizes GitHub's native octicon law icons to identify licenses.
- Refactored DOM injection to target container structures rather than localized strings, preventing badge display failures on translated pages.
- Enabled warning banners for repositories containing custom licensing exceptions or complex third-party license directories.
- Refactored layout styling using native GitHub CSS variables to automatically support Light, Dark, and Dimmed themes.原始碼依照 MIT License 條款釋出
版本 0.2.0
發行於 2026年5月28日 - 363.34 KB適用於 firefox 142.0 與更新版本Migrated the add-on to Manifest V3 structure.
Key changes in this version:
- Registered a background event page (scripts) for Firefox compatibility alongside the service worker fallback.
- Added storage-based caching (using chrome.storage.local) to cache repository license details. This prevents redundant API requests and avoids hitting unauthenticated rate limits.
- Implemented a fast-path DOM scraper that parses the repository sidebar to inject the license badge instantly.
- Added dynamic page navigation support (attaching to Turbo and PJAX load/render events) to ensure the badge updates when clicking links inside GitHub without refreshing the page.
- Configured dynamic CSS styling using GitHub's native style variables, supporting Light, Dark, and Dimmed modes automatically.
- Integrated the complex license warning alert to display when custom exceptions or third-party license directories are present.原始碼依照 MIT License 條款釋出