如何在浏览器的任何页面上直接运行jQuery? [英] How to run jQuery directly on any page in the browser?
问题描述
是否存在某种编程方式,或者是否有浏览器插件可以允许用户在当前加载到浏览器中的网页上随意运行他们想要的任何jQuery?
Is there some programmatic way or maybe a browser plugin that allows users to arbitrarily run any jQuery they want on a webpage that is currently loaded in their browser?
修改
我的动机是能够提前在页面上测试jQuery语法和命令,然后将其添加到其源中,或者向我尝试过其页面的Web管理员提出调整建议.
My motivation is to be able to test jQuery syntax and commands ahead of time on a page and then go add them to its source or suggest tweaks to the webadmins whose pages I experimented with.
推荐答案
FireQuery 是一个出色的Firebug扩展,可以为您添加jQuery,然后您就可以在控制台中使用jQuery.
FireQuery is a great Firebug extension that can include jQuery for you and from there you´re able to use jQuery in your console.
"jQuerify:使您可以将jQuery插入任何网页"
"jQuerify: enables you to inject jQuery into any web page"
这篇关于如何在浏览器的任何页面上直接运行jQuery?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!