跳到正文

剪贴板

剪贴板 851hmbyf

原文
剪贴板信息

剪贴板信息

收录
更新

控制台小工具

获取帖子源码:

JavaScript
console.log(_feInstance.currentData.post.content);

获取专栏源码:

JavaScript
JSON.parse(document.getElementById('lentille-context').innerText).data.article.content

获取比赛报名人数:

JavaScript
window._feInjection.currentData.contest.totalParticipants

删帖(如果是团队管理员可以杀别人的):

JavaScript
r=new XMLHttpRequest();r.open('DELETE',
'https://www.luogu.com.cn/api/discuss/delete/帖子ID'
);r.send();

退团:

JavaScript
fetch("https://www.luogu.com.cn/api/team/exit/80595", {
  "headers": {
    "accept": "application/json, text/plain, */*",
    "x-csrf-token":document.querySelector("meta[name=csrf-token]").content
  },
  "body": null,
  "method": "POST"
});

加团:

JavaScript
fetch("https://www.luogu.com.cn/api/team/join/80595", {
  "headers": {
    "accept": "application/json, text/plain, */*",
    "x-csrf-token":document.querySelector("meta[name=csrf-token]").content
  },
  "body": null,
  "method": "POST"
});

csdn解除防复制:控制台输入

JavaScript
document.body.contentEditable='true'
document.desingable='on'