LinuxDo 新帖推送
179 subscribers
249K photos
310K links
Download Telegram
标题: Android上的OpenPGP客户端:OpenKeychain
作者: #Clina
板块: #搞七捻三
编号: 1479858
帖子: https://linux.do/t/topic/1479858
时间: 2026-01-18 18:51:27
摘要:
如题,今天介绍的是Android上的OpenPGP客户端:OpenKeychain。
软件可以从F-Droid上下载:

主界面长这个样子:

可在Thunderbird Android上使用。
同时,也欢迎大家导入我的OpenPGP公钥:
标题: 【72 的小玩意 002】油猴脚本:弹窗中包含指定域名自动点击继续按钮
作者: #72
板块: #开发调优
编号: 1479859
帖子: https://linux.do/t/topic/1479859
时间: 2026-01-18 18:51:29
摘要:
跳转到 GitHub 也要手动点击 继续 按钮,觉得太烦了,Vibe 了这个小脚本
// ==UserScript==
// @name Auto Click Popup Continue
// @namespace http://tampermonkey.net/
// @version 1.0
// @description 当弹窗中包含指定域名时,自动点击弹窗中的"继续"按钮
// @author Your Name
// @match https://linux.do/*
// @grant none
// @run-at document-start
// ==/UserScript==

(function () {
"use strict";

// 配置:需要检测的域名列表(支持正则表达式)
const TARGET_DOMAINS = ["github.com", "github.com/", "githubusercontent.com"];

// 标记状态
let hasClicked = false;
let clickCooldown = false;

// 弹窗选择器关键词
const popupSelectors = [
'[class*="modal"]',
'[class*="popup"]',
'[class*="dialog"]',
'[class*="overlay"]',
'[class*="layer"]',
'[role="dialog"]',
'[role="alertdialog"]',
".modal",
".popup",
".dialog",
".overlay",
'[aria-modal="true"]',
".el-dialog",
".ant-modal",
".ivu-modal",
".layui-layer",
".sweet-alert",
".swal-modal",
];

// 检查文本是否包含目标域名
function containsTargetDomain(text) {
if (!text) return false;

// 支持正则表达式匹配
for (const domain of TARGET_DOMAINS) {
try {
// 如果是正则表达式格式
if (domain.startsWith("/") && domain.endsWith("/")) {
const regex = new RegExp(domain.slice(1, -1));
if (regex.test(text)) return true;
} else {
// 普通字符串匹配
if (text.includes(domain)) return true;
}
} catch (e) {
// 正则表达式错误时回退到普通匹配
if (text.includes(domain)) return true;
}
}

return false;
}

// 在容器中检测是否包含目标域名
function containsDomainInContainer(container) {
// 检查所有链接
const links = container.querySelectorAll("a[href]");
for (const link of links) {
const href = link.getAttribute("href") || "";
if (containsTargetDomain(href)) {
console.log("检测到目标域名:", href);
return true;
}
}

// 检查所有文本节点
const walker = document.createTreeWalker(
container,
NodeFilter.SHOW_TEXT,
null,
false,
);

let node;
while ((node = walker.nextNode())) {
const text = node.textContent || "";
if (containsTargetDomain(text)) {
console.log("检测到目标域名文本:", text.substring(0, 100));
return true;
}
}

// 检查特定元素的内容
const elements = container.querySelectorAll(
"[data-url], [href], [src], .url, .link",
);
for (const elem of elements) {
const content =
elem.getAttribute("data-url") ||
elem.getAttribute("href") ||
elem.getAttribute("src") ||
elem.textContent ||
"";

if (containsTargetDomain(content)) {
console.log("检测到目标域名元素:", content.substring(0, 100));
return true;
}
}

return false;
}

// 查找"继续"按钮
function findContinueButton(container = document) {
const buttons = container.querySelectorAll(
'button, input[type="button"], input[type="submit"], [role="button"], .btn, .ant-btn, .ivu-btn, .el-button',
);

for (const button of buttons) {
const text = button.textContent.trim();
const ariaLabel = button.getAttribute("aria-label") || "";
const value = button.value || "";

if (
text === "继续" ||
text.includes("继续") ||
ariaLabel === "继续" ||
ariaLabel.includes("继续") ||
value === "继续" ||
value.includes("继续")
) {
if (isElementVisible(button) && !button.disabled) {
return button;
}
}
}

return null;
}

// 检查元素是否可见
function isElementVisible(element) {
if (!element) return false;

const style = window.getComputedStyle(element);
if (style.display === "none") return false;
if (style.visibility === "hidden") return false;
if (style.opacity === "0") return false;

const rect = element.getBoundingClientRect();
if (rect.width === 0 || rect.he
标题: 为什么 claude code 不听话不主动用 ace 工具啊!!
作者: #小豆子
板块: #开发调优
编号: 1479871
帖子: https://linux.do/t/topic/1479871
时间: 2026-01-18 18:53:52
摘要:
# Core Rule

- By default, respond in Chinese. Use English when invoking tools.

- **CRITICAL**: NEVER answer **ANY** question related to project code, NOR create,
modify, or refactor **ANY** project code, BEFORE invoking `auggie-mcp`.
This requirement is mandatory and non-negotiable, even for trivial tasks.
Specifically, invoking `auggie-mcp` MUST follow these retrieval rules:

- **No Assumptions**: Answers or code changes based on assumptions, guesses,
or prior memory are strictly prohibited.
- **Semantic-First Retrieval**: Use natural-language queries (Where / What / How)
to discover relevant modules, entry points, and relationships.
- **Completeness Check**: Always retrieve the complete definitions and signatures
of all relevant classes, functions, and variables.
- **Recursive Retrieval**: If the retrieved context is incomplete or ambiguous,
retrieval MUST continue recursively until the information is complete and coherent.
- **Validation Gate**: No analysis, response, or code change may proceed until
retrieval confirms that all required context has been fully obtained.

尽力写了,但是还是不吊我,我问他某某提交有没有问题,他看了下提交就回答了,我问他为什么不遵循指令,他就开始道歉
标题: L站网络,正常运营商好像被屏蔽了
作者: #倾风
板块: #搞七捻三
编号: 1479875
帖子: https://linux.do/t/topic/1479875
时间: 2026-01-18 18:55:00
摘要:
如题,各位现在是怎么访问的本L站,平时屋里路由器挂着,还没发现啥情况,
刚下楼吃个饭,想着打开看看,结果发现访问不了
不能是我这里运营商屏蔽吧
标题: 曾经蹲网吧玩的网游《大话西游》的日子,佬们还记得么?
作者: #Boomy
板块: #搞七捻三
编号: 1479876
帖子: https://linux.do/t/topic/1479876
时间: 2026-01-18 18:55:03
摘要:
后面还搞了个同款的《梦幻西游》
标题: 求助贴,我看社区有的公益站都提供gemini 模型,但是我看使用教程里只有 codex 和 claude。
作者: #月光
板块: #开发调优
编号: 1479879
帖子: https://linux.do/t/topic/1479879
时间: 2026-01-18 18:55:43
摘要:
求助贴,我看社区有的公益站都提供gemini 模型,但是我看使用教程里只有 codex 和 claude。没有如何使用gemini 模型的方法啊,有大佬告诉我如何使用吗?
标题: 为什么Cherry Studio 搜索的时候特别占内存?
作者: #初春饰利
板块: #开发调优
编号: 1479880
帖子: https://linux.do/t/topic/1479880
时间: 2026-01-18 18:55:58
摘要:
不知道是怎么回事,现在搜索特别吃内存而且还可能崩溃
标题: 如何评估模型性能?
作者: #synz
板块: #搞七捻三
编号: 1479889
帖子: https://linux.do/t/topic/1479889
时间: 2026-01-18 18:57:58
摘要:
不同渠道或者平台的同一名称的开源或闭源模型性能不太一样,一般如何比较性能优劣?有哪些方案?
标题: 现在Google注册账号好难
作者: #javaNice
板块: #搞七捻三
编号: 1479898
帖子: https://linux.do/t/topic/1479898
时间: 2026-01-18 19:00:42
摘要:
以前用Gmail app随便注册,尝试了好多方法都行不通。佬们都怎么注册的,求教!
标题: 【L站混学】把我压箱底的混分焚诀教给大家了……
作者: #蹲神
板块: #搞七捻三
编号: 1479900
帖子: https://linux.do/t/topic/1479900
时间: 2026-01-18 19:01:00
摘要:
首先我们先把始皇总结 - neo - LINUX DO页面打开,然后点个关注。
这样始皇只要发圣旨发贴,就会得到提示~
比如摸鱼的时候,只要接到圣旨看到消息,第一时间跟帖。
唔~

[!abstract]-前排接旨的基本点赞少不了:



如果佬还能整点骚话好活,那更是随便几百赞轻轻松松……
先抢后改就不用我教了吧?

好了,焚诀已经交给你们了。
但是难度还是很高的……(我最高才抢过2楼,还是因为始皇当时锁帖再开,如果是不锁贴估计前排秒没~)

[!danger]-邪修勿动
什么自动抢,自动发帖这类的邪修功法,唔,我是没那技术的,不过小心被始皇抓住关大牢得不偿失哦
在错误的地方警告

其实随缘就好,看到就抢抢,没看到就算了呗哈哈


[!success]搞七捻三
最后~希望佬友们在L站混得开心,水得尽兴
标题: 【求问】claude Max*5 账户现在5小时与周限制大约多少刀
作者: #ikuns
板块: #开发调优
编号: 1479904
帖子: https://linux.do/t/topic/1479904
时间: 2026-01-18 19:01:42
摘要:
【求问】claude Max*5 账户现在5小时与周限制大约多少刀
最近中转都不太稳定,稳定的价格很高
所以想试试官方的账号
先充了个pro,结果5小时只有6刀
相换max5自用
所以想问一下各位用过的佬一个账号现在的用量大约是多少?
是不是sonnet与opus分开计费
大约都多少