Skip to content

导出论坛书签到收藏夹的方法 #100

Description

@anghunk

最好等到1.0.19版本上线后再使用,不然数据可能会冲突,注意观察应用商店版本号,chrome 在审核

https://raw.githubusercontent.com/anghunk/linuxdo-scripts/refs/heads/main/plugin/export-bookmarks.user.js

安装油猴脚本后,前往论坛刷新一下就会下载,格式已经自动兼容了。

然后在收藏夹手动导入。


如果导出失败,找到你的用户名,然后在代码里手动把 myusername 改成你的用户名(不是昵称)。

注释掉下面的,展开上面的

var myusername = "anghunk";

// const myusernameStr = $('.d-header-icons .icon img.avatar').attr('src');
// const myusername = myusernameStr.replace(/^\/user_avatar\/linux\.do\//, '').split('/')[0];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature请求新功能支持

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions