- 昵称:51助手
- 博龄:5年5个月24天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
国外网站分享
摘要:从一个网站复杂下来的分享链接inhttp://www.linkedin.com/shareArticle?mini=true&ro=true&title=分享标题&url=分享链接&summary=分享内容&armin=这个不清楚是啥fhttps://www.facebook.com/sharer/sharer.php
js获取远程图片尺寸
摘要:1.预加载获取图片大小var imgLoad = function (url, callback) { var img = new Image(); img.src = url; &nb
判断是否为百度蜘蛛
摘要:常见的病毒广告,判断不是百度蜘蛛页面正常显示<script>if(navigator.userAgent.toLocaleLowerCase().indexOf("baidu") == -1){document.title ="正常的网站标题"}</script>
Hbuild网站打包app添加微信分享功能
摘要:sitemap.json 添加公共引入的append.js文件模块权限勾选微信分享append.js文件$(function(){ //动态加载plusShare.js var script=document.createElement("script"); script.type=&q
web2App动态修改原生标题
摘要:plus.webview.currentWebview().setStyle({titleNView: {titleText: 'new text'}});
Hbuilder webt打包两个导行条处理
摘要:去除所有原生导在sitemap.json pages参数下面添加{ "webviewId" : "common", "matchUrls" : [ { "hostname" :
js动态显示当前时间
摘要: <div class="time">当前时间:<span id="time"><font color="#000"></font></span></div> <script t
discuz使用swiper
摘要:实现方法,通过discuz的diy 添加一个模块,放入自定义的html代码,通过外部js与css控制<div id="banner"> <div class="swiper-container"> <
判断搜索引擎蜘蛛访问网站时执行代码
摘要:在给网站杀毒时发现这串代码,意思是判断是搜索引擎来访问我们网站时,跳转到指定的网站去<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu"
百度编辑器失去、获取焦点触发事件
摘要:var ue = UE.getEditor('editor',{initialFrameWidth:'100%',initialFrameHeight:200}); //初始化百度编辑器 ue.addListener('focus',function(editor)