@LamLamer " The task is not clear?" funny, i tried to be concise (damn if you do, damn if you don't, not your fault, my problem).
So, let me paraphrase myself, i don't mind, i usually go berserk in that direction.
But first, know that the task is feasible using Devtools (as it is tab-specific), if JS disabling allowed in settings. But my question is as a user, not a coder or a tweaker. So, my question makes sense but i have not been able to convey it. let's try with verbosity brakes off.
i am looking for chrome extensions that can pause execution of any loaded javascript code that could modify the live DOM tree
(e.g. current CSS code specifying the style, such as chess piece coordinates within their containers)
(also, forget discard from chrome, it may be taken care within chrome or other extension).
Clear, to this point?
i assume that yes, without any more specific context.
There are many extensions that claim to do that. I almost systematically tried them all as far as I could gather them all using the air-headed search engine on the web store (it behaves like a grocery/retail store shelf design).
More context specification on the JS pause/disable/kill extension:
PER TAB task:
of a specific tab where a website page has been rendered, but no other tabs, even if same site.
emphasis: pauses or disables JS on one tab only, even if URLs with similarity are being rendered on other tabs.
Is this what is not clear?
I suspect it is, because in the reviews and support panels on the extensions web store pages, only a few developers seem aware of the possibility or need for that feature, in spite of users voicing such feature request (not many, but not zero).
The linked extension above is one of the rare ones that does that. However, i just found out that it does not do the other task.
User Data Non-destructive task:
The mouse event that activates the JS pausing or disabling action defines a precise moment, t0, where one could snapshot the live DOM tree.
That t0 is clear, right? The snapshot data, also?
Keeping the rendered page closest to that snapshot is what i want. I don't just want the pixels, i want that at t1, when toggle back on JS to the tab, it behaves as if there had been no toggling (I care about past input mostly, not so much the cosmetic styles).
CSS styles, including pieces positions already mentioned, but also the many move line candidates under consideration at t0, and not necessarily stored into premoves. Those may be html live nodes, not part of the CSS properties, but is still part of what i mean by live DOM tree snapshot equivalent.
The last candidate that fits the per-tab only task, completely erases all the paused JS affected CSS data, as if its objective was more like an ad-blocker, stopping the JS, and blocking all previous JS dependent rendering resources (CSS). All that is left is the board background and the move list rectangle border, perhaps its title bar and background, in explorer type lichess pages.
Please, specify what is not clear, in the future, as i can saturate your text buffers (computer or in your brain, i'd bet). And, i would rather not do that.
please correct or ask me, if i used terminology that is not familiar, as I also tend to take some liberty replacing technical terms by word that i consider synonyms, but don't look like i know what i am talking about (i also like to make things simpler, but not simplerer). just write the word, and i will choose better synonyms, 1 line max.
Last possible area that was not clear: 1) versus 2)
1) i have probably missed one such extension in the web store, not enough deferred downward scrolls perhaps?, so if anybody came across one, please share.
2) was, about how big of commitment if going from scratch, and now, since the last failure extension is open source: how much tweaking of that one. Is this looking like your translation extension project, or more like the Stylus Lichess economical equivalent?