Removal of Javascript, CDN, and remote imports #5

Open
opened 2024-03-05 19:54:22 -08:00 by acidvegas · 1 comment
Owner

motherFUCKjavascriptok? On the real, do we need it?

Remove CDN imports:

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.4/pako_deflate.min.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script>

also:

             body {
                 font-family: sans-serif;
                 background-image: url('https://media.tenor.com/fYnd0R6F-0UAAAAC/gun-revolver.gif');
                 background-size: cover;
                 background-position: center;
            }
             @media (prefers-color-scheme: dark) {
                 body {
                     overflow: hidden;
                     background: black;
                     background-image: url('https://media.tenor.com/fYnd0R6F-0UAAAAC/gun-revolver.gif');
                     background-size: cover;
                     background-position: center;
                     color: white;
                }

Leaving this here as a todo for myself unless someone else does it before me

motherFUCKjavascriptok? On the real, do we need it? Remove CDN imports: ``` <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pako/1.0.4/pako_deflate.min.js"></script> <script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script> ``` also: ``` body { font-family: sans-serif; background-image: url('https://media.tenor.com/fYnd0R6F-0UAAAAC/gun-revolver.gif'); background-size: cover; background-position: center; } @media (prefers-color-scheme: dark) { body { overflow: hidden; background: black; background-image: url('https://media.tenor.com/fYnd0R6F-0UAAAAC/gun-revolver.gif'); background-size: cover; background-position: center; color: white; } ``` Leaving this here as a todo for myself unless someone else does it before me
Owner

pako handles the compression of files for faster uploads on the web frontend, the entire site is entirely functional with noscript on max and all js removed, however slower uploads will be on the frontend,

you can view that pr here #4 (comment)

pako handles the compression of files for faster uploads on the web frontend, the entire site is entirely functional with noscript on max and all js removed, however slower uploads will be on the frontend, you can view that pr here https://git.supernets.org/supernets/hardfiles/pulls/4#issue-12_
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: supernets/hardfiles#5
No description provided.