Skip to content

nightnei/wpcom-cleanser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPcom Cleanser

It's a browser extension created specifically for A12S. This tool simplifies the process of cleaning up websites, different subscriptions, and domains. Previously, developers had to do it manually through the UI, navigating multiple pages, prompts and steps for each item. This extension saves valuable time and dramatically reduces manual work, allowing developers to complete the cleanup with just one button click.

Features

  1. Cancel subscriptions and remove them (https://wordpress.com/me/purchases). At the moment we support only:
    • Purchases made with Free credits(Refund is not implemented):
      • Domain registration
      • Wordpress.com plans
      • Titan
      • Google Workspace
  2. Delete sites (https://wordpress.com/sites)
  3. Remove A4A sites from dashboard (https://agencies.automattic.com/sites)

Installation

Follow these steps to set up WPcom Cleanser:

  1. Clone the repository:
git clone [email protected]:nightnei/wpcom-cleanser.git
  1. Open Chrome and navigate to chrome://extensions/
  2. Enable Developer Mode (top right corner)
  3. Click on “Load unpacked” and select the cloned repository folder
  4. The extension should now be visible in your extensions list

Usage Instructions

  1. Open the Extension: Click the "WPcom Cleanser" icon in your Chrome toolbar
  2. Click on the "Settings" button in the top right corner and provide your "Authorization header"
    • Open https://wordpress.com/ in a new tab.
    • Click on "View -> Developer -> Developer Tools" or press "Ctrl + Shift + I" to open DevTools.
    • Select "Network" tab.
    • Reload the page.
  3. Click "Save settings"
  4. Have fun!

Troubleshooting & Notes

  1. Sometimes you can encounter errors with A4A sites deletion. It's expected, since deletion of their plans takes some time at the backend. Just try to delete them again in 1-2 minutes.
  2. The extension removes items sequentially, so keep it open until the process completes. This approach avoids overloading our servers. We may later rewrite it to send all requests simultaneously.

Contacts

If you encounter issues or need new functionality, create a branch with proposed changes or add an issue to this repo. For questions, mention me (@nightnei) here or on Slack.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published