SingleFileZ icon indicating copy to clipboard operation
SingleFileZ copied to clipboard

Userscript not applied after saving

Open deprid opened this issue 2 years ago • 3 comments

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

deprid avatar May 05 '22 05:05 deprid

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?

gildas-lormeau avatar Jun 09 '22 23:06 gildas-lormeau

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

deprid avatar Jun 14 '22 18:06 deprid

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.

gildas-lormeau avatar Jun 14 '22 20:06 gildas-lormeau