1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What kind of a script is this?

Discussion in 'FaceBook' started by Samipk1, May 29, 2017.

  1. Samipk1

    Samipk1 Newbie

    Joined:
    Feb 11, 2016
    Messages:
    15
    Likes Received:
    0
    I have come across multiple scripts like this in which you type a website address and it shows you random pictures or links but if you type that address in the address bar it just takes you to a random page.

    Can anybody tell me what this is? I have attached pics to explain.
     

    Attached Files:

  2. Blare

    Blare BANNED BANNED

    Joined:
    Aug 20, 2009
    Messages:
    466
    Likes Received:
    136
    I've never seen that, but I bet it's pretty simple for anyone that's a web developer
     
    • Thanks Thanks x 1
  3. Samipk1

    Samipk1 Newbie

    Joined:
    Feb 11, 2016
    Messages:
    15
    Likes Received:
    0
    It looks simple as the domain is just redirecting but the random image generation is what I can't understand.
     
  4. ph4nt0m

    ph4nt0m Junior Member

    Joined:
    Mar 22, 2017
    Messages:
    138
    Likes Received:
    33
    My assumption is that it randomly generates an image and matching header/meta tags. Never seen it done before, but its probably not hard to replicate.
     
  5. Tikato

    Tikato Junior Member

    Joined:
    Oct 9, 2013
    Messages:
    127
    Likes Received:
    47
    <meta property="og:title" content="You are the Deadpool" />
    <meta property="og:type" content="article" />
    <meta property="og:url" content="http://marvelfly.com" />
    <meta property="og:image" content="http://marvelfly.com/images/825779.jpg" /> <--- random image at page load


    //auto redirect if is mobile device?

    <script type="text/javascript">
    <!--
    if (screen.width <= 800) {
    window.location = "http://blogsitestep.com/red.php";
    }
    //-->
    </script>
     
    • Thanks Thanks x 1
  6. ph4nt0m

    ph4nt0m Junior Member

    Joined:
    Mar 22, 2017
    Messages:
    138
    Likes Received:
    33
    It doesn't redirect you. Its generating a random meta title and image for Facebook. You won't really understand what it means unless you know coding. I'll try and help explain..

    <meta property="og:title" content="You are the Deadpool" />
    <meta property="og:image" content="http://marvelfly.com/images/825779.jpg" /> <--- random image at page load


    ^^ Those are the two parts of the website that are randomly generated and those are the two parts that Facebook uses to display a title and a small image when someone posts a link.
     
    • Thanks Thanks x 1
  7. limez

    limez Regular Member

    Joined:
    Apr 7, 2014
    Messages:
    326
    Likes Received:
    40
    Can anyone please give us this script? Thanks!
     
  8. ThreeWolves

    ThreeWolves Newbie

    Joined:
    May 30, 2017
    Messages:
    22
    Likes Received:
    0
    Gender:
    Male
    The site is already down? Maybe it was an experiment or they got banned?
     
  9. limez

    limez Regular Member

    Joined:
    Apr 7, 2014
    Messages:
    326
    Likes Received:
    40
  10. mariuselll

    mariuselll Newbie

    Joined:
    Mar 9, 2016
    Messages:
    25
    Likes Received:
    7
    I have similar scrip. I write her:

    https://www.blackhatworld.com/seo/random-image-in-comments.943853/