加载中
javascript protection

代码保护 https://linuxhint.com/protect-encrypt-javascript-code/ https://obfuscator.io/ 亲自效果不错 https://github.com/mishoo/UglifyJS 效果一般,不会混淆,还没webpack好用 数据加...

script标签的几个属性async、defer解释

If async="async": The script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing) If async is not present and ...

2019/04/28 17:57
73
unicode to utf-8

在网页上使用 unescape('\u5E7F') 在小程序上要将\u替换成%再使用

2018/12/08 17:15
114
H5音频不能自动播放的问题

原因 1. https://developers.google.com/web/updates/2017/09/autoplay-policy-changes 2. The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check t...

2018/09/28 11:56
7.9K
地图引擎:代替百度地图、高德地图等

https://leafletjs.com/ Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 38 KB of JS, it has all the mapping featur...

2018/09/25 14:51
410
支持MD5/SHA-1/SHA-2/SHA-3/HMAC/PBKDF2/AES/TripleDES/Rabbit/RC4等算法的JavaScript库

https://github.com/brix/crypto-js https://code.google.com/archive/p/crypto-js/ (代码一样,更新维护的更慢一些) var hash = CryptoJS.MD5("Message").toString(); var encrypted = C...

2018/06/02 16:18
353
jquery.chosen 动态更新

https://harvesthq.github.io/chosen/ 如果列表内容是动态修改的,更新完option后,需要再触发 chosen:updated 事件重新渲染。如 $("#tags").trigger("chosen:updated");...

2018/03/16 15:01
1.5K
各类前端技术排名统计

https://risingstars.js.org/2017/zh/

2018/01/20 17:01
383
jQuery设置同步调用接口

$.ajaxSetup({ async: false }); promise+async/await 也控制不住jquery :D,不在一个时代的产物了。

2017/12/12 17:01
692
浏览器的本地存储方案及跨域

浏览器的本地存储方案 1 IndexedDB exmample https://www.codeproject.com/Articles/325135/Getting-Started-with-IndexedDB https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_A...

2017/12/08 16:28
1.2K
Mock语法

https://github.com/nuysoft/Mock/wiki/Syntax-Specification

2017/12/01 18:57
192

没有更多内容

加载失败,请刷新页面

返回顶部
顶部