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)
-   -   Anyway To Hide HTML From The Source Code? (https://gfy.com/showthread.php?t=1119224)

mikesinner 08-24-2013 05:03 AM

Anyway To Hide HTML From The Source Code?
 
Lets say I want to hide my Google analytics code so that no surfer can see it when they click on the source code. can I do this simply?

This would make is so I can track all adult and mainstream sites together without letting anyone know I run both.

I think this isn't possible if I want the code to track the traffic.

freecartoonporn 08-24-2013 09:10 AM

i was worried about this too.,
but then found about creating new accounts in analytics admin.

nexcom28 08-24-2013 09:13 AM

I presume you could obfuscate it.

DeadFidel 08-24-2013 09:19 AM

Quote:

Originally Posted by nexcom28 (Post 19771892)
I presume you could obfuscate it.


http://blog.mailchimp.com/wp-content...1/11/home1.png

just a punk 08-24-2013 09:36 AM

Here you go: http://www.fhgstore.com/wmtools.html and find the X-HTML Encoder there.

mafia_man 08-24-2013 09:50 AM

Quote:

Originally Posted by mikesinner (Post 19771704)
Lets say I want to hide my Google analytics code so that no surfer can see it when they click on the source code. can I do this simply?

This would make is so I can track all adult and mainstream sites together without letting anyone know I run both.

I think this isn't possible if I want the code to track the traffic.

Just make a new property.

freecartoonporn 08-24-2013 10:00 AM

Quote:

Originally Posted by mafia_man (Post 19771923)
Just make a new property.

new property/new account , idk but one of them has fixed id and one last incremental so its eacy to find all others site and

other creates new random id for each account i guess..

i have 10+ accounts in admin, i am not talking about differnt analytics accounts ..

bbobby86 08-24-2013 12:33 PM

you can upload analytics.php file with your code in it... and just include analytics.php in header...

lezinterracial 08-24-2013 01:09 PM

Quote:

Originally Posted by bbobby86 (Post 19772029)
you can upload analytics.php file with your code in it... and just include analytics.php in header...


Looks like easiest option here.

Ferus 08-24-2013 01:14 PM

Quote:

Originally Posted by bbobby86 (Post 19772029)
you can upload analytics.php file with your code in it... and just include analytics.php in header...

That will show it in the browser source code.

Analytics is a browser script running client-side. So your only choise would be to opfuscate it

k0nr4d 08-24-2013 01:15 PM

Quote:

Originally Posted by lezinterracial (Post 19772052)
Looks like easiest option here.

That will still show in the sources.
You can base64 encode the entire GA code, and then use eval() and base64 decode it in javascript.

Va2k 08-24-2013 01:16 PM

Quote:

Originally Posted by lezinterracial (Post 19772052)
Looks like easiest option here.

Well then they can view the source code and find that file name.php and add the domain name/filename.php and blam there you go they will have what you do not want them to have! :Oh crap

Damn as I was typing this out I was beating to it lol

nexcom28 08-24-2013 01:23 PM

Quote:

Originally Posted by DeadFidel (Post 19771899)

????????

blackmonsters 08-24-2013 02:10 PM

Quote:

Originally Posted by Fungus (Post 19772059)
Well then they can view the source code and find that file name.php and add the domain name/filename.php and blam there you go they will have what you do not want them to have! :Oh crap

Damn as I was typing this out I was beating to it :jerkoff lol

:1orglaugh

"beaten to it" would be normal.

HomerSimpson 08-24-2013 04:16 PM

encode in some way yes, hide totally (from skilled guys like me) no fucking way

pornmasta 08-24-2013 04:24 PM

how to find the stats of someone else in analytics ?

Aidoru 08-24-2013 04:37 PM

What nexcom said

freecartoonporn 08-25-2013 12:28 AM

Quote:

Originally Posted by pornmasta (Post 19772188)
how to find the stats of someone else in analytics ?

you cant, but you can find thier other sites using their analytics code.,

reverseinternet.com

just a punk 08-25-2013 02:19 AM

I already gave you a 100% working solution above. Here is an example.

1) Some GA code "AS IS":

Code:

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-15549240-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
  } catch(err) {}
</script>

2) The same GA code altered by X-HTML Encoder:

Code:

<SCRIPT LANGUAGE="Javascript"><!--
//encoded with X-HTML Encoder (http://www.maturedesign.com)
function xhtmldecode(x){
document.write(unescape(x))
}
function runit(){
x="%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%20%20%76%61%72%20%67%61%4A%73%48%6F%73%74%20%3D%20%28%28%22%68%74%74%70%73%3A%22%20%3D%3D%20%64%6F%63%75%6D%65%6E%74%2E%6C%6F%63%61%74%69%6F%6E%2E%70%72%6F%74%6F%63%6F%6C%29%20%3F%20%22%68%74%74%70%73%3A%2F%2F%73%73%6C%2E%22%20%3A%20%22%68%74%74%70%3A%2F%2F%77%77%77%2E%22%29%3B%0D%0A%20%20%20%20%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%22%25%33%43%73%63%72%69%70%74%20%73%72%63%3D%27%22%20%2B%20%67%61%4A%73%48%6F%73%74%20%2B%22%67%6F%6F%67%6C%65%2D%61%6E%61%6C%79%74%69%63%73%2E%63%6F%6D%2F%67%61%2E%6A%73%27%20%74%79%70%65%3D%27%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%27%25%33%45%25%33%43%2F%73%63%72%69%70%74%25%33%45%22%29%29%3B%0D%0A%3C%2F%73%63%72%69%70%74%3E%0D%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%74%72%79%20{%0D%0A%20%20%20%20%76%61%72%20%70%61%67%65%54%72%61%63%6B%65%72%20%3D%20%5F%67%61%74%2E%5F%67%65%74%54%72%61%63%6B%65%72%28%22%55%41%2D%31%35%35%34%39%32%34%30%2D%31%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%44%6F%6D%61%69%6E%4E%61%6D%65%28%22%6E%6F%6E%65%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%41%6C%6C%6F%77%4C%69%6E%6B%65%72%28%74%72%75%65%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%74%72%61%63%6B%50%61%67%65%76%69%65%77%28%29%3B%0D%0A%20%20}%20%63%61%74%63%68%28%65%72%72%29%20{}%0D%0A%3C%2F%73%63%72%69%70%74%3E"
xhtmldecode(x)
}
runit()
//-->
</script>

Do you need anything else?

Klen 08-25-2013 02:29 AM

Quote:

Originally Posted by CyberSEO (Post 19772401)
I already gave you a 100% working solution above. Here is an example.

1) Some GA code "AS IS":

Code:

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
  try {
    var pageTracker = _gat._getTracker("UA-15549240-1");
    pageTracker._setDomainName("none");
    pageTracker._setAllowLinker(true);
    pageTracker._trackPageview();
  } catch(err) {}
</script>

2) The same GA code altered by X-HTML Encoder:

Code:

<SCRIPT LANGUAGE="Javascript"><!--
//encoded with X-HTML Encoder (http://www.maturedesign.com)
function xhtmldecode(x){
document.write(unescape(x))
}
function runit(){
x="%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%20%20%76%61%72%20%67%61%4A%73%48%6F%73%74%20%3D%20%28%28%22%68%74%74%70%73%3A%22%20%3D%3D%20%64%6F%63%75%6D%65%6E%74%2E%6C%6F%63%61%74%69%6F%6E%2E%70%72%6F%74%6F%63%6F%6C%29%20%3F%20%22%68%74%74%70%73%3A%2F%2F%73%73%6C%2E%22%20%3A%20%22%68%74%74%70%3A%2F%2F%77%77%77%2E%22%29%3B%0D%0A%20%20%20%20%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%22%25%33%43%73%63%72%69%70%74%20%73%72%63%3D%27%22%20%2B%20%67%61%4A%73%48%6F%73%74%20%2B%22%67%6F%6F%67%6C%65%2D%61%6E%61%6C%79%74%69%63%73%2E%63%6F%6D%2F%67%61%2E%6A%73%27%20%74%79%70%65%3D%27%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%27%25%33%45%25%33%43%2F%73%63%72%69%70%74%25%33%45%22%29%29%3B%0D%0A%3C%2F%73%63%72%69%70%74%3E%0D%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0D%0A%20%20%74%72%79%20{%0D%0A%20%20%20%20%76%61%72%20%70%61%67%65%54%72%61%63%6B%65%72%20%3D%20%5F%67%61%74%2E%5F%67%65%74%54%72%61%63%6B%65%72%28%22%55%41%2D%31%35%35%34%39%32%34%30%2D%31%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%44%6F%6D%61%69%6E%4E%61%6D%65%28%22%6E%6F%6E%65%22%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%73%65%74%41%6C%6C%6F%77%4C%69%6E%6B%65%72%28%74%72%75%65%29%3B%0D%0A%20%20%20%20%70%61%67%65%54%72%61%63%6B%65%72%2E%5F%74%72%61%63%6B%50%61%67%65%76%69%65%77%28%29%3B%0D%0A%20%20}%20%63%61%74%63%68%28%65%72%72%29%20{}%0D%0A%3C%2F%73%63%72%69%70%74%3E"
xhtmldecode(x)
}
runit()
//-->
</script>

Do you need anything else?

I could use online version of that :)

[ Nate ] 08-25-2013 02:29 AM

Make a new google account for the mainstream and then import the data into your current account so you can view them all from the same admin.

just a punk 08-25-2013 02:31 AM

Quote:

Originally Posted by KlenTelaris (Post 19772407)
I could use online version of that :)

If I have some free time, I'll make the one. That desktop app was written almost 10 years ago...

seeandsee 08-25-2013 02:40 AM

new property or code your html, but people that will track you will probably bypase coding...


All times are GMT -7. The time now is 07:10 AM.

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