> For the complete documentation index, see [llms.txt](https://sunzsh.gitbook.io/xiaoshan.bug/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sunzsh.gitbook.io/xiaoshan.bug/csdn-mian-deng-lu-fu-zhi-jiao-ben-you-sheng-ji-dai-ma-pian-duan-guan-zhu-hou-xu-geng-xin.md).

# csdn免登陆复制脚本有升级，代码片段关注后续更新

* **抖音：**<https://v.douyin.com/UCsghNX/>
* **B站：**<https://www.bilibili.com/video/BV1hu41157w7/>

> 代码片段：
>
> <https://gist.github.com/sunzsh/e66cbef4f43820a5c2007d5c747c9529>

csdn定更新了啊

之前他仅仅是限制我们复制代码

现在呢他复制正常的这些文字内容

他也需要登录了

大家看所以

之前我不是分享了一个破解这个

复制的小脚本吗

在这里一点

然后呢他就可以复制了

那这个脚本现在也跟着同步更新了

但是很多小伙伴还是在问我

要我教大家怎么来找哈

就在这里大家记住我这个域名就行

然后呢

打开之后这有一个source悬停上来

找这个Gist

然后呢 下边

翻到下一页

这里有一个

书签栏免登录复制csdn代码

然后至于怎么用

大家可以翻看我这一期视频

一会我会给他置顶

当然了如果你用了油猴

也可以把它放到油猴里边


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/csdn-mian-deng-lu-fu-zhi-jiao-ben-you-sheng-ji-dai-ma-pian-duan-guan-zhu-hou-xu-geng-xin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
