<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>js补环境 on yang&#39;s dev blog</title>
    <link>https://yangyang.dev/tags/js%E8%A1%A5%E7%8E%AF%E5%A2%83/</link>
    <description>Recent content in js补环境 on yang&#39;s dev blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <managingEditor>yangyang2035@google.com (yangyang)</managingEditor>
    <webMaster>yangyang2035@google.com (yangyang)</webMaster>
    <copyright>© Untitled. All rights reserved</copyright>
    <lastBuildDate>Thu, 14 Sep 2023 10:39:58 +0800</lastBuildDate><atom:link href="https://yangyang.dev/tags/js%E8%A1%A5%E7%8E%AF%E5%A2%83/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>网站防止F12调试的简单javascript代码</title>
      <link>https://yangyang.dev/posts/js/website-anti-copy/</link>
      <pubDate>Thu, 14 Sep 2023 10:39:58 +0800</pubDate>
      <author>yangyang2035@google.com (yangyang)</author>
      <guid>https://yangyang.dev/posts/js/website-anti-copy/</guid>
      <description>网站防止F12调试的简单javascript代码 我们的网站如果需要防止别人查看源码，可以禁止F12，当别人按下F12的时候，通过javascript拦截，并提示。
&amp;lt;script&amp;gt; document.onkeydown = function(){ if(window.event &amp;amp;&amp;amp; window.event.keyCode == 123) { alert(&amp;#34;Hi,欢迎来到xx！&amp;#34;); event.keyCode=0; event.returnValue=false; } if(window.event &amp;amp;&amp;amp; window.event.keyCode == 13) { window.event.keyCode = 505; } if(window.event &amp;amp;&amp;amp; window.event.keyCode == 8) { alert(str+&amp;#34;\n请使用Del键进行字符的删除操作！&amp;#34;); window.event.returnValue=false; } } &amp;lt;/script&amp;gt; </description>
    </item>
    
    <item>
      <title>nodejs补浏览器环境</title>
      <link>https://yangyang.dev/posts/js/toutiao/</link>
      <pubDate>Mon, 11 Sep 2023 10:39:58 +0800</pubDate>
      <author>yangyang2035@google.com (yangyang)</author>
      <guid>https://yangyang.dev/posts/js/toutiao/</guid>
      <description>头条获取_signature参数 https://www.moses.run/articles/toutiao-signature</description>
    </item>
    
    <item>
      <title>nodejs补浏览器环境</title>
      <link>https://yangyang.dev/ru/posts/js/toutiao/</link>
      <pubDate>Mon, 11 Sep 2023 10:39:58 +0800</pubDate>
      <author>yangyang2035@google.com (yangyang)</author>
      <guid>https://yangyang.dev/ru/posts/js/toutiao/</guid>
      <description>头条获取_signature参数 https://www.moses.run/articles/toutiao-signature</description>
    </item>
    
  </channel>
</rss>
