1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Does any WP plugin exist for this?

Discussion in 'Web Design' started by mhtro, Jan 12, 2019.

  1. mhtro

    mhtro Power Member

    Joined:
    Dec 3, 2017
    Messages:
    669
    Likes Received:
    502
    If this is in the wrong section mods please move it!

    So I found this site: https://wealthygorilla.com/
    and when you try to go back it redirects you to some of their posts making it a hell on earth to leave their site without closing the tab.

    My question: does any WP plugin exist that does this kind of thing?
     
  2. davids355

    davids355 Moderator Staff Member Moderator Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    13,837
    Likes Received:
    11,948
    Home Page:
  3. ourfella

    ourfella Junior Member

    Joined:
    Mar 27, 2009
    Messages:
    104
    Likes Received:
    23
    Occupation:
    Waster
    Location:
    La La Land
    Not tested but should work. I know most people on here can't code but the majority of WP themes these days have head and footer options for code snippets of Javascript in their theme options. Wack one of these in there and see what happens

    Code:
    history.pushState(null, null, document.title);
    window.addEventListener('popstate', function () {
        history.pushState(null, null, document.title);
    });
    or

    Code:
    history.pushState(null, null, document.URL);
    window.addEventListener('popstate', function () {
        history.pushState(null, null, document.URL);
    });
     
  4. PaintedBlack

    PaintedBlack Registered Member

    Joined:
    Dec 5, 2017
    Messages:
    68
    Likes Received:
    53
    Gender:
    Male
    Occupation:
    Digging myself out
    Oh thank God it's in Google's crosshairs, that shit is killing me.




    Would absolutely use it on my own site though, can't lie.
     
    • Thanks Thanks x 1
  5. thescrrr

    thescrrr Jr. VIP Jr. VIP

    Joined:
    Apr 21, 2015
    Messages:
    1,209
    Likes Received:
    752
    Gender:
    Male
    Occupation:
    Skyrocket Your Ranking Today
    Location:
    Check The Link Below!
    Home Page:
    I use this script to redirect my back button.

    <script type="text/javascript">
    !function(){
    var campaign_link = "https://yourdomain.com"; // REPLACE WITH YOUR LINK
    var t;
    try{
    for(t=0;10>t;++t)history.pushState({},"","#");
    onpopstate=function(t){t.state&&location.replace(campaign_link)}}
    catch(o){}
    }();
    </script>

    it works well if you redirect it to an affiliate offer which has exit intent popup with discount.
     
    • Thanks Thanks x 1
  6. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP

    Joined:
    Mar 21, 2013
    Messages:
    15,061
    Likes Received:
    13,480
    Occupation:
    LOST MY HOUSE
    Location:
    IN CRYPTO
    It's probably called the FuckMySiteUp plugin.
     
  7. mhtro

    mhtro Power Member

    Joined:
    Dec 3, 2017
    Messages:
    669
    Likes Received:
    502
    If 99% of your traffic is not from paid traffic this is useful