

TAG POS=1 TYPE=SPAN ATTR=TXT:DeletePost If there is no such button as "Delete File", this comes to rescue. In any case, the script will go through this. TAG POS=1 TYPE=SPAN ATTR=TXT:DeleteFile Sometimes a "Delete Post" button appears as "Delete File". TAG POS=2 TYPE=A ATTR=ID:u_0_2* Select the element with the id attribute that starts with u_0_2.There is a post that can't be deleted so I tried to skip it by setting the value of POS to 2. URL GOTO= This refreshes the page to ensure that we are selecting the right first or second element every time. php? with a wildcard * to make the script work on every iteration of the loop. TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/a/delete.php?* ATTR=* Select the submit button. TAG POS=1 TYPE=A ATTR=TXT:Delete Select the element that contains the string 'Delete'. TAG POS=1 TYPE=A ATTR=TXT:*Comment* Select the first element that contains the string 'Comment'. TAG POS=1 TYPE=SPAN ATTR=TXT:SeeMorePosts Sometimes, mbasic hides all the remaining old posts.

WAIT SECONDS=n Change your waiting time if you have a slower connection or computer. SET !ERRORIGNORE YES Ignore any errors so the loop continues.

SET !TIMEOUT_STEP n This is probably for the error timeout. My script is still running and deleting posts at the time of writing this.
Delete comment on facebook post free#
If this worked for you, you're free to hit the Star button.Ĭode Explained I just learned this iMacros scripting and I think it might be worth the share. Select the appropriate script from the yellowish tree pane. Go to your facebook group's url and make sure your language is set to English.Įxample: /groups/URL or Step 8 This saves me from hundreds of notifications that come when comments are made. Personally, I have been an avid untagger I untag myself from all irrelevant photos immediately. Clicking on this arrow will bring you the option of removing tag. Rename the script to something like Step 6 To completely remove tag, look for a downward arrow in top right corner of the post. TAG POS = 1 TYPE = BUTTON ATTR = TXT: Delete WAIT SECONDS = 2Īs you can see from the code, there is a URL. TAG POS = 1 TYPE = SPAN ATTR = TXT: Delete Post WAIT SECONDS = 2 TAG POS = 1 TYPE = SPAN ATTR = TXT: Delete File WAIT SECONDS = 2 TAG POS = 2 TYPE = A ATTR = ID: u_0_2 * WAIT SECONDS = 2 SET ! TIMEOUT_STEP 1 SET ! ERRORIGNORE YES
