06 2022 档案

摘要:const ipt = document.querySelector('#ipt') ipt.oninput = (e) => { const v = (e.target.value + '').replace(/\D/g, '') const r = v.replace(/^(\d{3})/, ' 阅读全文
posted @ 2022-06-22 00:17 灰色的修饰 阅读(43) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> body { background: #f5f5fe; } .container { width: 400px; margin: 150px au 阅读全文
posted @ 2022-06-22 00:14 灰色的修饰 阅读(28) 评论(0) 推荐(0) 编辑
摘要:封装XMLHttpRequest对象拦截方法 function proxyRequest() { const _xhr = window.XMLHttpRequest; const proxies = []; const events = {}; const cache = { _this: nul 阅读全文
posted @ 2022-06-14 22:25 灰色的修饰 阅读(1000) 评论(0) 推荐(1) 编辑

主题色彩
点击右上角即可分享
微信分享提示