会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ajanuw
做自己的King
博客园
首页
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
40
下一页
2020年10月13日
windows driver 简单的驱动和通信
摘要: sysmain.c #pragma once #pragma warning(disable: 4100) #include <ntifs.h> #include <ntddk.h> #define IO_READ_Control CTL_CODE(FILE_DEVICE_UNKNOWN, 0x77
阅读全文
posted @ 2020-10-13 17:36 Ajanuw
阅读(514)
评论(0)
推荐(0)
2020年10月12日
js 检测浏览器开发者控制台是否被打开
摘要: var element = new Image(); Object.defineProperty(element, "id", { get: function () { debugger; }, }); requestAnimationFrame(function check() { console
阅读全文
posted @ 2020-10-12 15:12 Ajanuw
阅读(1219)
评论(0)
推荐(0)
2020年10月11日
js 动态构建style
摘要: 使用创建style的方式 btn.addEventListener("click", async () => { const ns = document.createElement("style"); ns.textContent = ` button { color: red; } `; docu
阅读全文
posted @ 2020-10-11 12:16 Ajanuw
阅读(198)
评论(0)
推荐(0)
js form.onformData事件
摘要: 在表单提交前修改数据,此事件在submit之后 f1.addEventListener("formdata", (e) => { e.formData.append("phone", "xxx"); })
阅读全文
posted @ 2020-10-11 11:39 Ajanuw
阅读(543)
评论(0)
推荐(0)
js IdleDetector 检测用户是否处于活动状态API
摘要: btn.addEventListener("click", async () => { try { const state = await Notification.requestPermission(); if (state !== "granted") { // Need to request
阅读全文
posted @ 2020-10-11 11:07 Ajanuw
阅读(673)
评论(0)
推荐(0)
js navigator.wakeLock 保持屏幕唤醒状态
摘要: let lock; btn.addEventListener("click", async () => { try { if (lock) { lock.release(); return; } lock = await navigator.wakeLock.request("screen"); l
阅读全文
posted @ 2020-10-11 10:39 Ajanuw
阅读(630)
评论(0)
推荐(0)
2020年10月10日
flutter 使用Android studio编辑kt插件
摘要: 使用android studio打开/example/android 文件即可
阅读全文
posted @ 2020-10-10 15:42 Ajanuw
阅读(297)
评论(0)
推荐(0)
2020年10月9日
js showOpenFilePicker showSaveFilePicker showDirectoryPicker API
摘要: 选择文件,获取文件句柄 btn.addEventListener("click", async (e) => { try { const hFiles = await window.showOpenFilePicker({ types: [ { description: "文本文件", accept
阅读全文
posted @ 2020-10-09 20:14 Ajanuw
阅读(2379)
评论(0)
推荐(1)
2020年10月6日
js 监听ajax请求
摘要: function hookSend(hook) { if (!XMLHttpRequest.prototype._oldSend) XMLHttpRequest.prototype._oldSend = XMLHttpRequest.prototype.send; XMLHttpRequest.pr
阅读全文
posted @ 2020-10-06 22:59 Ajanuw
阅读(457)
评论(0)
推荐(0)
2020年10月5日
flutter sqlite持久化数据
摘要: dependencies: path: sqflite: sqflite_common_ffi: import 'dart:io'; import 'package:flutter/material.dart'; import 'package:sqflite_common_ffi/sqflite_
阅读全文
posted @ 2020-10-05 18:17 Ajanuw
阅读(880)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
40
下一页