在Wordpress中注销后Javascript是否运行

时间:2017-05-13 20:43:04

标签: javascript php wordpress

我开始认为Javascript是一个无用的工具来控制浏览器在下面的会话被销毁时显示来自缓存数据的访问页面的问题是我的最新尝试。我使用localStorage.setItem()我不认为我正确地合并了代码。我不知道如何将它与WordPress"二十六岁"主题。毫不奇怪,下面的代码不起作用

<div class="_myci9">
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BRB4zUeBnYk/?taken-by=kingjames">
      <div class="_22yr2">
         <img alt="something" class="_icyx7" id="pImage_32" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/s640x640/sh0.08/e35/16906087_242760049518775_800349524768849920_n.jpg">
      </div>
   </a>
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BQvr-9_BE6S/?taken-by=kingjames">
      <div class="_22yr2">
        <img alt="something" class="_icyx7" id="pImage_33" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/e35/c143.0.409.409/16789700_731933080314257_4953666797892009984_n.jpg">
         
        
      </div>
   </a>
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BQqSt9TBmk2/?taken-by=kingjames">
      <div class="_22yr2">
        <img alt="something" class="_icyx7" id="pImage_34" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/e35/c0.64.618.618/16789715_173474169818953_8577321114865238016_n.jpg">
        
      </div>
   </a>
    <div class="_ovg3g"></div>
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BQogu-ihCIr/?taken-by=kingjames">
      <div class="_22yr2">
        <img alt="something" class="_icyx7" id="pImage_24" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/s640x640/sh0.08/e35/16789375_683901995123878_4667158291309133824_n.jpg">
        
      </div>
   </a>
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BQi3qtjFnR7/?taken-by=kingjames">
      <div class="_22yr2">
        <img alt="something" class="_icyx7" id="pImage_25" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/s640x640/sh0.08/e35/c0.135.1080.1080/16465687_1404916892863742_734096368578068480_n.jpg">
         
      </div>
   </a>
   <a class="_8mlbc _vbtk2 _t5r8b" href="/p/BQgbFZbFLeM/?taken-by=kingjames">
      <div class="_22yr2">
       <img alt="something" class="_icyx7" id="pImage_26" src="https://instagram.flju2-2.fna.fbcdn.net/t51.2885-15/s640x640/sh0.08/e35/c0.75.851.851/16465085_1795837224074827_2439164261574901760_n.jpg">
       
      </div>
   </a> 
   <div class="_ovg3g"></div>
</div>
<br>
<button  id="copybtn" type="button">Click to copy</button>
<textarea rows="4" cols="50">
place to copy links in
</textarea>

0 个答案:

没有答案