There's no such thing as a stupid question, but they're the easiest to answer.


Web Design & Development Web Design & Development
Search Search
Search for:
Tech Support Guy > > >

Website Content Lock Script


jerryi84's Avatar
jerryi84 jerryi84 is offline
Member with 41 posts.
Join Date: Oct 2009
20-Aug-2011, 01:30 PM #1
Website Content Lock Script
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
centauricw's Avatar
centauricw centauricw is offline
Member with 444 posts.
Join Date: Jun 2010
Location: Atlanta GA
Experience: Advanced
20-Aug-2011, 09:07 PM #2
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.
lordsmurf's Avatar
Computer Specs
Member with 1,156 posts.
Join Date: Apr 2009
Location: USA, Canada, Europe
Experience: Advanced
22-Aug-2011, 11:13 AM #3
require a Google +1
That would likely get you sandboxed in Google, too. So good luck with that.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine

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.

Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

You Are Using: Server ID
Trusted Website Back to the Top ↑