mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1011] Question: Can I disable all JS without breaking the UI? #2144
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kotovalexarian on GitHub (Aug 9, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1011
Hello. I don't want any untrusted JS to run on my subdomain. I know that JS stripping (#237) is not yet implemented. I know that you recommend (#239) to disable some extractors, but I don't want to do this because I want to save as much information about webpages as possiblle (except JS). So I'm going to do the following:
application/javascriptMIME type using Nginxscript-src 'none'This will disable all JS, even that is included with ArchiveBox if such exists. My question: is any JS included with ArchiveBox and is it essential?
@kotovalexarian commented on GitHub (Aug 10, 2022):
I've found that ArchiveBox is somewhat broken if JS is disabled. At least the appearance. It requires at least JS files and
'unsafe-inline'CSP permission.@pirate commented on GitHub (Aug 20, 2022):
Yeah we don't support no-js mode for the UI. I'm sorry I don't have time/capacity to implement that for the admin UI areas.
You can go the static HTML publishing route though, which is JS-free: https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive#2-export-and-host-it-as-static-html
@satonotdead commented on GitHub (Jun 25, 2024):
That should be appreciated by a vast number of privacy advocates and data hoarders alike (!)