jrotty
jrotty
以下代码可以判断出safari是否是侧滑返回,只是我不知道该怎么让mobileboneJs的返回动画临时取消掉 ``` let endTime = Date.now(); document.addEventListener('touchend', () => { endTime = Date.now(); }) Mobilebone.callback = function(pageinto, pageout, options) { if(Mobilebone.isBack(pageinto, pageout)){ u = navigator.userAgent; if (u.indexOf('iPhone') > 0 &&...
以下代码可以判断出safari是否是侧滑返回,只是我不知道该怎么让mobileboneJs的返回动画临时取消掉 ``` let endTime = Date.now(); document.addEventListener('touchend', () => { endTime = Date.now(); }) Mobilebone.callback = function(pageinto, pageout, options) { if(Mobilebone.isBack(pageinto, pageout)){ u = navigator.userAgent; if (u.indexOf('iPhone') > 0 &&...
写了个插件帮你禁止了游客访问附件页面,插件地址https://github.com/jrotty/stop
使用开发板恢复试试
你可以试下默认模板,默认模板如果没有问题,就是主题的问题,可能你用的主题需要自己配置些什么东西才能显示吧
``` .aplayer.aplayer-fixed { left: unset !important; color: #000; width: 100%; } .aplayer.aplayer-fixed .aplayer-body{ left: unset !important; width: 400px !important; max-width: calc(100% - 18px); padding-right: 0 !important; } .aplayer.aplayer-fixed .aplayer-miniswitcher {...
看了这篇文章,虽说这个原生懒加载不仅仅只加载当前窗口的图片,但仍然避免不了滚动过快看到未加载的图片,从而导致布局偏移的问题,除非提前给img写上宽度高度 https://web.dev/articles/browser-level-image-lazy-loading?hl=zh-cn
折中方案还有用js判断插😄,还有就是希望字段值为空的字段不要也一股脑塞进数据库,字段值为空应该就是没用到,塞进数据库感觉徒增无用数据
成品插件【恰饭】[https://store.typecho.work/archives/Passkey-typecho-plugins.html](https://store.typecho.work/archives/Passkey-typecho-plugins.html)
@ScarletDor 得看我的提交是否会被合并🙂