Sinisterly
Hiding ads behind images on website - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Website & Server Hacking (https://sinister.li/Forum-Website-Server-Hacking)
+--- Thread: Hiding ads behind images on website (/Thread-Hiding-ads-behind-images-on-website)

Pages: 1 2 3


RE: Hiding ads behind images on website - Oni - 02-01-2016

(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.


RE: Hiding ads behind images on website - ImmNinjaxD - 02-01-2016

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.


RE: Hiding ads behind images on website - Satan - 02-01-2016

(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.


RE: Hiding ads behind images on website - Oni - 02-01-2016

(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...


RE: Hiding ads behind images on website - ImmNinjaxD - 02-01-2016

(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


RE: Hiding ads behind images on website - Satan - 02-01-2016

(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?


RE: Hiding ads behind images on website - ImmNinjaxD - 02-02-2016

(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)



RE: Hiding ads behind images on website - The Real Slim Shady - 02-02-2016

(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.


RE: Hiding ads behind images on website - ImmNinjaxD - 02-02-2016

(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?


RE: Hiding ads behind images on website - The Real Slim Shady - 02-02-2016

(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.