<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>js 归档 - 手里有只毛毛虫</title>
	<atom:link href="https://www.krjojo.com/tag/js/feed" rel="self" type="application/rss+xml" />
	<link>https://www.krjojo.com/tag/js</link>
	<description>号角声起 - 等你启航</description>
	<lastBuildDate>Wed, 08 Jan 2025 15:06:30 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.krjojo.com/wp-content/uploads/2025/02/毛毛虫2.avif</url>
	<title>js 归档 - 手里有只毛毛虫</title>
	<link>https://www.krjojo.com/tag/js</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>大陆、港澳台身份证、护照、军官证的正则表达式</title>
		<link>https://www.krjojo.com/10530.html</link>
					<comments>https://www.krjojo.com/10530.html#comments</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Wed, 08 Jan 2025 15:06:29 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[正则表达式]]></category>
		<category><![CDATA[身份证]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=10530</guid>

					<description><![CDATA[<p>前端验证大陆、港澳台身份证、护照、军官证号码的合法性。 初步整理了一下各个验证的正则表达式，记录一下，如果有错，还请指出一下 大陆身份证正则表达式 港澳身份证正则表达式 台湾身份证正则表达式 护照正则表达式 军官证正则表达式 户口本正则表达式</p>
<p><a href="https://www.krjojo.com/10530.html">大陆、港澳台身份证、护照、军官证的正则表达式</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/10530.html/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>超级好用的iframe高度自适应工具 iframe-resizer</title>
		<link>https://www.krjojo.com/10300.html</link>
					<comments>https://www.krjojo.com/10300.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Fri, 08 Nov 2024 11:43:28 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[js]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=10300</guid>

					<description><![CDATA[<p>iframe-resizer&#160;库旨在消除使用 iframe 的痛点。它将调整您的 iframe 大小以匹配您的内容大小，然后监控 iframe 以确保它始终是完美的大小。 https://github.com/davidjbradshaw/iframe-resizer 父页面 如果页面存在多个 iframe，并且全部需要自动适应高度 可以使用 iframe 标签全选中，放到最后一个ifa ...</p>
<p><a href="https://www.krjojo.com/10300.html">超级好用的iframe高度自适应工具 iframe-resizer</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/10300.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>XSS 跨站脚本 初识</title>
		<link>https://www.krjojo.com/9444.html</link>
					<comments>https://www.krjojo.com/9444.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Fri, 10 May 2024 15:33:56 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[xss]]></category>
		<category><![CDATA[跨站脚本]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=9444</guid>

					<description><![CDATA[<p>一、XSS（跨站脚本）概述 跨站脚本(Cross-Site Scripting，简称为XSS或跨站脚本或跨站脚本攻击)是一种针对网站应用程序的安全漏洞攻击技术，是代码注入的一种。它允许恶意用户将代码注入网页，其他用户在浏览网页时就会受到影响。恶意用户利用XSS代码攻击成功后，可能得到很高的权限（如执行一些操作)、私密网页内容、会话和cookie等各种内容。 XSS漏洞一直被评估为web漏洞中危害较 ...</p>
<p><a href="https://www.krjojo.com/9444.html">XSS 跨站脚本 初识</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/9444.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NODE_ENV 不是内部或外部命令，也不是可运行的程序，或者批处理文件</title>
		<link>https://www.krjojo.com/9056.html</link>
					<comments>https://www.krjojo.com/9056.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Tue, 16 Apr 2024 15:45:44 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[nodejs]]></category>
		<category><![CDATA[npm]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=9056</guid>

					<description><![CDATA[<p>环境 问题 运行 npm run build:prod 或 npm run build:dev 会报错 错误如下 查看 package.json 文件 解决办法 Windows不支持这种写法，最好换成Linux 或者拆分两条脚本</p>
<p><a href="https://www.krjojo.com/9056.html">NODE_ENV 不是内部或外部命令，也不是可运行的程序，或者批处理文件</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/9056.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>原生JS实现文字从下到上无缝轮播效果 公告轮播效果</title>
		<link>https://www.krjojo.com/8937.html</link>
					<comments>https://www.krjojo.com/8937.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Fri, 12 Apr 2024 03:16:03 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[公告轮播]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=8937</guid>

					<description><![CDATA[<p>多说无益，先看效果 在市面上找了许多无缝轮播效果样式，基本都离不开jQ，只好自己把jQ改写成原生实现了 来源地址：https://www.cnblogs.com/ccdr/p/10082157.html 这是原来jQ的实现部分 换用原生JS实现 不得不说jQ真的方便，比原生现实代码少了几倍 最后整个页面整理了一下 大概就是</p>
<p><a href="https://www.krjojo.com/8937.html">原生JS实现文字从下到上无缝轮播效果 公告轮播效果</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/8937.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://www.krjojo.com/wp-content/uploads/2024/04/chrome-capture-2024-3-12-1.webm" length="49404" type="video/webm" />

			</item>
		<item>
		<title>Use X-Content-Type-Options Header修复</title>
		<link>https://www.krjojo.com/8514.html</link>
					<comments>https://www.krjojo.com/8514.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Sat, 30 Mar 2024 02:31:31 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http响应头]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[xss]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=8514</guid>

					<description><![CDATA[<p>今天在看到了 Use X-Content-Type-Options Header 的警告 具体内容为：https://webhint.io/docs/user-guide/hints/hint-x-content-type-options/?source=devtools 大概意思就是： 响应头用来指定浏览器对未指定或错误指定Content-Type资源真正类型的猜测行为，nosniff表示不允许 ...</p>
<p><a href="https://www.krjojo.com/8514.html">Use X-Content-Type-Options Header修复</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/8514.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress文章中自动转义&quot;&#038;&quot;成&quot;&#038;038;&quot;</title>
		<link>https://www.krjojo.com/1458.html</link>
					<comments>https://www.krjojo.com/1458.html#respond</comments>
		
		<dc:creator><![CDATA[毛毛虫]]></dc:creator>
		<pubDate>Thu, 21 Mar 2024 16:43:25 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[信息技术]]></category>
		<category><![CDATA[&]]></category>
		<category><![CDATA[&038;]]></category>
		<guid isPermaLink="false">https://www.krjojo.com/?p=1458</guid>

					<description><![CDATA[<p>今天发现在文章内用自定义html写js时，&#38;号会被自动转义成 &#38;038; 。 html元素转义不要紧，但是js转义就直接报错了。 网上说在 function 里加各种代码都不行。 分享一个官方的解决方法： https://codex.wordpress.org/Using_Javascript 在自定义html内写入： 这时候就算换行，wordpress也不会给你加入&#60;p&#038;g ...</p>
<p><a href="https://www.krjojo.com/1458.html">WordPress文章中自动转义&quot;&#038;&quot;成&quot;&#038;038;&quot;</a>最先出现在<a href="https://www.krjojo.com">手里有只毛毛虫</a>。</p>
]]></description>
		
					<wfw:commentRss>https://www.krjojo.com/1458.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
