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

Some userscripts not working on CSDN #440

Open
newyorkthink opened this issue Nov 8, 2022 · 9 comments
Open

Some userscripts not working on CSDN #440

newyorkthink opened this issue Nov 8, 2022 · 9 comments
Labels
help wanted Help wanted with this issue, so PRs are encouraged! question Further information is requested

Comments

@newyorkthink
Copy link

i see the ":h userscript"

and i copy script in the .vieb/userscript/gm/
but is not working

image

but it not working , look like this

image

@newyorkthink newyorkthink added the bug Something isn't working label Nov 8, 2022
@Jelmerro
Copy link
Owner

Jelmerro commented Nov 8, 2022

Did you run :set userscript and does the file end with .js, if not, it won't be run by Vieb. The userscript setting can also be set with the viebrc, see :h viebrc.

@Jelmerro Jelmerro added question Further information is requested and removed bug Something isn't working labels Nov 8, 2022
@newyorkthink
Copy link
Author

I run set userscript and take it into the .viebrc . and the every file is .js

but i take the process. it not working.

looking following:

image

image

image

not working. not change
image

@Jelmerro
Copy link
Owner

Jelmerro commented Nov 8, 2022

Did you refresh the page and check the devtools (F12 or :devtools) for errors?

@newyorkthink
Copy link
Author

yes, i refresh it ,and F12 ,not errors
image

@newyorkthink
Copy link
Author

Uploading tampermonkey-chromium.zip…

this is my tampermonkey script , i push it ,you can test

@Jelmerro
Copy link
Owner

Jelmerro commented Nov 8, 2022

You can find the errors in the "console" tab of the devtools, I can't test your script, as I can't connect to CSDN from here.

@newyorkthink
Copy link
Author

yes it have some errors
image

you looking here

@Jelmerro Jelmerro changed the title userscript not working Some userscripts not working on CSDN Nov 8, 2022
@Jelmerro Jelmerro added the help wanted Help wanted with this issue, so PRs are encouraged! label Nov 8, 2022
@Jelmerro
Copy link
Owner

Jelmerro commented Nov 8, 2022

I don't see any errors caused by the script in there, so I'm afraid that I do not know what the issue is. And since I can't connect to CSDN to test it myself I hope that somebody else who has the same issue will be able to help you.

@newyorkthink
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help wanted with this issue, so PRs are encouraged! question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants