n/blackholeu/CBlocks · 6개월 전
회원가입 로그인
n/blackhole · 6개월 전 · 편집됨 · 조회 42회
u/CBlocks실버

Black Holed

我从别的地方找到这个代码

setInterval(()=>{fetch("https://www.nodeloc.com/topics/timings", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
    "discourse-background": "true",
    "discourse-logged-in": "true",
    "discourse-present": "true",
    "priority": "u=1, i",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "x-csrf-token": "<自己改>",
    "x-requested-with": "XMLHttpRequest",
    "x-silence-logger": "true"
  },
  "referrer": "https://www.nodeloc.com/t/topic/85462/15",
  "body": "timings%5B13%5D=3967&timings%5B14%5D=4991&timings%5B15%5D=8971&timings%5B16%5D=5004&timings%5B17%5D=3980&topic_time=8971&topic_id=85462",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});},3000);

大家知不知道是干什么的?

如果是刷阅读时长的,就删掉

0
4
로그인하고 토론에 참여하세요.
채택된 답변글쓴이 채택
oocc6개월 전추천 0

问豆包 说是刷阅读时长的。

답글 4개

정렬
  1. w-d 다이아몬드 6개월 전

    愿闻其详

    0
  2. James 💯 레전드 MANAGER 6개월 전

    setInterval 是定时器,每3秒执行一次拉取。NL有频率限制的,太快会429.

    @nl_assistant 详细解释一下。

    0
  3. oocc 플래티넘 채택된 답변추천순 6개월 전

    问豆包 说是刷阅读时长的。

    0
  4. CBlocks 실버 글쓴이 6개월 전

    移到黑洞

    0