This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NAME: OpenAI | |
# AUTHOR: blackmatrix7 | |
# REPO: https://github.com/blackmatrix7/ios_rule_script | |
# UPDATED: 2023-10-28 02:15:45 | |
# DOMAIN: 1 | |
# DOMAIN-KEYWORD: 1 | |
# DOMAIN-SUFFIX: 12 | |
# TOTAL: 14 | |
payload: | |
- DOMAIN,ai.cn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
webkit-playsinline, playsinline 兼容 iOS 内联播放 | |
x5-video-player-type 使 X5内核(QQ浏览器)使用 H5 的方式播放视频 | |
--> | |
<video | |
webkit-playsinline | |
playsinline | |
x5-video-player-type="h5" | |
src="https://h5app.qq.com/act/TEG/TEG_recruit3/video/roll.mp4"> | |
</video> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub autoFiller() | |
For i = 1 To 100 | |
' get filename | |
Dim name As String | |
name = Application.ActiveSheet.Range("H" & CStr(i + 2)) & Application.ActiveSheet.Range("I" & CStr(i + 2)) & "-" & Application.ActiveSheet.Range("B" & CStr(i + 2)) & ".xls" | |
' declare obj | |
Set ObjExcel = CreateObject("Excel.Application") | |
Set ObjWb = ObjExcel.Workbooks.Open("D:\auto\list\" & name) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( !preg_match('/micromessenger/i', strtolower($_SERVER['HTTP_USER_AGENT'])) ) { | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isWeixin = false; | |
if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") { | |
isWeixin = true; | |
} else { | |
if (document.addEventListener) { | |
document.addEventListener("WeixinJSBridgeReady", function() { isWeixin = true; }, false); | |
} else if (document.attachEvent) { | |
document.attachEvent("WeixinJSBridgeReady", function() { isWeixin = true; }); | |
document.attachEvent("onWeixinJSBridgeReady", function() { isWeixin = true; }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 调用微信内置浏览器查看图片功能 | |
* current - 查看图片的 url | |
* urls - 查看图片 url 集合 | |
*/ | |
function imagePreview(current, urls) { | |
// 解析相对路径 | |
var anchor = document.createElement('a'); | |
function parseUrl(url) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 带有 inline-block 属性的元素跟 inline 的元素类似 | |
* inline-block 之间的 html 空格或者制表符存在 letter-spacing 的间隙 | |
* 消除 inline-block 元素之间的间隙有以下的几种办法 | |
*/ | |
/* 1. 删除两个 inline-block html 元素之间 空格/制表符/换行符 */ | |
/* 2. 设置 inline-block 的父元素 font-size:0; 再把子元素设置回原来的大小 | |
* 但是此方法不兼容 IE6/7/8 会让其始终保持 1px 的间隙 */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 1. rem 单位是基于根元素(html)计算大小的 | |
* 2. 几乎所有的浏览器根元素字体大小都是 16px | |
* 3. 将 html 元素的字体大小调整到 10px 方便使用 rem | |
* 4. 采用层叠的方法兼容那些不支持 rem 单位的浏览器 | |
*/ | |
html { | |
/* 对应值为 font-size: 10px; */ | |
font-size: 62.5%; | |
} |