Skip to content

Added man pages script, Sub&Save total, security#25

Merged
mkazin merged 10 commits intomainfrom
work
Mar 4, 2026
Merged

Added man pages script, Sub&Save total, security#25
mkazin merged 10 commits intomainfrom
work

Conversation

@mkazin
Copy link
Copy Markdown
Owner

@mkazin mkazin commented Mar 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 2, 2026 04:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Node/Jest toolchain (likely for security/maintenance), adds a new Man7.org userscript with a demo + documentation, and enhances the Amazon Subscribe & Save userscript to display estimated savings.

Changes:

  • Bump devDependencies (Jest + jsdom) and refresh package-lock.json.
  • Add Man7.org/man7.user.js plus a demo HTML page and a README describing the script.
  • Update Amazon Subscribe & Save script to also compute and display savings.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
package.json Updates Jest/JSDOM versions in devDependencies.
package-lock.json Lockfile refresh to match updated dependency graph.
Man7.org/man7.user.js New userscript: builds an options TOC, adds filtering, and collapses long sections.
Man7.org/demo/hexdump.1.html Demo page that loads the Man7 userscript.
Man7.org/README.md Documentation and links for the Man7 scripts and demos.
Amazon/AmazonSubscriptionTotal.user.js Adds savings calculation/output alongside total cost.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</head>

<body>
<script async src="../man7.user.js"></script>
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This demo loads the userscript with async near the top of <body>, so it may execute before the man page DOM (e.g., the OPTIONS heading) exists, causing null dereferences in the script. Use defer, move the script tag to the end of the document, or wrap the userscript entrypoint in DOMContentLoaded.

Suggested change
<script async src="../man7.user.js"></script>
<script defer src="../man7.user.js"></script>

Copilot uses AI. Check for mistakes.
mkazin and others added 5 commits March 2, 2026 00:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Moved demo pages to new folder to be served by Github Pages
* Switched to local copies of two css files used by demo pages to avoid hotlinking
* Removed tracking scripts from the demo pages
Also added support for a third DOM structure
@mkazin mkazin temporarily deployed to github-pages March 3, 2026 07:41 — with GitHub Pages Inactive
@mkazin mkazin temporarily deployed to github-pages March 4, 2026 16:21 — with GitHub Pages Inactive
@mkazin mkazin temporarily deployed to github-pages March 4, 2026 16:28 — with GitHub Pages Inactive
@mkazin mkazin temporarily deployed to github-pages March 4, 2026 16:36 — with GitHub Pages Inactive
@mkazin mkazin merged commit 7bd9333 into main Mar 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants