YouTube Network Speed: Show MB/s with Tampermonkey

Preface Saw a group friend's YouTube video info page where network speed is converted to MB/s My hands are itching, I also want to make one myself. Analysis Open F12 developer tools, select the HTML element of the network speed on the video info panel. Right-click menu, Copy JS path The HTML element path of the text displaying network speed is document.querySelector("#movie_player > div.html5-video-info-panel.ytp-sfn > div > div:nth-child(9) > span > span:nth-child(2)") Developing with GPT I have an HTML page, in which an element at this position 1) document.querySelector("#movie_player > div.html5-video-info-panel.ytp-sfn > div > div:nth-child(9) > span > span:nth-child(2)") has content in the format 17085 Kbps, I need to add an element 2) after this element 1), with content showing the value from element 1) converted to the unit MB/s. The number in element 2) should refresh every 10 seconds The result developed by GPT, first teste...

YouTube 视频信息页面 网速换算为 MB/s 油猴篡改猴tampermonkey脚本

前言 看到一个群友的YouTube 视频信息页面 网速换算为 MB/s 手痒, 也想自己整一个.

Cloudflare Snippet Reverse Proxy for Blogspot

Preface Recently I saw someone using cloudflare's snippet to implement node functionality similar to worker.

用Cloudflare Snippet实现反代Blogger/blogspot

前言 最近看到有人应用 cloudflare 的 snippet 实现 像 worker 一样的节点功能.

Show Labels on Blogger Homepage with Simple Fix

Preface I want to encourage visitors to jump to more blog posts. On the single post page, I placed the labels below the article title. I want to achieve a similar effect on the homepage as well.

Blogger/blogspot首页显示博文的标签

前言 我想促进访问者跳转到更多的博文. 在单篇博文的页面, 我把 标签放在了文章的标题下面. 我想在首页也实现类似的效果.

Build a Podcast Episode Image Extractor with GPT

1. Get the RSS of this podcast Thanks to https://medium.com/彼得潘的試煉-勇者的-100-道-swift-ios-app-謎題/236-利用-apple-podcasts-網站開發有趣的-podcast-app-99b057270be1 First, find the Apple Podcast URL of the podcast https://podcasts.apple.com/cn/podcast/独树不成林/id 1711052890 Pay attention to the id part

下载 独树不成林 播客的全部封面 并做成 电报telegram 贴纸sticker

1. 得到这个播客的RSS 感谢 https://medium.com/彼得潘的試煉-勇者的-100-道-swift-ios-app-謎題/236-利用-apple-podcasts-網站開發有趣的-podcast-app-99b057270be1 我们先找到播客的apple podcast地址 https://podcasts.apple.com/cn/podcast/独树不成林/id 1711052890 注意id的部分 然后把id拼到这个链接的后面 https://itunes.apple.com/lookup?id= 得到 https://itunes.apple.com/lookup?id= 1711052890 用浏览器访问, 得到一个JSON格式的文件. 用文本工具打开(你也可以找JSON工具, 如 https://www.json.cn/ ) 找到 feedurl https://feed.xyzfm.space/y9qnpfdrctnx 这就是RSS了.

Cloudflare Workers Local Dev with Wrangler and Caddy

Preface As is well known, when deploying projects on CloudFlare Workers, the 1101 error may be triggered due to keywords. Of course, the community already has mature code obfuscation solutions. However, for better debugging and development, it's best to have a development environment that is not interfered with by CloudFlare. CloudFlare officially provides a locally running Worker environment solution: Wrangler V3

在VPS上本地运行CloudFlare Worker环境 Wrangler V3

前言 众所周知, CloudFlare 的 Worker 上面部署项目的时候, 有可能因为关键字触发 1101 错误. 当然圈子里已经有成熟的代码混淆方案. 但是为了我们更好的调试和开发, 最好是有一个不受CloudFlare干扰的开发环境. CloudFlare官方就提供了一个本地运行的Worker环境方案 Wrangler V3

Telegram Username Squatting: Ensha Group Risks

https://t.me/homelab520 This used to be a group related to Ensha users, where everyone discussed NAS, soft routers, ... Today I happened to take a look, and this is what it's become. I guess it's because for some reason, the username was released, and then got squatted by someone.

电报 Telegram 用户和群主 要保护好自己的用户名username 不要让别人占了

https://t.me/homelab520 这以前是 恩山用户相关的群, 里面都是讨论 NAS啊, 软路由啊, ... 今天我偶然看一眼, 是这样的了. 我猜是因为某种原因, 用户名username被释放了, 然后就被人占了. ======== 相关推荐 《关于telegram电报防广告机器人想到的》 《电报 Telegram 用户不要使用用户名 群组不要使用公开群 为了对抗广告信息》 《商业化电报关键词提醒机器人 telegram keyword monitor bot》

Telegram Keyword Monitor Bot Experiment & Privacy Tips

Preface Telegram Keyword Monitor Bot Telegram Keyword React Bot

电报 Telegram 用户不要使用用户名 群组不要使用公开群 为了对抗广告信息

前言 电报关键字监控机器人 电报关键字反应机器人

Telegram Keyword Bot: Send Sticker via Direct Message

Preface Already implemented: detect a keyword and send a sticker in the group What about sending a direct message to the user directly?

当检测到关键字时 私信发送对应的贴纸 tg-keyword-react-bot

前言 已经实现了 检测到关键字 在群里发送贴纸 如果直接给用户发送私信呢?

Show Hidden Buttons in Blogger Editor Toolbar

Preface Continuing from the previous article, we have already hidden the right sidebar of the Blogger editor But when there is enough space, the toolbar still produces a collapsed split bar. This article aims to solve this problem.

用Stylebot插件 修改Blogger/blogspot编辑器页面 显示被折叠的工具栏按钮

前言 书接上文 我们已经隐藏了bloger编辑器的右栏 但工具栏在空间足够的条件下, 还是产生了折叠分栏. 本文就来解决这个问题.

Maximize Blogger Editor Width with Stylebot CSS

Stylebot https://chromewebstore.google.com/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha The idea is based on the previous post: Modify Blogger editor width with the Stylish extension I had an idea today: when I'm focused on writing, I honestly don't care about the stuff in the right sidebar.

用Stylebot插件 修改Blogger/blogspot编辑器宽度 隐藏右栏

Stylebot https://chromewebstore.google.com/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha 思路基于 上一篇 用Stylish插件修改blogger编辑器宽度 我今天有个想法, 专心写的时候, 右边栏那些 东西我其实不关心. 不如把它们隐藏起来好了.  这样我的编辑区域又能变大一点. 经过一番 F12 工具的使用. 最终结果 www.blogger.com/blog/*/edit/* /* 左栏撑满 */ .fmzcZd {     padding-right: 20px; } /* 编辑区最大化 */ .a89Sje {   max-width: 100%; } /* 右栏隐藏 */ .vW7mGd {   display: none; } 使用效果如下 尾巴 其实对我来说, 还不算 完美.  因为工具栏 还是有个 ...  但实际上的宽度是够的

Telegram Keyword Monitor Bot with Sticker Reply

Requirement Want to run an experiment  When the keyword 三色图 is detected, send a sticker

当检测到关键字 三色图 时 发送贴纸 tg-keyword-react-bot

需求 想做个实验  当检测到关键字 三色图 时 发送贴纸

Build a GitHub Reverse Proxy with Cloudflare Worker

Preface When I saw this DD system project  https://github.com/bin456789/reinstall I was drawn to its installation command.

极简 GitHub Porxy 支持GitHub脚本的无限嵌套调用

前言 当我看到这个DD系统的项目时 https://github.com/bin456789/reinstall 我被它的安装命令吸引了.

Fake curl/wget Wrapper for Offline VPS Script Testing

Introduction The solution we used in the previous post to fix the DD script problem can actually be applied to running scripts in any network-restricted VPS environment  ( Of course, the whole procedure looks rather cumbersome. Moreover, the previous solution only handled the curl case. But common scripts sometimes use curl and sometimes wget for network access. Less experienced readers may not know how to adapt it to handle the wget case. So let's try to build a more general solution. And also think about how to make it easy to use.

在网络受限的VPS上 运行一个脚本 向外访问网络时暂停 使用者进行替代操作

前言 上一篇我们解决DD脚本的问题的方案, 其实就可以用来解决所有网络受限的VPS环境运行脚本的问题  ( 当然整个操作看起来比较繁琐. 而且, 上一篇的方案只处理了curl的情况. 而常见的脚本, 有些是用curl访问网络, 有些是用wget. 能力弱一点的朋友, 不知道怎么改成处理wget的情况. 那么, 我们尝试做一个通用一点的方案. 而且考虑如何方便使用.

Fake Curl Shell for Network-Restricted VPS DD Scripts

Preface In the DD Scripts group https://t.me/reinstall_os A group member encountered the issue that the script's resource downloads tend to get interrupted when the network is bad.

DD脚本 在日志输出curl被调用的序号 输出curl命令和参数 执行预设的命令

前言 在 DD脚本群 https://t.me/reinstall_os 有群友遇到网络不好, 脚本下载资源时容易中断的问题.

Handling Unstable Networks in VPS Reinstall Scripts

Introduction In the DD script group https://t.me/reinstall_os Some group members encountered the problem of unstable networks, where the script easily gets interrupted when downloading resources.

DD脚本 输出所需资源的链接

前言 在 DD脚本群 https://t.me/reinstall_os 有群友遇到网络不好, 脚本下载资源时容易中断的问题.