xdotool interaction detected by web browser

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
axrusar
Level 7
Level 7
Posts: 1515
Joined: Sat Jan 30, 2021 5:30 pm

xdotool interaction detected by web browser

Post by axrusar »

I wrote a little script (robot) with some mouse clicks and scroll interactions using xdotool to perform the actions in a web browser and it works.
The problem i am facing, is the web browser "knows" it is not a human and seems to detect the automated script.
The behavior of the web browser changes if the same actions are performed by a human, aka me :lol:

Is there anyway to "mask" xdotool so the system sees it as a natural user interaction rather than the tool itself? Like a spoofing trick.
Or can you explain how it actually works if is not possible, i am curious. Suggestions for alternative tools are also welcome.
This is for any version of linux Mint, system specs not needed.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
Post Reply

Return to “Scripts & Bash”