Mobile-Friendly Test API 隆重登場
2017 年 1 月 31 日,星期二
有很多使用者來自行動裝置,因此對我們來說,打造適合行動裝置瀏覽的網路體驗至關重要。行動裝置相容性測試是手動檢查個別網頁的絕佳方式。我們很高興在此宣布,這項測試現已可透過 API 使用。
Mobile-Friendly Test API 可讓您使用自動化工具測試網址。例如,您可以使用這項工具來監控網站上的重要網頁,避免使用的範本中出現意外迴歸事件。API 方法會執行所有測試,並傳回與手動測試相同的資訊,包括封鎖的網址清單。本說明文件提供簡單的範例,協助您快速上手。
我們希望這個 API 能讓您更輕鬆檢查網頁是否適合行動裝置瀏覽,並更快解決這類問題。我們想知道您使用 API 的方式,歡迎前往我們的論壇發文與我們分享,並連結至您已設定的任何程式碼或導入方式!如有任何問題,歡迎前往網站管理員說明論壇提問。
發文者:Google 瑞士分公司的網站管理員趨勢分析師 John Mueller
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
[null,null,[],[[["Google's Mobile-Friendly Test is now accessible through an API, allowing automated testing of web pages for mobile responsiveness."],["The API provides the same comprehensive results as the manual test, including identified issues and blocked URLs."],["Developers can use the API to monitor crucial web pages and quickly address any mobile-friendliness regressions."],["Google encourages feedback and sharing of implementations through the webmaster help forum."],["Note: As of December 2023, the Mobile-Friendly Test and API have been retired."]]],["The Mobile-Friendly Test was announced as available via API, enabling automated URL testing for mobile-friendliness. The API allowed users to monitor web pages and identify issues like blocked URLs, mirroring the manual test's functionality. Documentation and code samples were provided for ease of use. This aimed to improve detection and resolution of mobile-friendliness problems, however, as of December 2023 the API has been retired.\n"]]