1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Website Content Lock Script

Discussion in 'Web Design & Development' started by jerryi84, Aug 20, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. jerryi84

    jerryi84 Thread Starter

    Joined:
    Oct 7, 2009
    Messages:
    41
    Does any know of any java script code which does the following? Once a user lands on a certain page, a pop up window appears asking them to like a Facebook fan page, share the page on Facebook, and also require a Google +1 in order for them to access the page content? Thanks



    - Jerry
     
  2. centauricw

    centauricw

    Joined:
    Jun 26, 2010
    Messages:
    444
    Considering that JavaScript runs on the client and if you send the page content with the JavaScript, all one needs to do is View Source from the browser or a JavaScript blocker to bypass this. This is best done on the server side with a postback with the results.

    From a personal perspective, I would find such a site so completely annoying that I would never bother with it again. And this will get you a reputation that your popularity is a complete scam, which may subject you to being blocked in Google results and the like. If you can't build up your popularity honestly, then I doubt your site would ever be much of a success.
     
  3. lordsmurf

    lordsmurf

    Joined:
    Apr 23, 2009
    Messages:
    1,156
    Scam.
    That would likely get you sandboxed in Google, too. So good luck with that.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1013509