[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


Thread archived.
You cannot reply anymore.


[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
>>
>>106479392
Not gonna make it easy for you to use custom scripts on my site, get fucked
>>
File: 1744358723451712.png (180 KB, 631x474)
180 KB
180 KB PNG
What are they even trying to hide? It's just a search site which buy its search results from Google.
>>
>>106479392
CSS isn't HML.
nor is using a CSS preprocessor to avoid namespace collisions a form of obfuscation.
>>
>>106485133
CSS is like the name says cascading. no one likes that CSS styles are cascading. so you use a CSS preprocessor to namespace every element in their own little namespace, so no cascading is going to happen.
>>
>>106485287
I don't believe you. Sites worked fine for thousands of years before this gay shit was invented. It's like a "solution" in search of a problem, much like Shadow DOM.
>>
>>106480872
Nesting an entire web browser inside canvas would be incredibly stupid. Html-css does not work well for how sites and web-apps are designed these days. It would make much more sense to use some kind of modern toolkit instead.
>>
>>106483382
>do you want to spend your whole life sitting and getting money for free and have a special parking space just for you
yes. i'm not using my legs anyway and i could use some pity points. and the free money
>>
File: .png (182 KB, 1240x632)
182 KB
182 KB PNG
>>106485309
literally nothing else besides CSS is cascading. cascading is retarded.
>>
>>106485309
Websites were never fine, it was always a mess from netscape to today. CSS should have stuck with versioning so they could get rid of or fix all their stupid past decisions and make one good spec rather than just adding more and more and more. What we could really use is a competing stylesheet.
>>
>>106485309
>Sites worked fine for thousands of years before this gay shit was invented.
Lies

It was 2009 and I’d spent what seemed like hours trying to do something in CSS that I already knew I could do in seconds with tables. I was trying really hard to do it with CSS because that’s what you’re supposed to do, but I just wasn’t very good at it (spoiler alert: I’m still not very good at it).



[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.