Opens the current figma file in Figma's app for desktop.
- Add a new bookmark.
- Copy
bookmarklet.js
and paste it into the URL field of the bookmark. - Save.
- Click the bookmark when you open a figma file in the browser.
javascript:(function(){var url=window.location.href;var trimmed=url.slice(21);window.location.href=`figma:/${trimmed}`})() |
var url = window.location.href; | |
var trimmed = url.slice(21); | |
window.location.href = `figma:/${trimmed}` |