VM1038:1 Uncaught DOMException:
Failed to execute ‘querySelector’ on ‘Document’: ‘#n-.D7.93.D7.A4.D7.99.D7.9D-.D7.9E.D7.99.D7.95.D7.97.D7.93.D7.99.D7.9D > a’ is not a valid selector.
at <anonymous>:1:10
I get the impression that this is due to ignoring the backslashes in the executed code.
I don’t want to escape each backslash individually. is there a way to escape all backslashes globally?
When I select it with querySelector() and try to set its display to none, I get the above error indicating that the backslashes were ignored, hence selection failed.
Though the back of my head’s telling me that after the replace, you wouldnt actually need that many slashes, because it gets passed as a preprocessed string.