
前端
html js css等
阳光女孩666
这个作者很懒,什么都没留下…
展开
-
iframe获取父页面数据
frame_FSUPLD为iframe的IDsendContent1为iframe子页面的元素ID。js:parent.document.getElementById(“frame_FSUPLD”).contentWindow.document.getElementById(“sendContent1”).innerHTML;jquery:$(window.parent.document...原创 2019-06-12 09:14:33 · 3299 阅读 · 0 评论 -
js加密解密
些网站的js用简单的eval混淆加密了.如:解密其实很简单的,将eval改成alert,就可以看到明文。很多朋友以为这段代码是“加密”的,其实这也谈不上是加密,只能算是一种编码(Encode)或者也可以成为是一种打包(packer),类似于base64这样的编码,都是可以以一定方式还原的,当然也就是“解密”了。我们仔细分析这一段代码,不难发现代码开头都是eval,特征字符串是functio...转载 2019-04-19 15:57:36 · 742 阅读 · 0 评论 -
HTML5 respond.js
原文链接:https://www.cnblogs.com/xcsn/p/5586859.htmlhttps://www.cnblogs.com/pangxiaorong/p/7808256.html转载 2020-06-28 16:50:43 · 204 阅读 · 0 评论 -
网站域名变更通知
<!DOCTYPE html><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>网站域名变更通知</title> <style> ...原创 2019-04-03 17:27:48 · 129767 阅读 · 1 评论 -
css textarea readonly模拟disabled样式
IE下textarea设置disabled属性后,滚动条不能滚动,为解决该问题,使用readonly属性模拟disabled效果,css样式设置如下:textarea[readonly]{ background-color: #f5f5f5;/*背景色*/ color:#848484;/*字体颜色*/ border: 1px solid #d5d5d5;/*边框*/ cu...原创 2019-11-01 16:46:57 · 1573 阅读 · 1 评论