raingart / Nova-YouTube-extension

Apache License 2.0
199 stars 9 forks source link

openuserjs.org (beta) ver. isn't running in my browser (FIXED!) #58

Closed Victorio115 closed 1 year ago

Victorio115 commented 1 year ago

Describe the bug

In Tampermonky appears the script is running, but actually isn't.

image

image

raingart commented 1 year ago

try to manually copy the code from openuserjs and replace.

It seems to me that openuserjs gives only part of the script. And that's why it doesn't work.

Compare the ends of the file to see if they are different

Screenshot_1

Victorio115 commented 1 year ago

Booth versions ended like these...

image

image

While previous version's end looked like this.

image

raingart commented 1 year ago

openuserjs crashes. Probably it will be necessary to publish a link to github in openuserjs as an update. Because I don't see any other way to get around the problem.

openuserjs will complain but it's unsafe. image

greasyfork generally cuts out links to external update sources automatically

Here is an intersting project. How it bypassed greasyforks file size limits https://greasyfork.org/en/scripts/370418-ppixiv-for-pixiv/code

perhaps if the size of the script is reduced, then there will be no error. If you are well versed in bash and know how to remove part of a line from files.

I have tried to do this with no success: https://github.com/raingart/Nova-YouTube-extension/blob/master/Makefile#L20-L23

raingart commented 1 year ago

try copying the code and manually replacing it. I think it will help

Example image
Victorio115 commented 1 year ago

I copied the source code from OpenUserJS.

Example image

And now the new version is working.

Example image

Just in case, I kept the version of GreasyFork.

Example image

Thank you.

raingart commented 1 year ago

I completely removed the openscript ver. I'm tired of these constant crashes of their site