Re:Anti-Ghosting
by eyelidlessness on Tuesday June 02, 2020 @05:25PM
(#23396489)
Well, as a long time web dev who's been backend only for a few years now, so my frontend skills are rusty, you taught me something new. I didn't know about `attributeStyleMap`. Way to go first time!
Re:Anti-Ghosting
by cryptonector on Tuesday June 02, 2020 @05:21PM
(#23396448)
You can find the style using the inspector and then just change. Much faster that way, though not as cool as writing some JS, I admit.
Re:Anti-Ghosting
by eyelidlessness on Wednesday June 03, 2020 @11:25PM
(#23412037)
Finding it by knowing the dev tools is a technique not everyone has at their disposal. I offered the suggestion of how it could be fixed, someone provided a copypasta to do it for everyone regardless of familiarity with the dev tools. That should be applauded!
Re:Anti-Ghosting
by aarongolliver on Friday June 12, 2020 @03:13AM
(#23496839)
Thank you for this. I thought the usefulness of being able to press "ctrl-c, f12, ctrl-v, enter" would be self evident.
document.getElementsByClassName('ans')[0].attributeStyleMap.set('word-break', 'normal')