[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1731761589105830.png (38 KB, 483x435)
38 KB
38 KB PNG
If you obfuscate your HTML, there's a 99% chance your site will be shitty.
>>
>>106479392
Get used to it, I'm amazed sites aren't already just 1 canvas element drawn to by JS
>>
>>106479446
at least gecko won't overdraw this one LOL
>>
>>106479446
Too much work, you'd need to reimplement basically all of html/css inside javascript. And have it work with ads properly.

Actually that would be interesting as a coding experiment, in an Inception kind of thing. Write a HTML/CSS engine that uses entirely Canvas and 2D API to display things. It probably wouldn't be performant enough though.
>>
>>106480872
>It probably wouldn't be performant enough though.
Like webshiters ever cared about such things
>>
>>106479446
You can do that.
It would make it difficult for the cripples though. So they don't do that.
>>
Why did you try to obfuscate English in the pic?
>>
>>106479446
That's what wasm sites are using under the hood
>>
>>106480872
https://github.com/WICG/html-in-canvas/blob/main/README.md
>>
>>106479392
This class randomization stuff is so fucking annoying
>>
>>106480872
discord already does this
>>
File: 175654386041774172.jpg (515 KB, 3000x2346)
515 KB
515 KB JPG
>>106480995
>make it difficult for the cripples
based
>>
>>106483353
Discord still uses HTML/CSS.
>>
So how does this work? Use some dummy html and then js to decypt the real one into memory?
>>
>>106483425
I think it's just a transpiler where you write code that makes sense to you with sensical names, and then before deploying it you run it through an obfuscator that switches the names of variables and ids around to something that is harder to understand. Computers don't care because they just match name to name and id to id no matter what they are, only humans will be confused what the "meaning" of it all is.
>>
>>106481338
Not necessarily. They can use web rendering, but they can also bind to a small ECMA script that exposes needed DOM functionality.
>>106483425
Wut. It's probably some framework doing SSR.
>>
>>106479392
I really don't care. Keep seething about it you latino freak.
>>
Don't care. Deobfuscation isn't going to be easy because fuck you.
>>
>>106479392
that random css names is a sign of shitty (bloated) website
the other sign are shadow dom elements
and custom elements that reimplement normal elements with shitty custom javascript that breaks accessibility
and scroll hijacking
and custom smooth scroll
and infinite scroll
and virtual scroll elements which break mouse "lock to scroll" bindings and extensions like vimium, because the element has pseudo content inside which is replaced as one scrolls with their horrible implementation so for anything else that scrolls it seems to have nothing to scroll and justs scrolls by a tiny bit and stops
this is pure cancer, as with every custom element they think they reimplemented the custom behavior because they implemented arrow keys and page up, page down...
javascript was a mistake
and the so called controlled inputs that updates the state as you type, eats and loses the input you have typed, because you have typed it too fast for that retarded implementation...
the only sensible implementation is to wait until the user stops typing for some time, updating state on keydown or keyup is jeet tier
honestly why do they even write controlled inputs is a mystery to me, it doesn't do anything good but fucks everything up for the user



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.