Giter Site home page Giter Site logo

Comments (15)

indefined avatar indefined commented on May 19, 2024

有登录帐号吗?如果正常登录了帐号的话按F12看控制台(Console)有没有红色错误信息,有的话点开复制一下内容可能对找错误有些帮助。因为我没有mac所以也没办法验证问题,前些日子有类似的反馈不过没有找到问题所在,我推了一个新的版本细化了错误提示,不过并没有内容更新应该对解决问题没有作用

from userscripts.

kongxwen avatar kongxwen commented on May 19, 2024

有正常登陆的. Console的确有红色信息: Refused to connect to "undefined": Blocked by @connect CORS check
不过我也看不大懂了...
点开层级会出现如下:
image
这我就, 知识盲区了... 那我还是先用回chrome刷b站吧
谢谢作者感恩

from userscripts.

indefined avatar indefined commented on May 19, 2024

挺迷的,你可以更新一下新版本的看看提示是没有登录还是没有获得授权网址,似乎不应该出现这个问题才对

from userscripts.

kongxwen avatar kongxwen commented on May 19, 2024

显示的是没有登陆b站... 但是我有登陆, 刚试了下清除cookie, 重新登录, 关掉所有其他脚本和插件. 还是一样的, 如下
image

from userscripts.

kongxwen avatar kongxwen commented on May 19, 2024

少放一张图, 还是如上的那张TypeError
image

from userscripts.

indefined avatar indefined commented on May 19, 2024

看上去似乎是safari的tampermonkey跨域请求有些问题的样子,找了一下似乎没有类似的解决方案,TM的官方反馈有过类似的问题但是属于比较旧版本的似乎新版本没有过类似反馈的样子,我会继续关注一下这个问题,可能你暂时需要用chrome了

from userscripts.

kongxwen avatar kongxwen commented on May 19, 2024

好的~ 感谢作者~

from userscripts.

yjw4355 avatar yjw4355 commented on May 19, 2024

我的safari也有这个问题,然后提一个小建议,刷新可以一次刷8个视频,刷新10个的话总有两个在下面,谢谢。

from userscripts.

indefined avatar indefined commented on May 19, 2024

不是很清楚具体问题原因,不过突然想到似乎可以尝试一下使用浏览器原生跨域试试,但是我也不知道效果,等会我更新试一下。

关于刷新视频,脚本并没有办法控制数量,这个推荐接口是固定每次获取10个的,目前没有找到可以控制返回数量的参数,而每行显示的视频数根据不同的屏幕分辨率是不同的。我有调过一个强制低分辨率屏幕显示每行5个的样式,但是具体对不同分辨率效果会怎么样我也不清楚,待会更新我也加一个强制加宽的设置参数进去吧

from userscripts.

indefined avatar indefined commented on May 19, 2024

@yjw4355 @kongxwen 关于这次更换授权的更新是否有效请试用反馈一下,因为没有反馈我也不知道这个问题是否解决了,没解决的话可能还是需要等找到其它兼容方法

from userscripts.

yjw4355 avatar yjw4355 commented on May 19, 2024

最新版是6.15.1吗,还是获取失败

from userscripts.

yjw4355 avatar yjw4355 commented on May 19, 2024

没有获得匹配的密钥

from userscripts.

indefined avatar indefined commented on May 19, 2024

可以按F12看一下控制台(Console)里的详细信息吗?问题还挺坑的,可能需要完全使用原生接口才能绕过这个问题,大概要整个照抄解除区域限制那个脚本逻辑,另开一个窗口获取授权然后再把授权发给原来的窗口

from userscripts.

indefined avatar indefined commented on May 19, 2024

更新了0.6.16,按照逻辑应该能用了吧,已经完全去除了授权过程的非原生依赖了

from userscripts.

yjw4355 avatar yjw4355 commented on May 19, 2024

成功了😁谢谢大神

from userscripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.