xiaocsl

xiaocsl

V2EX 第 38634 号会员,加入于 2013-05-07 14:30:20 +08:00
根据 xiaocsl 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
xiaocsl 最近回复了
@bingdong700 #9 Service Worker 记忆中是根据硬盘剩余空间按百分比来,好像没太好的能永久一键设置的地方.
我能想到的解决方案就是,写个油猴脚本,注入个脚本,定期取消注册对应网站的 Service Worker .

chatGPT 写的..

```JavaScript
// ==UserScript==
// @name Disable Service Worker for web.telegram
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Disable Service Worker for web.telegram when the website is closed
// @author Your name
// @match https://web.telegram.org/*
// @grant none
// ==/UserScript==

// Listen to the beforeunload event when the website is closed
window.addEventListener('beforeunload', function() {
// Get all the registered Service Workers
navigator.serviceWorker.getRegistrations().then(function(registrations) {
// Loop through the registrations and unregister them
for(let registration of registrations) {
registration.unregister();
}
});
});

```
@bingdong700 不清楚有没有现成的工具.. chrome://serviceworker-internals/ 这里可以看当前注册的所有 sw .
然后对应网址打开的 开发者工具 > 应用 > 存储 能看到网站占用的各种缓存大小
Service Worker 文件夹下的..是有 chrome 打开过滥用 Service Worker 的网站?
30 天前
回复了 iGuChin 创建的主题 程序员 寻找 AI 绘图应用, 免费最好.
@iGuChin SMILES 的维基百科下面好像也列出来一些工具,不过没细看..
30 天前
回复了 iGuChin 创建的主题 程序员 寻找 AI 绘图应用, 免费最好.
github 搜: SMILES
或者 Google 搜: SMILES structure generator

理论上有很多类似的工具
比如:
https://smilesdrawer.surge.sh/playground.html
30 天前
回复了 iGuChin 创建的主题 程序员 寻找 AI 绘图应用, 免费最好.
不需要 AI 吧..类似这种的?
https://avogadr.io/
如果只是自己用的话,hostloc 那看有啥热门的 oneman 商家,联通找 AS4837 ,电信找 CN2 GIA 线路.
年付在 100~400 之间.搭 Hysteria ,基本使用效果就超过绝大多数机场了.

大厂没有线路优化的话,基本不用考虑自建..稳定性很差的..
42 天前
回复了 AaIT 创建的主题 推广 美国住宅 IP 宽带服务器第二轮 T 楼来了
买住宅家宽 VPS 就到 AaIT.io 带宽 IP 硬件均可定制
75 天前
回复了 1311317 创建的主题 问与答 阿里云盘非会员开始限速了吗?
有一部分原因是开始管控第三方的应用了,非官方 APP 使用的话,有可能会被限速,是按 IP 来算的.
换个 IP 就恢复了.

之前测试的,只要用 小雅 铁定限速,关掉 小雅 后换个 IP 下载速度就会恢复.
113 天前
回复了 Rrrrrr 创建的主题 宽带症候群 挂阿里云盘的,现在是不是用不了了
关于   ·   帮助文档   ·   博客   ·   nftychat   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3057 人在线   最高记录 5634   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 831ms · UTC 12:25 · PVG 20:25 · LAX 05:25 · JFK 08:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.