FarisHijazi / Rarbg-Enhancer-UserScript

Browser extension for Rarbg.to to add autoCAPTCHA, magnet links, and enhance the interface
MIT License
108 stars 9 forks source link

Add support for ChromeXT #20

Open MuhammadBayiz opened 1 year ago

MuhammadBayiz commented 1 year ago

ChromeXT is a Xposed framework module that adds support for Userscript in Google Chrome in rooted android phones, my issue is that I can't install the script as it says "Invalid Script" because the first line starts with

// prettier-ignore
var meta = {
    rawmdb: function () {

and not // ==UserScript== Here is ChromeXT repository link for more info https://github.com/JingMatrix/ChromeXt And probably update @include to @match probably gonna be necessary as new Chrome Standards requires and tampermonkey and other Userscript Managers will drop support for @include soon

FarisHijazi commented 1 year ago

thanks for the feedback

could you make those changes and submit a pull request I probably won't look at it any time soon

Try removing the meta part and see what works, I don't have chromext and fixing it will be annoying, you're more suited to fix it, once you do, I'll be happy to merge the changes

MuhammadBayiz commented 1 year ago

I will try and see what i can do if i managed to make it work I'll submit a pull request

MuhammadBayiz commented 1 year ago

Hi again! I talked to ChromeXT's Author and he checked the issue and said:

Chrome doesn't support @require from https://raw.githubusercontent.com

As a solution, you may ask the original author to follow this advice: https://github.com/orgs/community/discussions/25343

Could you check it having this Wonderful script on my Android would be a hell of an upgrade.