<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[常用调试]在Chrome浏览器进行JS运行与调试替换firefox调试js的简单运行窗口，新版的firefox地址栏无法执行javascript脚本用命令行shift+F4调出脚本编辑器的解决办法。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Fri, 14 Jun 2013 07:10:19 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	在Chrome浏览器进行JS运行与调试:<br/>Open the Snippets pane<br/>The Snippets pane lists your snippets. To edit a snippet, open it in one of two ways:<br/><br/>Navigate to Sources &gt; More tabs. More tabs &gt; Snippets.<br/>源代码-&gt;代码段-&gt;输入：<br/>console.log(&#039;Hello, Snippets!&#039;);<br/>document.body.innerHTML = &#039;&#039;;<br/>const p = document.createElement(&#039;p&#039;);<br/>p.textContent = &#039;Hello, Snippets!&#039;;<br/>document.body.appendChild(p);<br/>mac按下：⌘+Enter<br/><br/><br/>来自：https://developer.chrome.com/docs/devtools/javascript/snippets/?utm_source=devtools<br/><br/>背景：主要是想通过在FF浏览器的Url栏里输入这样的，看中文：javascript.alert(&quot;&#92;u8428&#92;u6587&#92;u7389-&#92;u96ea&#92;u5c71&#92;u4e4b&#92;u604b&quot;);<br/><br/>&nbsp;&nbsp; 昨天firefox自动将我的3.6版本升级为firefox12，升级完后发现firefox12速度比firefox3.6快了许多，感觉还不错的。但是今天发现在firefox12地址栏中输入javascript:alert(123)这种javascript脚本时，无法执行，打开firebug看发现尽然出错了：uncaught exception:referenceError：alert is not defined。<br/>使用firefox3.6直接在地址栏输入javascript脚本都是可以执行的，升级了到firefox12就不行了？<br/><br/>网上查了一下，说是firefox7+版本以后不支持地址栏运行javascript脚本了，需要安装tab_utilities-1.1.5-fx.xpi扩展。+_+。。。<br/>点击这里下载或者安装tab_utilities-1.1.5-fx.xpi扩展:http://www.coding123.net/download/20120824/firefox-tab-utilities-1.1.5-fx.xpi.aspx，<br/>就可以在firefox7+版本以上的地址栏执行javascript脚本了。<br/><br/>当然还有第二个方法：<br/>You can find that here: Firefox &gt; Web Developer &gt; Scratchpad (Shift+F4) .[这个最好打开一个新的窗口]<br/>试了下果然可用，是这样的：调出那个框框后，直接输入（不再要javascript了）：<br/>alert(&quot;&#92;u8428&#92;u6587&#92;u7389-&#92;u96ea&#92;u5c71&#92;u4e4b&#92;u604b&quot;);<br/>按ctrl+r 就弹出框了，如下提示：<br/>萨文玉-雪山之恋<br/>来自：http://www.coding123.net/article/20120824/firefox-url-address-can-not-execute-javascript.aspx<br/>http://support.mozilla.org/zh-CN/questions/895963<br/><br/>最后，如果一些接口输出中文，如UTF8是三个字节组成，看不清，用那个Shift+F4调出后，直接粘贴json串进里面去，点格式美化就能显示出中文了，不用在地址栏里输出javascript:alert(&quot;ssssXXXAAA&quot;);。
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [常用调试]在Chrome浏览器进行JS运行与调试替换firefox调试js的简单运行窗口，新版的firefox地址栏无法执行javascript脚本用命令行shift+F4调出脚本编辑器的解决办法。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>