Giter Club home page Giter Club logo

Comments (2)

Maasea avatar Maasea commented on July 28, 2024 1

我去小火箭上试了一下,你的第一个问题我没复现,完全可以正常运行

第二个问题应该是一些搬运的同学,将模块适配小火箭后没及时更新脚本地址导致的。我并没有提供小火煎的模块配置信息,但是我注释里给出了说明。

至于提供的第二个脚本链接,里面reject 的链接应该是从 DivineEngine那里合并过来的。但实际上我的脚本正确执行的时候,根本不会出现里面的几条广告请求。里面那条重定向可能还会影响脚本正常执行,所以最好不要一起使用。

下面给出小火箭的可以使用的模块:

#!name=去除 Youtube 广告
#!desc=去除 Youtube 广告 (IOS >= 15)

# > Credit
# @Choler & @DivineEngine & @app2smile

[Script]
youtube.request = type=http-request,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence)\?,requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.beta.js
youtube.response = type=http-response,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting)\?,requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.beta.js

[URL Rewrite]
^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad _ REJECT-IMG

[MITM]
hostname = %APPEND% *.googlevideo.com, youtubei.googleapis.com

from sgmodule.

wqh227 avatar wqh227 commented on July 28, 2024

添加这个模块确小火箭马上可以用了, 而且这个新款的广告屏蔽得很彻底👍👍👍 不过我这边还是有概率会弹出来广告, 尤其是小火箭运行几个小时以后, 然后重启了软件又正常, 可能和小火箭的JS缓存机制有关系。

from sgmodule.

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.