You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# instagram-dm-unsender
1
+
# instagram-dm-unsender (idmu)
2
2
3
3
As of 2023 [instagram.com](https://www.instagram.com) does not allow batch unsending of messages which is why this project came to be.
4
4
@@ -19,9 +19,19 @@ Deleting a thread will only delete messages on your end, the other party will st
19
19
20
20
Unsending a thread on the other hand will delete messages on both ends, the other party will no longer be able to read your messages.
21
21
22
-
## How does it work?
22
+
## How does it work / How can I use it?
23
23
24
-
This script is meant to be run on the page that lists the message threads.
24
+
This script is meant to be run on the page that lists the message threads.
25
+
26
+
** The UI will only appear once you select a message thread ** :
27
+
28
+

29
+
30
+
From here three buttons are available :
31
+
32
+
- Unsend all DMs - Start the unsending workflow
33
+
- Batch size - Change the number of page to load between unsending
34
+
- Load all DMs - Load all your thread messages
25
35
26
36
The workflow works as follow:
27
37
- Create a list of all messages by querying the DOM with an early messages detection strategy (we test the raw outputs of our ``find-messages-strategy`` against parts of the workflow).
@@ -64,15 +74,19 @@ Finally, install the userscript from OpenUserJS :
64
74
65
75
I recommend using [Violentmonkey](https://violentmonkey.github.io/) or similar and enable userscript autoreloading as explained in here https://violentmonkey.github.io/posts/how-to-edit-scripts-with-your-favorite-editor/
66
76
67
-
Install all dependencies:
77
+
Install dependencies:
68
78
-``npm install``
69
79
70
-
Start rollup with the watch flag:
80
+
To both serve and build with autoreloading:
71
81
-``npm start``
72
82
83
+
> This will also start an HTTP server and allow autoreloading of the userscript as changes are made.
84
+
73
85
You can also do a one-time build with:
74
86
-``npm run build``
75
87
88
+
> The script will build to ``dist/idmu.user.js`` by default.
89
+
76
90
## This might not work
77
91
78
92
Instagram web app is serving different UIs probably based on the user location. [Yours might not be supported](https://github.com/thoughtsunificator/instagram-dm-unsender/issues/1)
0 commit comments