一个好用的工具类
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
fix: 修复GMCookie解析出的Cookie存在空值列表的情况
🌈 style: 调整GM_Cookie的入参类型
fix: 修复GMCookie的domain设置
🐞 fix: 修复参数描述
✨ feat: 更新ajaxHooker到1.4.4
✨ feat: ajaxHooker新增可选择版本
✨ feat: 新增ModuleRaid
✨ feat: waitNode新增函数方式
新增wait
✨ feat: 新增parseCookie函数
✨ feat: GMCookie的delete新增参数
🐞 fix: 修复z-index最大值的处理
✨ feat: 新增filter参数
fix: 修复httpx未正确处理data的问题
feat: 更新getRandomAndroidUA和getRandomPCUA的版本
feat: isNearBottom新增参数target
feat: 优化GM_Menu的update,现在可以判断当不存在时自动添加菜单项;
feat:新增函数queryProperty
feat: Httpx Hook支持异步劫持;
fix:修复返回值无abort的问题
feat: 重命名Httpx内部分函数名;新增配置processData,默认true;修复不返回abort的问题;新增自动根据配置的responseType映射response的类型;迁移注释文件;
fix: 修复HttpxPromise未定义的问题
fix: 修复typescript代码提示
feat: 修改indexDB的获取数据为空时状态码返回201; fix: 修复checkUserClickInNode点击为touchevent触发时
feat: getMaxZIndex新增其它参数
feat: 调整Log输出
fix: 修复httpx的fetch对响应编码解码失败的问题
feat: uniqueArray新增第二种格式
feat: Httpx新增cookiePartition
feat: 新增Vue
feat: update
feat: 新增api:getMaxZIndexNodeInfo
优化getMaxZIndex可以获取ShadowRoot的值
feat: Httpx的Promise返回新增属性.abort
feat: 新增api:mutationVisible
fix: 修复isVisible的参数类型判断
feat: listenKeyboard新增参数options
feat: 移除api:listenKeyboard
fix: 完善indexedDB部分代码提示
feat: indexedDB新增has
fix: 修复indexedDB的delete执行失败问题
fix: 修复sortListByProperty的注释
fix: 修复对window api 的使用
fix: 修改docuement、window、self、globalThis从全局获取
fix: 修复Dictionary的部分api参数
fix: 🐛 修复getMaxZIndex获取值大于2^31-1的问题
fix: 继续修复
🐞 fix(修复Httpx默认劫持失败问题):
🐞 fix(修复Utils.assign对null值的处理):
✨ feat(Utils.Httpx新增配置allowInterceptConfig):
🐞 fix(修复Httpx的fetch下arrayBuffer获取方式错误问题):
interceptors新增参数details
导出ajaxHook的type
修复导出type
新增Api:toUrl
getRandomAndroidUA、getRandomPCUA更新版本最大值127 isNotNull、isNull添加类型守卫,可在编译阶段判空 toFormData新增参数valueAutoParseToStr 新增Api:generateUUID
仿axios添加intercept
📃 docs(vue doc change):
更新ajaxHooker版本1.4.3
🎉 init(mutationObserver的config新增配置项immediate):
✨ feat(update AjaxHooker 1.4.2):
🐞 fix(修复waitPropertyByInterval的对目标null的判断):
🐞 fix(修复waitPropertyByInterval的target为空的问题):
✨ feat(新增api:toFormData):
📃 docs(update doc):
✨ feat(新增createUtils):
📃 docs(更新GM_Cookie的doc):
🐞 fix(修复setClip的info未设置默认值的问题):
feat: ✨ waitNode修改
完善waitNode:单个或者多个 实现waitAnyNode:单个或者多个
删除waitNodeWithInterval => 代替:waitNode
🐞 fix(ColorConversion):
✨ feat(GM_Cookie add get):
🐞 fix(repair GBKEncoder cannot decode):
🦄 refactor(重构部分代码):
🦄 refactor(js重构为ts(除了ajaxHooker)):
🐞 fix(Log输出function的name错误问题):
🐞 fix(修复某些函数没有代码提示的问题):
update
🐳 chore(新增iife,amd,systemjs打包):
🐞 fix(repair ajaxHooker auto run):
fix: 🐛 httpx response redefine failed
chore: 📦 update ajaxhooker 1.4.1
fix: 🐛 GM_Menu data not success init and format code
chore: 🎨 waitPropertyInterval can reject
Merge branch 'dev'
✨ feat(更新ajaxHooker版本1.4.0):
✨ feat(修改部分描述):
✨ feat(新增:ColorConversion):
用于颜色处理,获取某个颜色的亮色或者暗色,可对hex/rgb进行转换
更新 Utils.js
新增Api
修复GM_Menu无法获取到菜单的值的问题
更新Utils.GM_Menu
argumentt => args
修复setClip复制失败的问题
重构Utils.Log
重构Utils.GM_Menu;Utils.Dictionary新增接口.forEach;
只保留Object.defineProperty,删除其它的原型
新增Utils.setClip对webview的兼容性判断
重命名GM_addStyle为addStyle
更新库
修复setTimou、clearTimeout、setInterval、clearInterval在套壳浏览器上错误的引用问题
isSameChars新增参数coefficient
统一管理OriginPrototype
Httpx新增检测url格式为//开头
新增api:deepClone 修复Httpx的headers、context、fetchInit浅拷贝的问题 替换delete为ReflectDeleteProperty
修复Httpx的对配置的headers和fetchInit的处理出错的问题
抽离部分公共的Object属性,防止被二次劫持
调整GM_Menu的菜单项的配置的兼容性
Dictionary新增Symbol.toStringTag和Symbol.iterator属性 Dictionary新增length属性 新增api:getNonNullValue
Httpx新增hook:beforeRequestCallBack Httpx新增接口:setXMLHttpRequest
新增api:isThemeDark
新增防抖函数debounce
registerTrustClickEvent 新增参数filter
Utils.Log添加参数console可指定
Httpx新增url补全
调整waitVueByInterval的异步返回boolean
新增Api:cloneFormData
Utils.Httpx新增配置fetchInit
跳转Utils.Httpx在Stay插件上的兼容问题
fix bug
转移注释到.d.ts中
重命名部分函数名; 新增:Utils.reverseNumber;
修改注释
Utils.Dictionary新增函数startsWith和getStartsWith
Utils.downloadBase64新增第三个参数isIFrame;新增api:Utils.getThunderUrl
新增Utils.exitFullScreen 修改Utils.enterFullScreen参数element默认值document.documentElement
新增Utils.selectElementText额外参数
新增多个函数
Utils.findElementsWithText Utils.findVisibleElement Utils.selectElementText
新增getTransitionEndNameList 和getAnimationEndNameList
新增函数重装实现Utils.createOverload
Utils.Log新增warn,新增参数ohterStyle
替换for loop为for of 迁移注释 顶部添加注释引用
更新函数Utils.getRandomPCUA 更新函数Utils.getRandomAndroidUA Utils.isPhone新增参数userAgent 修复Utils.listenKeyboard注释callback 的参数描述缺失问题 新增Utils.stringTitleToUpperCase 新增Utils.stringTitleToLowerCase
新增Utils.waitVueByInterval
Utils.registerTrustClickEvent新增参数自己决定true|false,默认true
Utils.listenKeyPress修改为Utils.listenKeyboard 参数新增keyValue
修改部分jsdoc
Utils.Menu内的配置新增属性isStoreValue callback的参数data新增函数属性storeValue
函数Utils.waitPropertyByInterval新增参数maxTime 函数Utils.watchObject修改内部实现要求getCallBack/setCallBack必须要有一个
新增Utils.GM_Menu函数 getMenuId updateOptionsWithId
新增Utils.GM_Menu的内部函数 getLocalStorageKeyName setLocalStorageKeyName 可修改本地存储的键名
新增Utils.GM_Menu的函数 getEnable getEnableTrueEmoji getEnableFalseEmoji setValue setEnable setEnableTrueEmoji setEnableFalseEmoji 重构部分函数集中到update内
修改部分注释
新增函数API Utils.stringToRegular
Update Utils.js
新增函数 Utils.isFullscreenEnabled Utils.enterFullscreen Utils.waitNodeWithInterval
新增uniqueArray
修复mutationObserver的参数判断
新增getMaxZIndex修复其它问题
修正asyncArrayForEach的参数判断
重写sortListByProperty
新增 getRandomAndroidUA新增 getRandomPCUA
新增 lockFunction新增 waitForDOM新增 setClip新增 mutationObserver
新增api isNull新增Dictionary的set方法的判空
移除函数 discuzEnvIsMobile
新增 assignJSON修复 getFormatTime
更新findWindowPageString
更新findWindowPageString循环查找
新增方法Utils.Dictionary
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址