Skip to content

Extend PRAGMA playback to support javascript selections  #5

@mekarpeles

Description

@mekarpeles

Currently the https://pragma.archivelab.org/playback/:id interface only works if an annotation is saved having a value of {"id": "xxx"} where xxx is some css ID which can be found within the Save Page Now'd webpage. It would be nice if an annotation could save a javascript selection and the /playback javascript was capable of (after loading the desired pragma wayback ID to playback) surrounding the selection with a span which could then be styled. i.e. extend citations to arbitrary selections (or at least also support css classes) instead of just css IDs.

Some of this work has been started here:
https://gist.github.com/mekarpeles/a1a60865d2d50e8c0b08bf1b39e8b718

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions