The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Fourteen Years of Service
Posts: 19,148
Threads: 2,066
RE: Hiding ads behind images on website 02-01-2016, 09:13 PM
#11
(02-01-2016, 06:11 PM)Maddison Wrote: Short of magically onload checking the origin of the request for wherever they may be checking from, which IDK if it is public, and adjusting output from that, I don't think it's possible to have this work and not get caught.
It's worth mentioning that SL received warnings for minor stuff (NSFW content, other people's content) when we used Adsense. So there is no doubt they keep track. Circumventing their checks is another matter, but the original poster was asking how to simply cover up the ads.
β’
Twelve Years of Service
Posts: 235
Threads: 6
RE: Hiding ads behind images on website 02-01-2016, 09:58 PM
#12
If you can use CSS, just use this:
(I am currently high so this might not work lol)
Code:
<html>
<head>
<style>
#block {
position:absolute;
z-index:9999;
width:100%;
height:100%;
background-color:white;
}
</style>
</head>
<body>
<div id="block"></div>
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=xxxxxxxxxxxxxxx" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
</body>
</html>
But yeah, if it's pay per click, why would you even do this? The users have to
click on the ad to make profit.
β’
Twelve Years of Service
Posts: 2,762
Threads: 58
RE: Hiding ads behind images on website 02-01-2016, 10:25 PM
#13
(02-01-2016, 09:58 PM)ImmNinjaxD Wrote: If you can use CSS, just use this:
(I am currently high so this might not work lol)
Code:
<html>
<head>
<style>
#block {
position:absolute;
z-index:9999;
width:100%;
height:100%;
background-color:white;
}
</style>
</head>
<body>
<div id="block"></div>
<!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=xxxxxxxxxxxxxxx" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">pay per click</a></noscript>
<!-- End BidVertiser code -->
</body>
</html>
But yeah, if it's pay per click, why would you even do this? The users have to click on the ad to make profit.
by the looks of it your code would make the ad the entire page, behind anything else rendered. Too lazy to check.
@OP
http://www.w3schools.com/css/css_positioning.asp
This may be helpful, particularly the bit about
position: absolute; and
Overlapping Elements.
I won't do it for you, as I have other things to do, but this is what I was referencing in my other post.
β’
Fourteen Years of Service
Posts: 19,148
Threads: 2,066
RE: Hiding ads behind images on website 02-01-2016, 10:36 PM
#14
(02-01-2016, 10:25 PM)Maddison Wrote: by the looks of it your code would make the ad the entire page, behind anything else rendered. Too lazy to check.
@OP
http://www.w3schools.com/css/css_positioning.asp
This may be helpful, particularly the bit about position: absolute; and Overlapping Elements.
I won't do it for you, as I have other things to do, but this is what I was referencing in my other post.
You could always do
opacity: 0.
(02-01-2016, 10:25 PM)Maddison Wrote: by the looks of it your code would make the ad the entire page, behind anything else rendered. Too lazy to check.
@OP
http://www.w3schools.com/css/css_positioning.asp
This may be helpful, particularly the bit about position: absolute; and Overlapping Elements.
I won't do it for you, as I have other things to do, but this is what I was referencing in my other post.
He's making it 100% width and height, so...
β’
Twelve Years of Service
Posts: 235
Threads: 6
RE: Hiding ads behind images on website 02-01-2016, 11:05 PM
#15
(02-01-2016, 10:25 PM)Maddison Wrote: by the looks of it your code would make the ad the entire page, behind anything else rendered. Too lazy to check.
Creates a absolute div over the ad
(02-01-2016, 10:36 PM)Oni Wrote: He's making it 100% width and height, so...
The block i'm making 100% is above the ad itself
β’
Twelve Years of Service
Posts: 2,762
Threads: 58
RE: Hiding ads behind images on website 02-01-2016, 11:26 PM
#16
(02-01-2016, 11:05 PM)ImmNinjaxD Wrote: Creates a absolute div over the ad
The block i'm making 100% is above the ad itself
Wouldn't you want the Z index rendered before it?
β’
Twelve Years of Service
Posts: 235
Threads: 6
RE: Hiding ads behind images on website 02-02-2016, 12:05 AM
#17
(02-01-2016, 11:26 PM)Maddison Wrote: Wouldn't you want the Z index rendered before it?
Possibly!
(02-01-2016, 09:58 PM)ImmNinjaxD Wrote: (I am currently high so this might not work lol)
β’
Thirteen Years of Service
Posts: 3,169
Threads: 99
RE: Hiding ads behind images on website 02-02-2016, 03:06 AM
#18
(02-01-2016, 07:41 PM)m0dem Wrote: I didn't say he shouldn't do it, I said he probably couldn't do it...
Note the difference.
No... but you stated that every one else gave honest answers... but they were honest answers that were completely off topic.
(02-01-2016, 11:05 PM)ImmNinjaxD Wrote: The block i'm making 100% is above the ad itself
No it's not. You have <div id=block></div> and then you have code below the closing div tag. So it will display higher up in the page ("above"). but it will not display overlaying the javascript which is what he wants.
β’
Twelve Years of Service
Posts: 235
Threads: 6
RE: Hiding ads behind images on website 02-02-2016, 03:53 AM
#19
(02-02-2016, 03:06 AM)The Real Slim Shady Wrote: No it's not. You have <div id=block></div> and then you have code below the closing div tag. So it will display higher up in the page ("above"). but it will not display overlaying the javascript which is what he wants.
Wouldn't "position:absolute;" make it overlap the ad display?
β’
Thirteen Years of Service
Posts: 3,169
Threads: 99
RE: Hiding ads behind images on website 02-02-2016, 09:30 AM
#20
(02-02-2016, 03:53 AM)ImmNinjaxD Wrote: Wouldn't "position:absolute;" make it overlap the ad display?
your div is a size of 0 - so even if your logic was correct (don't think it is). It wouldn't cover anything.
β’