ForceMobileView:停用 tiny-font 自動啟用邏輯#57
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
@match的 URL 時自動啟用。Description
shouldAutoEnableForTinyFonts與相關的啟動分支,現在僅以符合@match的 URL 自動啟用行為。2026-05-20_1.7.5並同步調整@description以移除 tiny-font 描述。README.md中 Force Mobile View 的簡述以保持一致。scripts/test-force-mobile-view.js測試為驗證「非 match 的 tiny-font 頁面預設不自動啟用」,並更新TestCases.md對應說明。Testing
node --test scripts/test-force-mobile-view.js,結果為 6 個子測試中 4 個通過、2 個失敗(測試紀錄顯示有 2 個子測試失敗)。node --test --test-name-pattern "non-matched URLs no longer auto-enable mobile view even on tiny-font pages|matched URL auto-enables mobile view style" scripts/test-force-mobile-view.js,相關測試項目皆通過。Codex Task