• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Todays javascript challenge

5.00 star(s)

Spacecadet

Double Godlike!
Joined
Mar 22, 2006
Messages
12,451
Likes received
53
Thanks received
16
Location
Jupiter
create a java script URL applet than can turn off the div layer which hides wikipedia from the readers eyes.
 
create a java script URL applet than can turn off the div layer which hides wikipedia from the readers eyes.

I just hit escape as soon as the page loaded. That stops it from hiding the content.
 
Talk about an over-engineered solution that doesn't even work properly. A simple redirect would prevent all those millions of page loads.

What happens if you are browsing without JS enabled?
 
Talk about an over-engineered solution that doesn't even work properly. A simple redirect would prevent all those millions of page loads.

What happens if you are browsing without JS enabled?

the problem is that these websites don't want to mess up any SEO they've performed.
I suspect that the DIV layer means that google et al can still index the site ok
 
If a site goes offline for a day to Google de-index it?
 
the problem is that these websites don't want to mess up any SEO they've performed.
I suspect that the DIV layer means that google et al can still index the site ok

I reckon that's what it is too. All the content is there when the page loads so Google will still find it, it's just hidden with JS and CSS after page load. And it will work for the vast majority of people.
 
If a site goes offline for a day to Google de-index it?

No, but it could hurt the ranking a little bit. For a site as popular as Wikipedia I doubt it would make much difference.
 
I can see the block in IE, but in Firefox (NoScript installed, but wikipedia.org allowed) I just see what looks like a normal front page
 

Advertisers

Back
Top