Replace jQuery version of a page with Greasemonkey

后端 未结 4 1556
鱼传尺愫
鱼传尺愫 2020-12-24 10:20

How can i replace jquery version of a page with greasemonkey?

Im trying to test a site with a newer version of jquery but i dont have a dev enviroment.

4条回答
  •  暖寄归人
    2020-12-24 10:25

    Making a dev environment, using source-control and a written release checklist will save you much grief (and is a requirement for most paid work).
    ~~~

    The best way to replace the jQuery version on an existing page (that you don't control) is to:

    1. Stop the page's native jQuery from loading.
    2. Create a
提交回复
热议问题