Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Pagetual README external-API examples use wrong command 'patetual' (typo of 'pagetual') #1210

Copy link
Copy link

Description

@chirag127
Issue body actions

Problem

Pagetual's README shows external-API postMessage examples with command: 'patetual' (typo), but the script only handles command === 'pagetual', so copy-pasted examples silently no-op.

Steps

  1. Open any page where Pagetual is active.
  2. In DevTools console, paste the exact example from Pagetual/README.md:62:
    window.postMessage({ action: 'nextPage', command: 'patetual', detail: 5 }, '*');

Expected

Next page loads (5 times).

Actual

Nothing happens. Source filters at Pagetual/pagetual.user.js:11742:
if (e.data.command === 'pagetual') { ... }

Also, README.md:98,106 document received messages as command: 'patetual', but source emits command: 'pagetual' / 'pagetual.insert' (pagetual.user.js:6719, :7904, :13502).

Environment

Pagetual v1.9.37.131 (README.md:1). Affects README.md lines 62, 76, 90, 98, 106.

Thanks for maintaining hoothin/UserScripts!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.