
內容簡介
jQuery Migrate 是一個 JavaScript 函式庫,它允許您保留您所開發的 jQuery 代碼與舊版本 (低於 1.9) 的相容性。它基本上還原了棄用的功能和行為,以便舊的代碼仍然可以在當前 jQuery 版本及以後正常運行。
大多數使用最新主題和外掛的網站不需要在前端使用 jQuery Migrate,因此可以安全地移除該腳本。通過移除它,瀏覽器將少下載和執行一個 JavaScript 文件。因此,您的網站將載入得更快!
閱讀我們關於 jQuery Migrate 和網站優化的文章。
外掛標籤
開發者團隊
② 後台搜尋「Remove jQuery Migrate Safely」→ 直接安裝(推薦)
原文外掛簡介
jQuery Migrate is a javascript library that allows you to preserve the compatibility of your jQuery code developed for versions of jQuery older than 1.9. It basically restores deprecated features and behaviors so that older code will still run properly on the current jQuery version and later.
Most websites that use up-to-date themes and plugins don’t require jQuery Migrate on the frontend, and thus the script can be safely removed. By removing it, the browser will have one less JavaScript file to download and execute. As a result, your site will load faster!
Read our article about jQuery Migrate and Website Optimization.
