GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a little help on hiding a code (https://gfy.com/showthread.php?t=1054348)

jerk101 01-21-2012 03:27 AM

Need a little help on hiding a code
 
I want a set of codes to hide so nothing appears when you will open the source code of the page.

Let say I want to hide this on the source code <iframe src="http://www.mysite.com"></iframe>

How to hide that? The site is wordpress

raymor 01-21-2012 04:11 AM

You basically can't. Anyway, normally hidden iframe = scumbag. Don't be the fish in the roses. It makes us all stink.

jerk101 01-21-2012 07:42 AM

Quote:

Originally Posted by raymor (Post 18702106)
You basically can't. Anyway, normally hidden iframe = scumbag. Don't be the fish in the roses. It makes us all stink.

Well not really an iframe, its just a set of codes I dont want anyone to see if they view the source

darksoul 01-21-2012 07:53 AM

you can't. At most you can obfuscate it with some js

k0nr4d 01-21-2012 08:10 AM

yep, obfuscated javascript is the only way to do it.

Inter-Sex 01-21-2012 08:30 AM

What is loaded is in the source, one way or the other.

V_RocKs 01-21-2012 09:41 AM

Or you could run it server side but it would probably bog down your server...

Horny Dude 01-21-2012 10:30 AM

I've seen it before, but it was on an HTML page not WordPress. If you did a 'view source' all you saw was a snippet of code that said "Nothing to see here". I always wondered how they did it. It was a while back so not even sure where it was.

stocktrader23 01-21-2012 10:49 AM

Quote:

Originally Posted by Horny Dude (Post 18702533)
I've seen it before, but it was on an HTML page not WordPress. If you did a 'view source' all you saw was a snippet of code that said "Nothing to see here". I always wondered how they did it. It was a while back so not even sure where it was.

You didn't scroll far enough. :upsidedow

SmokeyTheBear 01-21-2012 11:22 AM

here is one interesting way to do it..

call a javascript
<script src=hidden.js.php></script>

the javascript is a php page.

Code:

<?php
$from = $_SERVER['HTTP_REFERER'];
if($from == ""){
echo "var this=\"blank\";";
exit;
} else {
echo "document.write('<iframe src=https://gfy.com>');";
}
?>

if someone tries to view the javascript it will show nothing ( as there is no referrer )

just a punk 01-21-2012 12:17 PM

Enjoy:

http://www.fhgstore.com/images/X-HTMLEncoder.gif

:pimp

jerk101 01-21-2012 03:39 PM

Quote:

Originally Posted by SmokeyTheBear (Post 18702605)
here is one interesting way to do it..

call a javascript
<script src=hidden.js.php></script>

the javascript is a php page.



if someone tries to view the javascript it will show nothing ( as there is no referrer )

It works!!!! Thanks a million!

But you should delete your post so nobody will use this monster code :winkwink:

pornsprite 01-21-2012 04:53 PM

I wonder how the fucktards who said it couldn't be done are feeling right now

jerk101 01-22-2012 02:41 AM

Quote:

Originally Posted by cyberxxx (Post 18702681)

http://www.fhgstore.com/images/X-HTMLEncoder.gif = http://www.iwebtool.com/html_encrypter

:winkwink:

and can be decrypted using this http://www.elfqrin.com/urlenchtmldecrypt.html


All times are GMT -7. The time now is 04:34 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc