Update, yet again.
Today had a thought and figured there is a way to show Google the same page. Just block GoogleBot from loading the error message in robots.txt. Now the user and GoogleBot sees the same thing.

However using both portions of the code together, the new and old. Now I have a error message and loaded a ad in the blocked ads place.

In any matter use the code as you wish, one solution doesn't fit all here and go the route you choose to take with this.

After some time running I notice that in Google Search Console, that GoogleBot does not load AdSense Ads and this code will display the error message to it. A SEO rule is you must not treat GoogleBot any different than any other user, so the code above will break that rule if you display a error message covering the page, like I did.

So I decided instead of displaying a error message, to provide a donation link and explanation. I also threw in some ads of my own into the rotation. Most of these are ads for friends who run businesses that could use the extra exposure.

If you wish to go this route then place a container with a unique id right by your ad code. Then use this script somewhere in your page or external JavaScript.

Code: [Select]
<div id="uniqueID" style="display:none"></div>
Code: [Select]
$(document).ready(function(){var adcheck=setInterval(function(){
if($('.adsbygoogle').css('display')=='none'||typeof adsbygoogle==='undefined'||typeof google_pub_config==='undefined'){

Be sure to replace "uniqueId" with the id of the container you're putting your content in if a ad blocker is detected.

Some very relaxing Christmas puzzles.

As you may know, advertisements are a source of income that supports a sites existence and growth. Without this revenue, most webmasters are forced to pay out of pocket or close down their doors removing another piece of the world wide web.

It isn't that webmasters want to bombard users with advertisements, most of us want a equal balance. However most ad blockers are too aggressive, punishing honest webmasters and even disrupting the code running a website causing errors and other technical problems.

As more internet users start to use advertisement blockers, the more site owners are fighting back with anti adblock measures. Here I am going to discuss measures we have taken to stay afloat.

In the script below we are running a check at a set interval. The reason we wait 5 seconds before running the check is to give the page some time to render. If we didn't give it time to render then there is a chance our code will execute before the vars and styles are set by the ad code.

Code: [Select]
$(document).ready(function(){var adcheck=setInterval(function(){
if($('.adsbygoogle').css('display')=='none'||typeof adsbygoogle==='undefined'||typeof google_pub_config==='undefined'){

In the code we first check to see if the class "adsbygoogle" is hidden. This is a common practice with ad blockers, hide the element so it will not load. Ad blockers use a user defined style sheet that overrides the sites and advertisers. So here we check after the page has been constructed to see if the CSS is still the same.

Second we check to see if one of the variables in the advertisement code is still set. While this isn't common some ad blockers may try to unset variables or remove code so the advertisement doesn't load.

Third we check if a global variable loaded externally is set. It isn't that ad blockers unset the this variable, it is that they block the loading of the script that sets it. Since there is no way to ping the script to see if it is reachable due to cross domain policy, we have to check for signs of it.

To get the global variable you need the variables that are associated with your advertisements. To make it easier run this little script on an empty page with no advertisements then run it on a page with your ad code inserted. Next compare the items in the list and remove the duplicates until you're left with a few variables. Inspect them and weed out ones that you don't believe coincide with your advertiser.

Code: [Select]
var test = Object.keys(window);

Fourth part is the error code. Replace "http://url.to.site/message.html" with  the url of a document with HTML code you want to display if a ad blocker is detected. Note that this will be appended to the bottom of the document in view, so use CSS to position it where needed.

Besides the script above we also design for ad blockers. By this I mean if you have containers without classes or ids then give them one that is common with a advertisers ad code your not using. Use variables that match other advertisers, once again advertiser you're not using. And most important of all, remember where they are just in case you want to use that advertiser in the future.

In the future I hope we can all coexist, site owners, users and advertisers. Ad blockers are not the solution and in my opinion will lead to more problems with their adaptation. If we really want to solve the problem we must blacklist sites that abuse the system, the whole site not just the ads.

Shooter / Candy Bubble
1 year ago
Indulge your sweet tooth and get addicted to this sugary cute Bubble Shooter - free of any calories! Match at least 3 candy bubbles of the same type to pop them. Try to drop big candy clusters to earn delicious bonus points and complete the level's goal to move forward. How many levels can you finish?

Sports / 3D Penalty
1 year ago
All eyes are on you - lead your team to victory in a thrilling 3D penalty shootout! In this cool soccer game your task is to score as many goals as possible within 15 tries. Aim carefully and simply swipe to kick. Can you beat the goalkeeper and achieve a new high score?

Video / Gremlins conundrum
1 year ago
A few nights ago I watched the movie classic Gremlins and came to a conundrum.
If you can't feed them after midnight, then what time after midnight can you feed them?
If you think about it any time before midnight is after midnight of the previous day. Wouldn't have been simpler to say, "don't feed them between 12AM to 5AM"?

5AM is just a guess as the movie never gives any cues as to the exact times feeding was allowed.

Often perceived as being the same thing, both are actually two different studies that are closely associated to each other. Science focuses more on discovery and Technology focuses more on invention.

From the Latin word scientia (knowledge), science is a system of creating, acquiring, and organizing knowledge in the form of explanations and predictions about natural phenomena. It simply means the search for knowledge based on the scientific method (body of techniques for investigating phenomena).

From the Greek word techne (art, skill, cunning of hand), technology is the product of collected techniques, skills, methods and processes. It can also be associated with machines, computers, factories, and devices. That being said, technology is a broad concept that deals with a species’ usage and knowledge of tools, and all the while the way it adapts to its environment.

First the good news, Playstation Vue is adding two new channels and more local broadcast. Personally I do not receive the local broadcast form Vue, but hopefully that may change.

Here is what Sony had to say.
We have some new updates about PlayStation Vue to share with you today. First, we're happy to announce the addition of new channels to PlayStation Vue, including BBC America and NBA TV launching tomorrow, as well as VICE and more local broadcast stations from CBS and Fox coming soon.

Now the bad news.
Additionally, starting at 12:01am Eastern Time on November 11, all Viacom-owned networks will no longer be available on PlayStation Vue. This includes channels such as Comedy Central, Spike, and MTV.

While I don't really watch any of these networks, this is a major blow to the service. Hopefully they can strike a deal with Viacom or get some replacements for the channels lost.

However I believe this is just another case of the networks playing hardball and trying to get a higher price. It looks like Sony didn't want to play ball, maybe the price Viacom was asking was too much. With Playstation Vue's low rates, it might of not been profitable to give Viacom what they where asking.

You can read more at the Playstation blog.

I found this video interesting.
*We love facebook. And we hate facebook. This video explains why. Speaking of which...visit us on facebook! http://www.facebook.com/gloveandboots Subscribe: h...

Puzzle / Jigsaw Puzzle XMas
1 year ago
This is the perfect jigsaw puzzle game for the Christmas season! Jigsaw Puzzle XMas features 24 beautiful wintery images. Simply select a difficulty of 25, 49 or 100 pieces and get cosy with a cup of hot chocoloate at home while it's snowing outside! Can you unlock all images and earn 3 stars in every level?

Trump wins the US election, while no one wins our election here.

Cards & Casino / Keno
1 year ago
Enjoy a round of Keno and play this fun casino game for free! Select your betting amount, pick your lucky numbers and start the round! Did it pay off to go with your gut feeling or do you have to work on your intuition? Try to earn as much cash as possible and experience the real deal risk-free!

Times have never been tougher in the Wild West - the zombie apocalypse has started and you have to protect the innocent while travelling to safer grounds. Grab your guns and send the undead back to hell in this action-packed game! Collect coins and make sure to upgrade your weapons to survive. Hire companions and equip yourself with medkits, ammunition and adrenaline. Can you withstand the attacks and defeat the walking dead?

Puzzle / Eleven Eleven
1 year ago
Easy to learn, but hard to master! In this fun puzzle game, your task is to place the different shapes on the 11x11 grid. Make full vertical or horizontal lines to clear blocks from the field and try to earn as many points as possible. Choose your favorite minimalist design and play in day or night mode!

Photography / VVS - PSA
1 year ago
This is a Public Service Announcement concerning VVS, also known as Vertical Video Syndrome.

VVS is a serious condition that affects millions around the world. Many of the individuals that are affected don't even know and the ones that do, don't care.

Prevent VVS, get Horizon Camera.

*Mario and Fafa talk about a very serious problem. Facebook! http://www.facebook.com/gloveandboots VVS- A PSA Subscribe: http://www.youtube.com/subscription_c...

Pages: 3 4 5 6 7 8 9 10 11 12
© 2018 SIComm.us
About | Credits | Stats | Team | Terms
Created: 0.067 | Queries: 24