Skip to content

Instantly share code, notes, and snippets.

@davo
Created June 18, 2021 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davo/ef8c3c7cc0e24550c21f73fd29357566 to your computer and use it in GitHub Desktop.
Save davo/ef8c3c7cc0e24550c21f73fd29357566 to your computer and use it in GitHub Desktop.
Copy all plugins from you Figma account

Copy all plugins from you Figma account

Instructions.

  1. Go to your Figma Profile and Select Plugins.
  2. Wait for the Plugins modal to show up.
  3. Open the Chrome Developer Console.
  4. Paste the code on the console and hit return.
  5. Done, now all your plugins, as a JSON object with the plugin name and link are on your clipboard.
copy(
Array.from(document.querySelectorAll('.plugin_tiles--installedPluginsList--1RWHl > .plugin_tiles--installedPluginTile--3npNa a')).map(({innerText, href}) => {
let plugins = []
let plugin_name = innerText
let plugin_link = href
let plugin = {
name: plugin_name,
link: plugin_link,
}
plugins.push(plugin)
return {
plugins,
}
})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment