编辑网页的JavaScript块...直播 [英] Edit JavaScript blocks of web page... live

查看:100
本文介绍了编辑网页的JavaScript块...直播的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道你可以在DOM视图中使用Firebug来编辑JavaScript变量,但是......有没有一种方法可以用来编辑嵌入到HTML页面中的实时JavaScript?



类似于.html页面中的这种类型:

 < script type = text / javascript> 
// code here
< / script>

感谢。

维基百科条目


书签是一个小应用程序,一个小型计算机应用程序,作为书签的URL存储在Web浏览器中,或作为网页上的超链接存储。术语是术语书签和小应用程序的一个portman,无论小书签实用程序是作为书签还是超链接,它们旨在为浏览器或网页添加一键式功能。点击后,小书签将执行一些功能诸如搜索查询或数据提取等多种类型。通常这个小程序是一个JavaScript程序。


作为相关说明不会尝试垃圾邮件或任何东西 I创建了书签工具生成器,以帮助我轻松创建书签。


I know you can use Firebug in the DOM view to edit JavaScript variables BUT... is there a way I can use (anything else) to edit live JavaScript that is embedded in a HTML page?

Like this kind that is in a .html page:

<script type="text/javascript>
// code here
</script>

Thanks.

解决方案

bookmarklets

From the Wikipedia entry

A bookmarklet is an applet, a small computer application, stored as the URL of a bookmark in a web browser or as a hyperlink on a web page. The term is a portmanteau of the terms bookmark and applet. Whether bookmarklet utilities are stored as bookmarks or hyperlinks, they are designed to add one-click functionality to a browser or web page. When clicked, a bookmarklet performs some function, one of a wide variety such as a search query or data extraction. Usually the applet is a JavaScript program.

And as a related note not trying to spam or anything I created a bookmarklet generator to help me create bookmarklets easier.

这篇关于编辑网页的JavaScript块...直播的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆