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

Userscript not applied after saving #129

Open
deprid opened this issue May 5, 2022 · 3 comments
Open

Userscript not applied after saving #129

deprid opened this issue May 5, 2022 · 3 comments

Comments

@deprid
Copy link

deprid commented May 5, 2022

I use noWhiteBackgroundColor-gray userscript that turns white color to gray on website. I tested SingleFile v1.20.5 on a FB post, the output was a FB post with gray color (userscript was applied). Then I tested SingleFileZ v1.2.10 on the same post, but the output was a FB post with white color (userscript was not applied).

Until this bug is fixed, I have to use SingleFile but I love the reduced size output feature of SingleFileZ..

Capture1
Capture2

@gildas-lormeau
Copy link
Owner

gildas-lormeau commented Jun 9, 2022

Sorry for the very late response. In SingleFileZ, event names are prefixed with single-filez- instead of single-file-, e.g. single-filez-user-script-init. Do you confirm that you use the correct prefix?

@deprid
Copy link
Author

deprid commented Jun 14, 2022

Not sure what you asked, I used SingleFile for the above screenshot, and SingleFileZ for the below (without grey background color).

@gildas-lormeau
Copy link
Owner

Sorry for the misunderstanding, I thought you were referring to the integration of user scripts in SingleFile (see https://github.com/gildas-lormeau/SingleFile/wiki/How-to-execute-a-user-script-before-a-page-is-saved for more info).

Unfortunately, I don't have any account on facebook so I cannot do tests and see what could cause this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants