会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tcyo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2023年11月16日
js获取抖音弹幕
摘要: 使用JS 注入 注入方式 是以浏览器插件 function dom() { // 创建一个MutationObserver实例 let mutationObserver = new MutationObserver(function(mutationsList, observer) { for(va
阅读全文
posted @ 2023-11-16 14:49 樱桃树下的约定
阅读(509)
评论(0)
推荐(0)
2023年10月4日
图像放大镜🔍
摘要: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> * {box-sizing: border-box;} .img-zoom-con
阅读全文
posted @ 2023-10-04 09:57 樱桃树下的约定
阅读(31)
评论(0)
推荐(0)
图片放大镜
摘要: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> * {box-sizing: border-box;} .img-magnifie
阅读全文
posted @ 2023-10-04 09:55 樱桃树下的约定
阅读(37)
评论(0)
推荐(0)
2023年10月3日
HTML Canvas 画布
摘要: HTML <canvas>画布元素用于通过脚本(通常是JavaScript)动态绘制图形。 <canvas> 画布元素只是图形的容器。您必须使用脚本来实际绘制图形。 <canvas>有几种用于绘制路径、框、圆、文本和添加图像的方法。 绘制canvas <!DOCTYPE html> <html la
阅读全文
posted @ 2023-10-03 20:55 樱桃树下的约定
阅读(201)
评论(0)
推荐(0)
SVG标签
摘要: SVG 有一些预定义的形状元素 矩形 <rect> 圆形 <circle> 椭圆 <ellipse> 线 <line> 折线 <polyline> 多边形 <polygon> 路径 <path> 矩形 - <rect> <svg width="400" height="180"> <rect x="
阅读全文
posted @ 2023-10-03 14:43 樱桃树下的约定
阅读(132)
评论(0)
推荐(0)
2023年9月30日
纯css实现Tooltip提醒
摘要: <!DOCTYPE html> <html> <style> .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibi
阅读全文
posted @ 2023-09-30 21:39 樱桃树下的约定
阅读(155)
评论(0)
推荐(0)
2023年8月15日
更换git提交名称
摘要: git config user.name 查看当前名称 git config --global --replace-all user.name "xx" 需要更换的名称 Git用户名作用用户名相当于你的身份标识,是本地Git客户端的一个变量,不会随着Git库而改变。
阅读全文
posted @ 2023-08-15 10:16 樱桃树下的约定
阅读(77)
评论(0)
推荐(0)
2023年8月3日
监测浏览器是否打开调试模式并禁用调试
摘要: setInterval(function() { check() }, 4000); var check = function() { function doCheck(a) { if (("" + a/a)["length"] !== 1 || a % 20 0) { (function() {}
阅读全文
posted @ 2023-08-03 15:02 樱桃树下的约定
阅读(147)
评论(0)
推荐(0)
手摸手实现js自拍 开启摄像头 获取摄像头视频流
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-08-03 13:45 樱桃树下的约定
阅读(84)
评论(0)
推荐(0)
2023年6月26日
js数字转中文
摘要: // 定义常量数组,用于存储中文数字和单位 const chnNumChar = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']; const chnUnitSection = ['', '万', '亿', '万亿']; const chnUni
阅读全文
posted @ 2023-06-26 16:00 樱桃树下的约定
阅读(715)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告
返回顶端