EroScripts is a community for scripts that sync up interactive sex toys with porn. Learn more.

To discover, download, and help choose what gets scripted, create an account.


theHandy support for PornHub and others

:page_facing_up: Introduction

I have created a TamperMonkey script that enables you to use the handy directly on pornhub by uploading a script for the video you’re on.

:framed_picture: Preview

(Beautiful HTML, i know)

:file_folder: Script

NodudeWasTaken/theHandy_Web (
New version 1.6 introduces custom website support, and new bugs probably.
Backported some changes from @jabiim for version 1.3 (thanks :+1:)

:information_source: Details

It works by you firstly selecting a script.
Then entering a handy key, and pressing enter.
And if all goes well, the circle turns green and you’re ready.

Setup guide:

  1. Install Tampermonkey (
  2. Click the Tampermonkey icon in the top right
  3. Click “Create a new script”
  4. Replace the text in the editor with the text from my github “script.js”
  5. Press Ctrl-S
  6. Done

Usage guide:
Be aware that Tampermonkey WILL ask you to allow the script to use GM_xmlhttpRequest, allow it.

  1. Go to a pornhub video that you have a script for
  2. Press “Browse…”
  3. Select your funscript
  4. The handy key textbox should be enabled now, otherwise try again
  5. Enter your handy key in it
  6. Turn on the handy and connect it
  7. Press enter in the textbox and wait for a syncPrepare message
  8. If everything went well the circle would have turned green
    If syncPrepare failed, try entering the textbox and pressing enter again

You can also set the offset in the offset textbox by entering a value like -10 or 10 and pressing enter, you should see a syncOffset message from this.

:information_source: Contributing

If you want to add other sites, you need to know regex and xpath
In my github i have a data.json, where each entry has a url match and xpath for video element.
The url regex is matched against the javascript window.location.href and encoded in encodeURIComponent.

decodeURIComponent("https%3A%2F%2F.**%3Fviewkey%3D.*") = 'https://.**?viewkey=.*'
RegExp("https://.**?viewkey=.*").test("") = true

Just submit a pull request for any new websites you’ve added, and also if you want to change the codebase, like fixing the z-index bug on spankbang :joy:


Can you please add a setup guide? I never used TamperMoney before. How do I load this script?


It is done

1 Like

Ok. I have saved it and activated the script but the icon still says that no script is activated.
TamperMonkey has not asked me for GM_xmlhttpRequest.
I can’t see any change on PH even if i disable add blocking.

Using firefox.

1 Like

Could it be that you’re not using the english pornhub at but something like
Im uploading a new version of script to fix that, if that was the issue.


Yes, it’s the german one :upside_down_face:

1 Like

This is amazing, thanks for this!

1 Like

Truly brilliant work - this could make a huge difference for videos you want to check out on PH before deciding whether to download.

Don’t suppose there’s any way to specify an offset for scripts that aren’t quite in sync?

1 Like

It is done with version 1.2


Wow great Idea!

You sir- are the hero we needed.

thanks, any way to fastforward/rewind without losing sincronization with script?

1 Like

It’s an honor to see my Mandy Madison script in your post here :+1:

1 Like

@hentman69 Done in version 1.3
@mADsCRIPTS I loved that script :wink:

1 Like

thanks, working great, woild it be hard to migrate for other sites available at scriptaxis?

Probably wouldn’t, you have anything in mind?

didn’t tought of any specific sites, there are many different sources so I did my homework and analyzed the last 10 pages (currently there’s 50) on scriptaxis, here’s the results 57 22 11 5 4 3 3
soundgasm 3 2 2 2

that’s only for the streaming sites, there’s many videos also uploaded on mega to be found on this forums, and mega also streams…

could you provide a guide to implement different sites and lets expand this script functionality to all sites?
or make it compatible to any web video player?

1 Like

You can now add support for given websites :slight_smile:
I’ve added support for spankbang and rule34video for now
Pixeldrain and iwara too

1 Like

how do I add support for other sites? I updated the script but when going for example to Rule 34 - 1boy 1girls 3d anal anal insertion anal masturbation anal object insertion anal penetration animated anus areolae blender breasts cellphone cottontailva cum in mouth cum inside dark-skinned male dark skin dead or alive deepthroat dildo fellatio female generalbutch interracial kasumi (doa) large breasts long video male masturbation nipples nude oral penetration phone ponytail pussy recording self shot selfie sex sex toy snapchat sound video | 4967675 I see the script running on tampermonkey but it doesn’t show anything
also why did it asked to whitelist ?

You must find a good regex to match videos on said website (javascript test instruction in my post) and a valid xpath for the video element (google getElementByXpath for the javascript test function).
It downloads the website database from github, which is why it asks for access.
Teaching javascript, regex and xpath is beyond the scope of what im willing to do.