Removal of Javascript, CDN, and remote imports #5

Open
opened 2024-03-06 03:54:22 +00: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
Collaborator

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_
acidvegas added the
enhancement
label 2024-11-03 00:37:44 +00:00
acidvegas added this to the SuperNETs Development project 2024-11-03 00:37:46 +00:00
Sign in to join this conversation.
No Milestone
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.