darrenice / nga-mofish Goto Github PK
View Code? Open in Web Editor NEW快乐摸鱼NGA的vscode插件
License: MIT License
快乐摸鱼NGA的vscode插件
License: MIT License
希望已读的帖子在刷新后可以过滤掉
nga被公司屏蔽了,但是178没有,想来个曲线摸鱼
满足不同的摸鱼人群
目前只显示节点栏,收藏栏没有了,没有找到相关设置
字体太密集了 可以改进一下
只可以点击只看楼主,但是想重新看全部帖子没办法
Maximum number of redirects exceeded
打算做点赞功能,需要在webview中对点赞数进行局部刷新,使用loadTopicInPanel会存在闪烁和重置滚动条的体验问题
简单测试代码如下:
topicWebview.ts中触发
panel.webview.postMessage({command: 'update'});
topic-spic或topic中接收
window.addEventListener('message', event => { console.log(event); });
直接f12然后在网络里找到url与浏览器上面网址相同的文本,去找到cookie后右键复制值,粘贴登录
找到了,下载错版本了
不跳转到新tab,在原页面上图片放大显示
帖子地址 https://bbs.nga.cn/read.php?tid=36794194
浏览器显示正常
下好了之后选择一个命令都会报: command 'nga-xxx' not found
安装之后点击登录NGA,提示
command 'nga.login' not found
其他几个按钮类似
尝试过reload和重启vsc,没有作用
macos
看了逻辑代码, 目前所有读节点都是读的fid
但是版面的子页面的id是stid
eg: https://nga.178.com/thread.php?stid=34478370
这样的面板能够显示在节点列表里, 但是无法读取topic
浏览比较长的帖子时,加载时间有点长
可以看到有类似于这样的url,在请求标头中找到cookie,复制
还是过于明显了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.