// ==UserScript== // @name Tuxun Homepage Reset // @namespace tuxun-reset // @version 0.1.7 // @description reset tuxun homepage to 2024.3 version // @author strombooli // @license MIT // @match https://tuxun.fun/ // @grant GM_xmlhttpRequest // @downloadURL https://update.greasyfork.icu/scripts/491428/Tuxun%20Homepage%20Reset.user.js // @updateURL https://update.greasyfork.icu/scripts/491428/Tuxun%20Homepage%20Reset.meta.js // ==/UserScript== (function() { 'use strict'; document.body.removeChild(document.getElementById('root')) // remove default document.head.innerHTML += "" var htmlTxt = "
教程文档
探索真实世界,找到你在的位置
ACTIVITIES
单人
每日挑战
每天五题,神清气爽
连胜挑战
探索者,坚持到一百题啊!
题库
走遍大江南北
互动
你出题,我做题
网络迷踪
经典模式
积分
全球积分
全球街景的积分比赛
中国积分
江山如此多娇
娱乐
匹配
一个人或者和朋友合作挑战对手
派对
邀请好友对决
加入派对
通过派对码加入派对
探索
寻景
寻友地图
街景奇观
光怪陆离,怪奇物语
随机街景
漫步孤独星球
扩展
直播/视频/教程
看看图寻er们都创作了哪些内容吧
讨论区
一起来讨论图寻技巧吧
网络迷踪
一个发图片找地方的交流社区
炒饭小测验
地理小测验,帮助你玩好图寻
图寻文档
更新日志
App
商店

总轮次数:83706930

交流QQ群:943507031

微信公众号:图寻

开发者微博:@此间ZY

地图审图号:GS(2022)2885号

问题反馈:图寻公众号,图寻群, 电话:15058139992 可能有会员奖励

更新日志

浙ICP备2022031450号

" var activityList = [] GM_xmlhttpRequest({ method: "GET", url: "https://tuxun.fun/api/v0/tuxun/activity/list", headers: {"Content-Type": "application/json"}, onload: function(response) { activityList = JSON.parse(response.responseText).data.normalActivities let activityHtml = "" for(let i=0;i" + activityList[i].title + "" } if (activityHtml == "") activityHtml = "

"; htmlTxt = htmlTxt.replace("ACTIVITIES", activityHtml) var doc = new DOMParser().parseFromString(htmlTxt, "text/html"); document.body.appendChild(doc.body.children[0]) bindInLinks() bindOutLinks() bindPersonal() setTotalGuess() setInterval(function(){setTotalGuess()}, 5000) } }); function bindInLinks(){ let reDirs = ["friend", "message", "point-rank", "world-match", "china-match", "streak", "maps", "daily-challenge", "interact/challenge", "interact", "team", "party", "join", "event", "wonders", "random", "app", "mall"] reDirs.forEach(function(e){ document.getElementById(e).addEventListener("click", function(){ location.href = "https://tuxun.fun/" + e; console.log(e); }) }) } function bindOutLinks(){ let reDirOut = [["doc1", "https://www.yuque.com/chaofun/tuxun"], ["doc2", "https://www.yuque.com/chaofun/tuxun"], ["log", "https://www.yuque.com/chaofun/tuxun/changelog"], ["vid", "https://search.bilibili.com/all?keyword=%E5%9B%BE%E5%AF%BB"], ["forum", "https://choa.fun/f/753"], ["mizong", "https://choa.fun/f/84"], ["xiaoce", "https://xiaoce.fun"], ] for(let i=0;i