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

截图模式登录框问题 #37

Closed
Initial-heart-1 opened this issue Aug 31, 2021 · 7 comments
Closed

截图模式登录框问题 #37

Initial-heart-1 opened this issue Aug 31, 2021 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@Initial-heart-1
Copy link

从GitHub下的最新releases,一直有那个登录框的问题啊
截图里登录框巨大,登录又没法记住状态,加cookie也没用
只能是放弃无头模式,每次都手动登录一下才勉强解决
后面改了一下装一个adblock plus,屏蔽了一堆东西
cookie是从editthiscookie里直接导出的
Chrome 92.0.4515.159 32位
默认的UA,iPad
配置

截图UA

user_agent: 'Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1'

截图宽度

width: 200

截图高度

height: 1024

截图像素比

pixel_ratio: 3

无头模式(后台模式)

headless: false

指定使用的浏览器,Chrome/firefox

browser: Chrome

是否截图模式

setup: true
顺便附自定义规则
t.bilibili.com##.unlogin-popover.unlogin-popover-avatar
t.bilibili.com###van-popover-7903
t.bilibili.com##.van-popover.van-popper
t.bilibili.com##.unlogin-avatar
t.bilibili.com##.nav-search-btn
t.bilibili.com###nav_searchform
t.bilibili.com##.mini-header__content
t.bilibili.com##.mini-header.m-header.mini-type
t.bilibili.com###internationalHeader
t.bilibili.com##.international-header.report-wrap-module
t.bilibili.com##.back-top
t.bilibili.com##.login-tip
t.bilibili.com##.comment-send-lite.no-login
t.bilibili.com##.comment-send.no-login

@cssxsh
Copy link
Owner

cssxsh commented Aug 31, 2021

按道理,使用 iPad的 UA 会跳转到 https://t.bilibili.com/h5/dynamic/detail/..., 可能是 b站又修改了网页端的代码

@Initial-heart-1
Copy link
Author

按道理,使用 iPad的 UA 会跳转到 https://t.bilibili.com/h5/dynamic/detail/..., 可能是 b站又修改了网页端的代码

总之就是很迷

@cssxsh
Copy link
Owner

cssxsh commented Aug 31, 2021

@cssxsh cssxsh closed this as completed Aug 31, 2021
@cssxsh cssxsh self-assigned this Aug 31, 2021
@cssxsh cssxsh added the enhancement New feature or request label Aug 31, 2021
@cssxsh cssxsh pinned this issue Aug 31, 2021
@Initial-heart-1
Copy link
Author

救了老命了,每次都得配abp,我又不会kotlin

@Initial-heart-1
Copy link
Author

考虑自带内核然后带adp插件吗,这波修完之后小尺寸关注按钮会挡ID,然后底下全是投稿视频

@Initial-heart-1
Copy link
Author

@cssxsh

@cssxsh
Copy link
Owner

cssxsh commented Sep 1, 2021

https://github.com/cssxsh/bilibili-helper/releases/tag/v1.1.6
添加了自定义的 hide 选项,配置内容是 JQ选择器

@cssxsh cssxsh moved this to 👌 in Mirai Plugin Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 👌
Development

No branches or pull requests

2 participants