版本比较
find cheat
正文
增加 38 行删除 2 行
12345678591011121376 行未改动90919293909495969798153 行未改动全部展开2522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912 行未改动请在发工单时加入如下内容:```markdown使用 [工具](https://www.luogu.com.cn/article/92py95rq) 辅助检查,均经过人工复核。``````js// ==UserScript==// @name Luogu Find Cheater// @namespace https://www.luogu.com.cn/user/841039// @version 2026-1-21// @version 2026-2-9// @author wanganze// @description luogu helper// @icon https://fecdn.luogu.com.cn/favicon.ico// @match *://*.luogu.com.cn/*76 行未改动 }); return data; } catch (error) { console.error('Error geting context:', error); console.log("error on",location.pathname); console.log("error on",url); return; }}unsafeWindow.get_context = get_context;153 行未改动全部展开 } } }}unsafeWindow.find = get_userasync function get_user(l,r){ if(l == null && r == null) { let intro = (await get_context(location.href)); if(intro == null) return; let list = intro.data.dailyCounts; console.log(list); for(let x in list) { if(list.hasOwnProperty(x)) { if(list[x][0]>30 && list[x][1] > 2) alert(' '+x + ' ' + list[x]); } } } for(let i = l; i <= r; i ++) { let intro = (await get_context("https://www.luogu.com.cn/user/"+i)); if(intro == null) continue; let list = intro.data.dailyCounts; console.log(list); for(let x in list) { if(list.hasOwnProperty(x)) { if(list[x][0]>30 && list[x][1] > 2) alert(i+' '+x + ' ' + list[x]); } } }}(function() { 'use strict';
//getsolutions("P1001");2 行未改动