James Bachini

Tools

  • Prevent Mobile Browsers From Turning Off

    Prevent Mobile Browsers From Turning Off

    The following code has been published to prevent mobile browsers from turning off and going into sleep mode. This was affecting setTimeout functions as the javascript code in the browser is effectively paused preventing the event loop from processing once sleep mode is activated. I originally looked at nosleep.js but ended up simplifying the code […]

  • Pop Under Code 2020

    Pop Under Code 2020

    Updated September 2020 This pop under code is used for running pop under traffic on your own site. It adds an onclick function to every link on the page which opens a new tab with the clicked link and changes the existing window (underneath) to a popped ad URL. Opening links in new tabs isn’t […]

  • Beautiful Email Template [Download]

    Beautiful Email Template [Download]

    Here is a beautiful email template layout which you can download from here: http://jamesbachini.com/misc/email.zip View the HTML page: http://jamesbachini.com/misc/email.htm Update all the images and links before you send out. The background skyline is in the zip file, you could modify to suit your niche just keep the color the same.

  • A simple floating feedback/support button

    A simple floating feedback/support button

    Updated for 2020 with a cleaner design. This uses the mail command in PHP to send the email but if this is disabled on your server you can connect it to Sendgrid/Mailchimp/AWS etc for the sending of email queries. There is a working example at: https://jamesbachini.com/misc/feedbackexample.html The code for this is really easy to implement […]

  • New: Facebook interest targeting brainstorm tool

    New: Facebook interest targeting brainstorm tool

    This is more for my use but others might find it helpful when trying to come up with targeting ideas for interests on Facebook Ads. Facebook Ads Targeting Tool

  • RAM & CPU Usage PHP Script | Server Health Check

    RAM & CPU Usage PHP Script | Server Health Check

    This single file server health check script works on Windows, Linux and possibly others. It is written in PHP to show CPU usage, RAM usage, Incoming Connections and Hard disk usage. Update September 2020 Server Check PHP was getting a lot of downloads so I’ve updated the code and open sourced it on Github. If […]

  • Basic exit intent pop up script

    Basic exit intent pop up script

    The following script will launch a pop up and redirect if the user moves the mouse off the page. You can add this to your landing page targeted at desktop users, on mobile it wont work obviously. This is just a basic version but you can change the popUp() function to load an email capture […]

  • Download: Basic Email Newsletter Template

    Download: Basic Email Newsletter Template

    Here is a template for a basic email newsletter: http://www.jamesbachini.com/misc/emailnewsletter.zip http://www.jamesbachini.com/misc/emailnewsletter.html Some important things to note when creating email newsletters: Inline CSS Only, no style sheets or <style> tags as they will be stripped by most clients. Make it responsive, a lot of email is read on mobile, it should collapse and expand beautifully. Add […]

  • Tool to generate a guest blog post request

    Tool to generate a guest blog post request

    This tool can be used to generate a guest blog post request for SEO purposes. This is a great way to not only build SEO juice but it also gets your name out there and helps interact with the community surrounding your niche. http://www.jamesbachini.com/misc/guestpostrequest.php Simply enter your name,site,niche and theirs and it will generate a […]

  • A Simple Mobile Landing Page Template

    A Simple Mobile Landing Page Template

    Here’s a quick design template which is very flexible for mobile app / pin submit type offers. You can view the page at: http://jamesbachini.com/misc/simplemobile.htm And download it from: http://jamesbachini.com/misc/simplemobile.zip Obviously be careful that your button is above the fold on old and new phones. Big image + long headers can push it below which wouldn’t […]