[PR #390] [CLOSED] No inline scripts #598

Closed
opened 2026-04-08 16:53:36 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/390
Author: @need4swede
Created: 5/30/2024
Status: Closed

Base: mainHead: no-inline-scripts


📝 Commits (4)

  • 3f4a775 Moved 'ready' func call from index.html
  • 86a91dc Moved <script> out from index.html
  • 8ee0fb0 moved inline-styling to css
  • 811f1b7 minor formatting changes

📊 Changes

3 files changed (+62 additions, -53 deletions)

View changed files

📝 assets/index.css (+6 -2)
📝 assets/index.html (+3 -7)
📝 assets/index.js (+53 -44)

📄 Description

Removed all inline scripts from index.html and moved logic to js


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/390 **Author:** [@need4swede](https://github.com/need4swede) **Created:** 5/30/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `no-inline-scripts` --- ### 📝 Commits (4) - [`3f4a775`](https://github.com/sigoden/dufs/commit/3f4a7752710c50cfd2ec68d06c561a6fdafabaa0) Moved 'ready' func call from index.html - [`86a91dc`](https://github.com/sigoden/dufs/commit/86a91dc1bf5c6f89a19b5e70a2e17e0854a4bdf5) Moved <script> out from index.html - [`8ee0fb0`](https://github.com/sigoden/dufs/commit/8ee0fb045c91eefe49aee6690a9a425a1b1c3a55) moved inline-styling to css - [`811f1b7`](https://github.com/sigoden/dufs/commit/811f1b71b2d47eb4994392c23752b23b7c44bca6) minor formatting changes ### 📊 Changes **3 files changed** (+62 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `assets/index.css` (+6 -2) 📝 `assets/index.html` (+3 -7) 📝 `assets/index.js` (+53 -44) </details> ### 📄 Description Removed all inline scripts from index.html and moved logic to js --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:36 +03:00
zhus closed this issue 2026-04-08 16:53:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#598