-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from croque-scp/batch-deletes
Batch deletes
- Loading branch information
Showing
4 changed files
with
292 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"semi": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,39 @@ | ||
# Wikidot applications deletion userscript | ||
|
||
[Tampermonkey](https://www.tampermonkey.net/) userscript for | ||
[Wikidot](https://www.wikidot.com/) users. | ||
[Tampermonkey](https://www.tampermonkey.net/) userscript for [Wikidot](https://www.wikidot.com/) users. | ||
|
||
Adds two buttons to the messages inbox: | ||
|
||
* **Delete recent applications:** Deletes applications on the first page of | ||
the user's inbox, then the second, and so on until a page is found that | ||
already has no applications. | ||
* **Delete all applications:** Deletes all applications in the user's | ||
inbox. | ||
* **Delete recent applications:** Deletes applications on the first page of the user's inbox, then the second, and so on until a page is found that already has no applications. | ||
* **Delete all applications:** Deletes all applications in the user's inbox. | ||
|
||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/croque-scp/delete-applications/main/screenshot.png"> | ||
</p> | ||
|
||
Before deletion is committed, a confirmation dialogue will be raised. | ||
|
||
Especially useful for Wikidot administrators of popular sites, whose | ||
inboxes will quickly become full of applications, drowning out actual | ||
messages from other users. Use at own risk. | ||
Especially useful for Wikidot administrators of popular sites, whose inboxes will quickly become full of applications, drowning out actual messages from other users. Use at own risk. | ||
|
||
Installation instructions: https://scpwiki.com/usertools#userscripts | ||
|
||
## Installation via Tampermonkey | ||
|
||
This method permanently adds the two buttons to your Wikidot inbox. They will be there for as long as you have both Tampermonkey and this userscript installed. | ||
|
||
1. Install [Tampermonkey](https://www.tampermonkey.net/). | ||
2. Visit the [userscript | ||
directly](https://github.com/croque-scp/delete-applications/raw/main/delete-applications.user.js). | ||
3. Tampermonkey will prompt you to install the userscript. Click 'install' | ||
to do so, being sure to review the code first. | ||
2. Visit the [userscript directly](https://github.com/croque-scp/delete-applications/raw/main/delete-applications.user.js). | ||
3. Tampermonkey will prompt you to install the userscript. Click 'install' to do so, being sure to review the code first. | ||
4. Visit your [Wikidot inbox](https://www.wikidot.com/account/messages). The two buttons will be there. | ||
|
||
Uninstallation: Go to your Tampermonkey dashboard, which can be found in your browser extensions page. Click the bin icon next to the 'Wikidot applications deleter' script. | ||
|
||
## Usage without Tampermonkey | ||
|
||
1. Visit the [userscript | ||
directly](https://github.com/croque-scp/delete-applications/raw/main/delete-applications.user.js) | ||
and copy the whole thing. | ||
2. Visit your [Wikidot inbox](https://www.wikidot.com/account/messages) and | ||
open the JavaScript console. | ||
3. Paste the userscript into the console and press enter. | ||
4. Enter one of the following, and then press enter: | ||
* `deleteApplications()` to delete recent applications | ||
* `deleteApplications(true)` to delete all applications | ||
This method adds the two buttons to your Wikidot inbox once only. They will no longer be there as soon as you leave the page. | ||
|
||
1. Visit the [userscript directly](https://github.com/croque-scp/delete-applications/raw/main/delete-applications.user.js) and copy the whole thing. | ||
2. Visit your [Wikidot inbox](https://www.wikidot.com/account/messages) and open the JavaScript console. | ||
3. Paste the userscript into the console and press enter. The two buttons will appear. | ||
|
||
This is a one-off process that must be repeated every time you want to delete applications. Use this method if you don't want to (or can't) install this tool as a Tampermonkey userscript. |
Oops, something went wrong.