【脚本】去访客记录
进别人空间的时候会自动转到删访客记录的网页(&do=index&view=admin&additional=removevlog并记录你去了谁的空间
进论坛主页的时候会自动打开删访客记录的网页,然后自动关闭,并清理记录
@Name @Match
// ==UserScript==
// @name 去访客记录。
// @version 1.0
// @author M
// @match https://www.gamemale.com/space-uid-*.html
// @match https://www.gamemale.com/home.php?mod=space&uid=*&do=index
// @match https://www.gamemale.com/home.php?mod=space&uid=*
// @match https://www.gamemale.com/forum.php
// @grant GM_openInTab
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_deleteValue
// @grant GM_listValues
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
const UID_PREFIX = 'uid_';
const MAX_STORED_UIDS = 50;
function storeUid(uid) {
const uidKey = UID_PREFIX + uid;
GM_setValue(uidKey, Date.now());
const allUids = GM_listValues().filter(key => key.startsWith(UID_PREFIX)).sort((a, b) => GM_getValue(a) - GM_getValue(b));
if (allUids.length > MAX_STORED_UIDS) {
allUids.slice(0, allUids.length - MAX_STORED_UIDS).forEach(key => GM_deleteValue(key));
}
}
if (window.location.href.includes('space-uid-') || window.location.href.includes('home.php?mod=space&uid=')) {
let uid = null;
const spaceUidMatch = window.location.href.match(/space-uid-(\d+)\.html/);
const homePhpMatch = window.location.href.match(/home\.php\?mod=space&uid=(\d+)/);
if (spaceUidMatch && spaceUidMatch) {
uid = spaceUidMatch;
} else if (homePhpMatch && homePhpMatch) {
uid = homePhpMatch;
}
if (uid) {
storeUid(uid);
const newUrl = `https://www.gamemale.com/home.php?mod=space&uid=${uid}&do=index&view=admin&additional=removevlog`;
if (window.location.href !== newUrl) {
window.location.replace(newUrl);
}
}
return;
}
if (window.location.href.includes('forum.php')) {
setTimeout(() => {
const uidKeys = GM_listValues().filter(key => key.startsWith(UID_PREFIX));
if (uidKeys.length > 0) {
uidKeys.forEach(uidKey => {
const uid = uidKey.replace(UID_PREFIX, '');
const deleteUrl = `https://www.gamemale.com/home.php?mod=space&uid=${uid}&do=index&view=admin&additional=removevlog`;
const newTab = window.open(deleteUrl, '_blank');
setTimeout(() => {
try {
if (newTab && !newTab.closed) newTab.close();
GM_deleteValue(uidKey);
} catch(e) {}
}, 4000);
});
}
}, 1000);
}
})();
这个脚本真的不错,感觉又可以偷偷窥探了;P 使用脚本就可以达成真正的偷窥了 很适合满足我的视碱癖
soon用上~赞美~ 吼~方便偷窥咩~
喝茶ing又想起U老师那偷窥的病娇言论了~ 既悄无声息地视奸别人,又时刻捕捉别人视奸,嘶,好宫斗的感觉{:6_169:} 每天为了3jb去偷 窥别人的空间,能删除记录挺好的 这下可以光明正大地视奸某些人了,日志,记录,回帖都可以看,使劲地看。 哈哈~这是个好东西啊~可以偷偷视奸了) 很有用的脚本惹,这样就没有访问的足迹了:$ 确实是个很有用的小脚本,虽然感觉我不需要呢(我就光明正大的偷窥了 用了之后就不怕阴暗沉重的秘密释出了,好评{:6_195:} 0-0 是之前悬赏帖的内容呀 开始论坛隐身窥视之旅jpg 这个好,不用每次都手动删除了 可以偷偷视剑他人力,好棒的脚本 好东西好东西~俺可以光明正大视奸了,还不怕被发现 可以光明正大的当偷窥婆了 杀人于无形…什么视奸神器;P,突然感觉就有点背后一凉 很实用惹,偷窥婆有福了,本可试了下,发现好像只能视奸空间首页,点其他类似资料页会强制返回空间首页 素可以偷偷视奸別人的工具~感觉会很常用