Chrome Extension

hey @Web Bae I attempted to build a chrome at the weekend with out success. Do you know if this is even possible.. I wanted a way to select multiple sites in the Webflow dashboard and then delete them in bulk! I've attached the files I was uploading. I could see the delete button but after many attempts I couldn't get the checkboxes to show. I figured even once I did I'd hit the next hurdle pretty quickly as that's probably an easier part! Somehow it needs to automate the delete process where you need to type the site name to delete. Would be awesome to get your thoughts.
5 Replies
Web Bae
Web Bae2y ago
@Scott Humphrey I would do this via the Webflow API. Here's the network request sent on a site deletion.
No description
Web Bae
Web Bae2y ago
Webflow Developer API
Authorized User
Basic information about the authorized user.
Web Bae
Web Bae2y ago
have you worked with API's much?
Scott Humphrey
Scott HumphreyOP2y ago
Not too much no but it’s an area I’m trying to explore more, I have a basic understanding
Web Bae
Web Bae2y ago
most of Finsweet chrome extension functionality works by calling the /dom endpoint of the webflow API, which isn't documented at all. which makes sense... it's how Webflow designer works essentially. Every change you make in designer send a network request out to update your changes so you could have your chrome extension do something like crawl the dashboard to create a list of all the pages. Then open up a little popup .html when user clicks the badge for your extensions. Finally call the API to delete the checked items. Not sure if the API requires a second confirmation like in the dahsboard you might need to make a network request efore to get the projectId too def not an easy task to accomplish if not familiar with APIs but the way I would go about this over simulating user clicks and things like that
Want results from more Discord servers?
Add your server