aboutsummaryrefslogtreecommitdiff
path: root/org/blog/articles/message-to-web-devs.txt
blob: 2e49aafbe31c231a9b3ddd839a99844c0d4b83c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
I am writing this to go over all the shit web devs do. Fuck them. A lot of
what I have to say are things discovered through umatrix. Often times we only
see the outside of a website but when using a good content blocker like
umatrix, noscript, ublock advanced mode... the inner workings of a website is
brought into the light. What I often find isnt pretty. Sometimes a website is
themed to look old school but under the hood its just a bunch of modern
javascript bullshit and a hell ton of frames. Other times more modern looking
websites have little to no javascript and instead use tastefull first party
css to get that look.

### Please dont hot link

From what I have seen neocities users love to abusive hot linking all the way
to the deepest depths of hell. Every single button, blinky, gif, meme... on
their frontpage is hot linked. Its perfectly ok to make your viewers suffer
with too much of that shit. I do the same. But **please download all the
images and gifs into your image folder instead of hot linking them**. Here is
why:

  * Hot linking puts strain on the sites you link to.
  * Hot linking makes your site handle link rot poorly.
  * Hot linking annoys the fuck out of people using any type of addon or browser feature that disables third party images. We do it to stop tracking pixels and things of that nature.

Indeed this doesnt only apply to images and gifs though images and gifs are
the thing hot linking is most abusived for. Another one I should point out is
the google font api bullshit. Dont use that shit.

### Please limit your use of javascript

**Its best is to not use javascript at all.** Though if you are addicted to
the drug javascript and cant help yourself at least try to limit your use of
it. That means **all static content needs to be accessible without
javascript**. No using javascript for fancy drop downs, no using javascript to
handle your layout, no using javascript just to get text and images onto the
screen, no using javascript for basic animations... this is what html and css
is for mother fuckers! Javascript is easily one of the worst things humans
ever created. Javascript programmers kept asking what they can use javascript
for but never stopped to think should they use javascript. To top things off
every new javscript feature they add comes with a hell ton of fingerprinting
baked deep into it. Most of the things you fuckers use javascript for can be
replaced with either css or backend. Try out a public access unix system, a
vps... if you wanta try making dynamic websites without the evils of
javascript. For making your website feel fancy css got you covered. Check out
[css zen garden](https://csszengarden.com). See how it looks fancy without
javascript? css is way more powerful than many of you realize. No need to
program your website like its a desktop app. The best part of css is you can
both use modern features and not fuck over people using older browsers!

### Fuck frames

Frames are stupid dont use them. Just link youtube videos instead of frame
them for fucks shake.

### Graceful degrading

Please check out [any browser](https://anybrowser.org/campaign/). You arent
going to test your site on every single browser and make it look the same on
every single one. Instead make your site degrade nicely. If css, images, html
features... break the important stuff will still work. If you own a website
pull it up with umatrix installed and start blocking things. Does it still
work? **Websites should contain content not layout.** You dont need to use
tables for layout or outdated css to make your website support old browsers.
Instead you just gotta make sure things can break without rendering your
website un-usable.

### Not important but...

I found using width on images to scale them down doesnt work in some old
browsers like dillo. To fix this I just scale all my images to whatever size I
need in gimp first. A added plus is not having to load a massive image just
for a tiny icon (like someone with as many images as my site would ever care
lol) and you can decide how you want your images scaled to.

### Shut your piehole

I can already smell the angry sweaty tears of modern web devs. Screaming about
how everyone should just install chrome to get all the latest ~~features~~
bloat and spyware instead of telling web devs to slow down ~~progress~~
clownery just to support old browsers. Here is what I have to say about
that...

  1. I already said you can use modern css.
  2. **Websites are nearly network accessible documents.** They shouldnt replace desktop apps, run as a program on your computer... At most a website should act as a interface to make requests to a server. That can be done quite easily without javascript.
  3. Desktop and server OS's is where the progress happens. Thats where powerful software is programmed and in real languages to.

Javascript programmers are now making desktop apps in javascript and writing
their backends in javascript you say?! Humanity is fucked.