Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启插件后刷不出帖子 #8

Closed
wangnan789 opened this issue Mar 28, 2024 · 9 comments
Closed

开启插件后刷不出帖子 #8

wangnan789 opened this issue Mar 28, 2024 · 9 comments
Labels
question Further information is requested

Comments

@wangnan789
Copy link

如题
开启插件后刷不出帖子,我只装了一个插件.不启用插件又可以刷出帖子
1

2

@wangnan789
Copy link
Author

原来Tampermonkey不行
换了violentmonkey,可以正常刷出帖子

但有新问题
1 "Fri Feb 09 16:21:55 +0000 2024" 这个日期格式能改成 "2024-03-28-4_16-01-50" 这样的格式吗?

2 刚才红圈内刷出很多条数据,我还导出来了.现在又刷不出数据了,试了好几次了.好奇怪呀

7

@prinsss
Copy link
Owner

prinsss commented Mar 28, 2024

Hi,

感谢反馈。为了帮助排查问题,麻烦提供以下信息:

  1. 你的浏览器版本
  2. 你的脚本管理器版本(Tampermonkey/Violentmonkey 版本)
  3. 你使用的 twitter-web-exporter 的版本

关于日期格式,这个格式是 API 返回的,目前没做处理。新版本可以考虑加个自定义格式的选项。

关于刷出好多条数据但又消失这个问题,你是有刷新了页面吗?

@wangnan789
Copy link
Author

Hi,

感谢反馈。为了帮助排查问题,麻烦提供以下信息:

1. 你的浏览器版本

2. 你的脚本管理器版本(Tampermonkey/Violentmonkey 版本)

3. 你使用的 twitter-web-exporter 的版本

关于日期格式,这个格式是 API 返回的,目前没做处理。新版本可以考虑加个自定义格式的选项。

关于刷出好多条数据但又消失这个问题,你是有刷新了页面吗?

firefox-esr 115.7
Tampermonkey 5.1.0(已卸载)
Violentmonkey 2.8.1(在使用)
Twitter Web Exporter 1.0.8
由于更换脚本管理器monkey,重启浏览器,后面就刷不出数据了

@prinsss
Copy link
Owner

prinsss commented Apr 1, 2024

我看了一下,这可能是 Firefox 上的脚本 CSP 导致的问题:violentmonkey/violentmonkey#1001

有时间可以试一下 Chrome 上有没有问题,Firefox 的兼容性问题我后面再看看。

@bxb100
Copy link

bxb100 commented Apr 6, 2024

Firefox Tampermonkey 设置
Modify existing content security policy (CSP) headers: yes
Add Tampermonkey to the HTML's CSP: yes

@wangnan789
Copy link
Author

我看了一下,这可能是 Firefox 上的脚本 CSP 导致的问题:violentmonkey/violentmonkey#1001

有时间可以试一下 Chrome 上有没有问题,Firefox 的兼容性问题我后面再看看。
在gnu/linux上chrome还不支持代理,不能安装扩展.暂时试不了

@prinsss
Copy link
Owner

prinsss commented Apr 7, 2024

@wangnan789 我试了下,上面 @bxb100 提到的配置在我这边是可以绕过 CSP 的(我的版本是 Firefox 115.9.1esr + Tampermonkey 5.1.0),可以在开启 TM 高级配置模式后如图设置:

CleanShot 2024-04-08 at 00 29 28

prinsss added a commit that referenced this issue Apr 7, 2024
@prinsss
Copy link
Owner

prinsss commented Apr 7, 2024

"Fri Feb 09 16:21:55 +0000 2024" 这个日期格式能改成 "2024-03-28-4_16-01-50" 这样的格式吗?

v1.0.9 已支持,在 Settings 中将 Date Time Format 设置为 YYYY-MM-DD_HH-mm-ss 即可。

@prinsss prinsss added the question Further information is requested label Apr 10, 2024
@prinsss
Copy link
Owner

prinsss commented Apr 13, 2024

此问题后续将集中到 #19 讨论。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants