Forum
»
Introducing: GhostMeBoyos v0.5- post history remover
01-23-2023, 05:34 PM
-
#1
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Introducing: GhostMeBoyos v0.5- post history remover
Courtesy of MISC Computer Science Discord:https://discord.gg/8EusJZdvfv
Source code:https://github.com/realnaaboo/ghostm...hostmeboyos.py
Because it asks for user & pass, I'll post code on GitHub.
It's not logged, user/pass gets pasted to user/pass field on sign-in page, that's it.
Trust is huge. I'm not trying to screw you over.
Feel free to test it on a burner account. & do ask questions you may have.
If you know better ways to do things, please share.
Here's how the script works: It opens a clean slate Firefox.exe (AKA no adblockers, cookies, saved logins, etc)
Manual:
0) Click "ghostmeboyos.exe"
1) Enter user/pass
2) Manually click off '15% disc pop up' (wait for it to load)
3) Enter "Y", press enter
4) Enter starting page # (1-999, etc.)
Automation:
5) Signs in & loads dark theme
6) Goes directly to post history search
7) Enters first thread, edits -> deletes (repeats for entire page)
8) Goes to next page & repeats 6.
Requirements: Windows OS, Firefox.
READ:READ:ver0.7 released. 0.6b (experimental) and 0.5 (stable) are still available. download below. updates: 0.7 opens 5 tabs
Download:Download:https://drive.google.com/drive/u/2/f...T6GX2omwo_eDiV

Demo:
ver0.7

Below are pics/vids of old GMB versions.
Spoiler!
ver0.4


ver0.3
ver0.2
ver0.1
report bugs to thread
Source code:https://github.com/realnaaboo/ghostm...hostmeboyos.py
Because it asks for user & pass, I'll post code on GitHub.
It's not logged, user/pass gets pasted to user/pass field on sign-in page, that's it.
Trust is huge. I'm not trying to screw you over.
Feel free to test it on a burner account. & do ask questions you may have.
If you know better ways to do things, please share.
Here's how the script works: It opens a clean slate Firefox.exe (AKA no adblockers, cookies, saved logins, etc)
Manual:
0) Click "ghostmeboyos.exe"
1) Enter user/pass
2) Manually click off '15% disc pop up' (wait for it to load)
3) Enter "Y", press enter
4) Enter starting page # (1-999, etc.)
Automation:
5) Signs in & loads dark theme
6) Goes directly to post history search
7) Enters first thread, edits -> deletes (repeats for entire page)
8) Goes to next page & repeats 6.
Requirements: Windows OS, Firefox.
READ:READ:ver0.7 released. 0.6b (experimental) and 0.5 (stable) are still available. download below. updates: 0.7 opens 5 tabs
Download:Download:https://drive.google.com/drive/u/2/f...T6GX2omwo_eDiV

Demo:
ver0.7

Below are pics/vids of old GMB versions.
Spoiler!
ver0.4


ver0.3
ver0.2
ver0.1
report bugs to thread
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 05:47 PM
-
#2
01-23-2023, 05:48 PM
-
#3
- Looksmaxxer101
- Registered User
-
- Looksmaxxer101
- Registered User
- Join Date: Jul 2020
- Age: 56
- Posts: 2,933
- Rep Power: 14789
-
-
federal worker detected
01-23-2023, 06:14 PM
-
#4
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Alright I'm back. Let me know if you guys have any questions. I'll update the OP so it makes more sense and the features I'd like to add and why it's not entirely manual.
Will also make a burner account and test code. Let me know if you guys have tried it out already as we need some feedback to make it decent.
Will also make a burner account and test code. Let me know if you guys have tried it out already as we need some feedback to make it decent.
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:19 PM
-
#5
- Evolutionary1
- Registered User
-
- Evolutionary1
- Registered User
- Join Date: Jul 2006
- Location: United States
- Posts: 36,489
- Rep Power: 115290
-
-
Originally Posted By naaboo⏩
lolAlright I'm back. Let me know if you guys have any questions. I'll update the OP so it makes more sense and the features I'd like to add and why it's not entirely manual.
Will also make a burner account and test code. Let me know if you guys have tried it out already as we need some feedback to make it decent.
Will also make a burner account and test code. Let me know if you guys have tried it out already as we need some feedback to make it decent.
01-23-2023, 06:22 PM
-
#6
01-23-2023, 06:22 PM
-
#7
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
will this work? idk brah not gonna legit debug this lmao but i dunno if returns my user (it will be the first element with that class I believe?)
good start though
browser.find_element(By.CLASS_NAME, 'username').click() # open username menu
good start though
browser.find_element(By.CLASS_NAME, 'username').click() # open username menu
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 06:24 PM
-
#8
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By Evolutionary1⏩
For clarification, I've tested up until it where it edits & cycles through posts of threads of multiple pages of threads. Never tested the delete function otherwise I'd have my threads like this one removed, lol.lol
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:28 PM
-
#9
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
That clicks on your username in a thread which opens up the "View profile, posts, private message" option.will this work? idk brah not gonna legit debug this lmao but i dunno if returns my user (it will be the first element with that class I believe?)
good start though
browser.find_element(By.CLASS_NAME, 'username').click() # open username menu
good start though
browser.find_element(By.CLASS_NAME, 'username').click() # open username menu
Selenium, the library I'm using, operates the browser as if a human was clicking and moving through tabs. It's finding the element on the page and clicking it.
edit: whoops double post lol
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:34 PM
-
#10
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
it clicks the first username brah so the OP of the thread I think (mind u I'm just reading the code not actually running it)That clicks on your username in a thread which opens up the "View profile, posts, private message" option.
driver.findelement i believe if it has more than one elemenet matching, it returns the first one (not a selenium expert but I believe that's the case)
use an xpath with the actual username instead and do a while there is that element with that xpath existing
foo = browser.find_elements(By.XPATH, '//a/strong[text()='miscerForLulz']')
something like that
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 06:34 PM
-
#11
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By lnvictus⏩
Yes I suck at codingLooks like something that was created using chatgpt tbh
Originally Posted By lnvictus⏩
Selenium (library) opens up a clean slate of Firefox that has no history, saved logins, cookies, anything. I don't like it either and wish I could use an existing browser, but it is what it is.Why would you need username/pass though if you're already logged in?
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:37 PM
-
#12
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
Oh I see what you're saying. It works when I tried it. Maybe it has something to do with viewport or the fact that the link is a specific user post. But it does work on threads created by others.it clicks the first username brah so the OP of the thread I think (mind u I'm just reading the code not actually running it)
driver.findelement i believe if it has more than one elemenet matching, it returns the first one (not a selenium expert)
use an xpath with the actual username instead and do a while there is that element with that xpath existing
foo = browser.find_elements(By.XPATH, '//a/strong[text()='miscerForLulz']')
something like that
driver.findelement i believe if it has more than one elemenet matching, it returns the first one (not a selenium expert)
use an xpath with the actual username instead and do a while there is that element with that xpath existing
foo = browser.find_elements(By.XPATH, '//a/strong[text()='miscerForLulz']')
something like that
edit: I can edit code to comment out delete and show a video presentation if you'd like to see it.
edit2: Ooh I see what you mean. I'd have to test that since my reps were only from my threads lol. fuark
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:38 PM
-
#13
- mr.left hook
- PHF member
-
- mr.left hook
- PHF member
- Join Date: Jul 2007
- Posts: 20,191
- Rep Power: 126540
-
-
all i wanted was my dick pics get enlarged, not removed !!
MR.PHF '09
“Do you see over yonder, friend Sancho, thirty or forty hulking giants? I intend to do battle with them and slay them.”- Don Quixote
''damn right I like the life I live
'Cause I went from negative to positive
And it's allGood..."
"friends come and go but enemies accumulate"
< H.T.C Till I D.I.E >
"Zero tolerance Crew" ZERO, NADA !!!!
01-23-2023, 06:44 PM
-
#14
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
it "works" because you probably tested it with threads you createdOh I see what you're saying. It works when I tried it. Maybe it has something to do with viewport or the fact that the link is a specific user post. But it does work on threads created by others.
edit: I can edit code to comment out delete and show a video presentation if you'd like to see it.
edit: I can edit code to comment out delete and show a video presentation if you'd like to see it.
if you're not the OP, it won't work (like 90% sure)
use an xpath like above and loop until you can't find any element matching on the current page (and if you want to make it better, once you clear all the posts from page 1, there might be page 2 and 3 and so on you try looping through the pages)
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 06:48 PM
-
#15
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
Yeah I see what you're saying. I'd have to see how I can tweak that. I guess there is that welcome (username) thing at the top so I can copy that then find that string in the thread.it "works" because you probably tested it with threads you created
if you're not the OP, it won't work
use an xpath like above and loop until you can't find any element matching on the current page (and if you want to make it better, once you clear all the posts from page 1, there might be page 2 and 3 and so on you try looping through the pages)
if you're not the OP, it won't work
use an xpath like above and loop until you can't find any element matching on the current page (and if you want to make it better, once you clear all the posts from page 1, there might be page 2 and 3 and so on you try looping through the pages)
edit: I'm talking before getting to the post history. It 100% works after getting there because I track post by the post ID. After your past USER CP, code 100% works (at least cycling through each post and editing it regardless of who created it).
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 06:50 PM
-
#16
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
you already get username and password from input so just reuse the variable on line 7Yeah I see what you're saying. I'd have to see how I can tweak that. I guess there is that welcome (username) thing at the top so I can copy that then find that string in the thread.
username = input('Enter username: ')
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 06:56 PM
-
#17
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
Right. I'll try to update it now & get it working properly. Guess that's not something I accounted for. Bloody hellyou already get username and password from input so just reuse the variable on line 7
username = input('Enter username: ')
username = input('Enter username: ')
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 07:02 PM
-
#18
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
maybe this works i'm not testing it though lol (C# syntax and plz kill me if I have compilation errors...same concept in python though)Right. I'll try to update it now & get it working properly. Guess that's not something I accounted for. Bloody hell
IWebElement firstUserElement = browser.FindElement(By.XPath, "//a[1]/strong");
bool myThread = firstUserElement.Text == "miscerForLulz"; // just use the variable at the beginning
if(myThread )
// delete first post since it's yours and this thread is gone
else
// not your post so need to loop through each post in thread (some sort of while I have a post logic is better here but figure that out)
IWebElement myNextPost = browser.FindElement(By.XPath, '//a/strong[text()='miscerForLulz']')
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 07:07 PM
-
#19
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
Will look into implementing identifying if thread is yours. Cuz then if you get 404 or something that signifies there's no thread, that process can be dropped and script can continue. Lines 54 to 57 is how I identify the exact post to land on and the exact one to edit (since latest posts are first in history, but last in the thread).maybe this works i'm not testing it though lol (C# syntax and plz kill me if I have compilation errors...same concept in python though)
IWebElement firstUserElement = browser.FindElement(By.XPath, "//a[1]/strong");
bool isMyPost = firstUserElement.Text == "miscerForLulz"; // just use the variable at the beginning
if(isMyPost)
// delete first post since it's yours and this thread is gone
else
// not your post so need to loop through each post in thread
myNextPost = browser.find_element(By.XPATH, '//a/strong[text()='miscerForLulz']')
IWebElement firstUserElement = browser.FindElement(By.XPath, "//a[1]/strong");
bool isMyPost = firstUserElement.Text == "miscerForLulz"; // just use the variable at the beginning
if(isMyPost)
// delete first post since it's yours and this thread is gone
else
// not your post so need to loop through each post in thread
myNextPost = browser.find_element(By.XPATH, '//a/strong[text()='miscerForLulz']')
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 07:14 PM
-
#20
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
idk where it redirects you after you delete...not sure after that but yeah it's a good startWill look into implementing identifying if thread is yours. Cuz then if you get 404 or something that signifies there's no thread, that process can be dropped and script can continue. Lines 54 to 57 is how I identify the exact post to land on and the exact one to edit (since latest posts are first in history, but last in the thread).
also if you are not aware, you can copy the xpath by opening your dev tools in the browser, locating the element in your inspector and right click the source code element and copy->xpath (most browsers have this)...you might need to figure out custom xpaths (like anchors containing text like above) but it isn't too hard tbh
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 07:19 PM
-
#21
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
Thanks brah I keep forgetting inspect is quite handy.idk where it redirects you after you delete...not sure after that but yeah it's a good start
also if you are not aware, you can copy the xpath by opening your dev tools in the browser, locating the element in your inspector and right click the source code element and copy->xpath (most browsers have this)...you might need to figure out custom xpaths (like anchors containing text like above) but it isn't too hard tbh
also if you are not aware, you can copy the xpath by opening your dev tools in the browser, locating the element in your inspector and right click the source code element and copy->xpath (most browsers have this)...you might need to figure out custom xpaths (like anchors containing text like above) but it isn't too hard tbh
window_name = browser.window_handles[0]
browser.switch_to.window(window_name=window_name)
It goes back to the first tab. Prior to this it "...window_handles[-1]" to go to the last tab.
Script opens one tab at a time. Two tabs open max (post history tab + post link)
This is very beginner level and I just want it working tbh. I've added your XPATH code in (the first one). Will manually test on a thread that's not created by me, but everything is updated in the OP and GitHub.
Originally Posted By Anachron⏩
Well, I was told that script no longer works, and I don't know JavaScript, so I made my own.Some other dude made this already years ago, and posted the script.

♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 07:26 PM
-
#22
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
idk if clicking a link in usercp opens in another tab? not sureThanks brah I keep forgetting inspect is quite handy.
window_name = browser.window_handles[0]
browser.switch_to.window(window_name=window_name)
It goes back to the first tab. Prior to this it "...window_handles[-1]" to go to the last tab.
Script opens one tab at a time. Two tabs open max (post history tab + post link)
This is very beginner level and I just want it working tbh. I've added your XPATH code in (the first one). Will manually test on a thread that's not created by me, but everything is updated in the OP and GitHub.
Well, I was told that script no longer works, and I don't know JavaScript, so I made my own.
window_name = browser.window_handles[0]
browser.switch_to.window(window_name=window_name)
It goes back to the first tab. Prior to this it "...window_handles[-1]" to go to the last tab.
Script opens one tab at a time. Two tabs open max (post history tab + post link)
This is very beginner level and I just want it working tbh. I've added your XPATH code in (the first one). Will manually test on a thread that's not created by me, but everything is updated in the OP and GitHub.
Well, I was told that script no longer works, and I don't know JavaScript, so I made my own.
if you are looking at selenium and want to make it better and seems like you're somewhat learning, try implementing page object model design pattern on this
good luck brah
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-23-2023, 07:26 PM
-
#23
01-23-2023, 07:48 PM
-
#24
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By miscerForLulz⏩
User CP is just a means to an end to get to user post history. User CP nor post history results open in new tab. We immediately want to leave the CP since it's only use is the fastest path to post history (through repped posts).idk if clicking a link in usercp opens in another tab? not sure
if you are looking at selenium and want to make it better and seems like you're somewhat learning, try implementing page object model design pattern on this
good luck brah
if you are looking at selenium and want to make it better and seems like you're somewhat learning, try implementing page object model design pattern on this
good luck brah
I know I said I didn't test code, but I tested the fuk out of it besides the deletion part. Will look into POM, but yeah it's a lot of info to take in and I don't think it should be too much code to get something basic working.
Back to checking if thread OP, I remembered that it goes from first to last in post history. Your most recent posts are first in post history, so you'd most likely not have to check that, BUT that'd work if someone had a link to your threads. It's messy. Baby steps.
Originally Posted By 5431⏩
Idk brah. Someone asked me to make this ciht 4 days ago. I did. Source code is in OP. You could copy it and run it yourself if wanted.how do we know that some random virus.exe is what you say it is? i want to build it from source myself, not going to trust some random exe
EDIT: What I would LOVE help on is getting rid of the FKING 15% off popup. If anyone knows how lol. If I get rid of that then all people need to do is enter their info.
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 09:53 PM
-
#25
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Here's how we get to post history without user cp. FUK user CP. srs.


♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-23-2023, 10:57 PM
-
#26
- naaboo
- Join Date: Oct 2014
- Location: New York, New York, United States
- Age: 31
- Posts: 4,430
- Rep Power: 30234
-
-
Originally Posted By monster0ultra⏩
Works now (sorta) but scuffed af. Will upload a video of it lmao. Code is updated in OP.Once the basics are ironed out, I have a feature request, the ability to pick posts that you want to keep and not delete.
♥Photography CREW▼NYC CREW▼Mixed CREW▼PCMR CREW▼We all gonna make it CREW♥
♥College CREW▼Raspberry Pi CREW▼Snapple Apple CREW▼Meaningless CREWs CREW♥
♥Seahawks CREW▼Mob Psycho 100 CREW▼if it's on the clock pick up a mop ???? CREW♥
♥MISC COMPUTER SCIENCE CREW♥
MISC Post Remover:
https://forum.obnoxiousbrutes.com/showthread.php?t=182677373
CompSci Discord:
https://discord.gg/8EusJZdvfv
7800X3D+7900XT HHNHNNGGG CREW
01-24-2023, 03:50 AM
-
#27
01-24-2023, 06:57 AM
-
#28
- miscerForLulz
- Join Date: Aug 2016
- Posts: 8,455
- Rep Power: 50878
-
-
Originally Posted By naaboo⏩
https://selenium-python.readthedocs....explicit-waitsEDIT: What I would LOVE help on is getting rid of the FKING 15% off popup. If anyone knows how lol. If I get rid of that then all people need to do is enter their info.
Use an explicit wait with some expected condition (like wait until element is visible)
Use a try/catch...inside the try, wait until element (The popup close button) is visible...then click it. Set a default timeout like 30 seconds to wait for the popup...if it hits the catch, it probably means the popup didn't come up (catch the specific exception thrown after 30 seconds) and don't do anything inside the catch.
2:136
Say, ˹O believers,˺ We believe in Allah and what has been revealed to us; and what was revealed to Abraham, Ishmael, Isaac, Jacob, and his descendants; what was given to Moses, Jesus, and other prophets from their Lord. We make no distinction between any of them. And to Allah we all submit.
01-24-2023, 07:02 AM
-
#29
- MichaelMcFail
- Banned
-
- MichaelMcFail
- Banned
- Join Date: Jan 2023
- Posts: 4,454
- Rep Power: 0
-
-
Based, but it would be impossible for me to go back and delete all my posts. Everything I ever said is out there for better or for worse lol.
Bookmarks
-
- Digg
-
- del.icio.us
-

- StumbleUpon
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts