kskg / bookmarklet-invision-get-screens-list

Get a list of screens from the InVision share URL and format them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📖 English / Japanese

InVision Get Screens List Bookmarklet

Cover image Photo by Leah Smit on Unsplash

Overview

This is a bookmarklet that retrieves a list of screens from an InVision project and formats them.
There are two types of pages to be retrieved: project pages and screens displayed on shared pages.

e.g.

---

# Project Title

## Divider Title 1

Screens Title A
https://projects.invisionapp.com/share/[Share ID]]#/[Screen ID]

Screens Title B
https://projects.invisionapp.com/share/[Share ID]]#/[Screen ID]

## Divider Title 2

Screens Title A
https://projects.invisionapp.com/share/[Share ID]]#/[Screen ID]

Screens Title B
https://projects.invisionapp.com/share/[Share ID]]#/[Screen ID]

---

Features

  • Get the project name, divider name, screen name and screen URL and format it.
  • main.jsdirectly to change the prefix and suffix for each item.

Usage

Preparation

  • Drag and drop the link from this page to your browser's bookmarks bar to save it.
  • Or rewrite the address of the unwanted bookmark into the code of main.min.js. ^1

Get the screen of the project page.

  1. open a project in InVision.
  2. make sure the URL is https://projects.invisionapp.com/d/main#/projects/prototypes/[Project ID].
  3. run the bookmarklet.

Get the screen of the shared page.

  1. Open an InVision project.
  2. Press the "Share" button in the header.
  3. Press the "public share link" or "Link Settings" link at the bottom of the modal to publish the share URL.
  4. Access the shared URL and press the "Screens" button in the lower right corner of the screen.
  5. Make sure the URL is https://projects.invisionapp.com/share/[Share ID]#/screens?browse.
  6. Run a bookmarklet.

Development Environment

  • MacOS 10.15.6
  • Safari 14.0
  • jQuery 2.2.4

It has been tested in Safari and Google Chrome on Mac OS.

Notes

Due to changes in InVision's specifications, it may not work.

Footnotes

^1: We use Closure Compiler to compress and optimize the code for speed.

Author

Please feel free to give me your comments and suggestions. We'll use it as a reference for development🤓

License

MIT

About

Get a list of screens from the InVision share URL and format them.

License:MIT License


Languages

Language:JavaScript 100.0%