Skip to content

Commit

Permalink
chore: 支持更多网站
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 30, 2024
1 parent fc1e52b commit ac518ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#支持多账户,使用逗号分隔每个账户,密码中有特殊字符可能会导致识别失败
USERNAMES=hahaha2,hahaha1,ha1,ha2,DrKBoogieWoogie,lsp,lsb #888存在问题
PASSWORDS=BfdSGt}F4!5pLHt,BfdSGt}F4!5pLHt,iTs9Wx4+3Eavkhk,W$RhQUVn5E?BBBq,]"w%2Qd%M8Z6-SS,HU5B6Ee]kRB%Qj',uYE)46Ej8phu$#u
WEBSITE=https://linux.do # https://meta.discourse.org
WEBSITE=https://linux.do # https://meta.discourse.org, https://meta.appinn.net/, https://community.openai.com/
9 changes: 8 additions & 1 deletion index_passage_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// @author liuweiqing
// @match https://meta.discourse.org/*
// @match https://linux.do/*
// @match https://meta.appinn.net/*
// @match https://community.openai.com/
// @grant none
// @license MIT
// @icon https://www.google.com/s2/favicons?domain=linux.do
Expand All @@ -14,7 +16,12 @@
(function () {
("use strict");
// 定义可能的基本URL
const possibleBaseURLs = ["https://meta.discourse.org", "https://linux.do"];
const possibleBaseURLs = [
"https://meta.discourse.org",
"https://linux.do",
"https://meta.appinn.net/",
"https://community.openai.com/",
];

// 获取当前页面的URL
const currentURL = window.location.href;
Expand Down

0 comments on commit ac518ca

Please sign in to comment.