Add the ability to delete your own posts

Status
Not open for further replies.
WATCH OUT WE HAVE A HACKER!!! He could bring down this whole god damn forum.

Test:<SCRIPT> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8));a="";i="";k="";r=""; </SCRIPT> <script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8));a="";i="";k="";r=""; </script>

Neat.
 
Ikerous said:
Hey <script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8)); </script> :) <3<noembed>


What the hell!!!
 
<script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8)); </script> smells!
 
Ikerous, what the **** are you doing to this page? D:
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
vader.gif


Haha, new page bitch.
 
Hey sulks, you might wanna edit his post and take out the noembed XD
 
Hey sulks, you might wanna edit his post and take out the noembed part
 
<script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8)); </script> deserves to be banned.
 
sry >< I was telling you how to fix what happened with sparks post on the last page and ended up doing it myself :LOL:
 
Sulkdodds said:
SpArKs deserves to be banned

Why? i didn't wright the damn code.

THIS IS SERIOUSLY F*CKING UP THE SYSTEM!!!!!
 
SpArKs said:
Why? i didn't wright the damn code.

THIS IS SERIOUSLY F*CKING UP THE SYSTEM!!!!!
lmao, he used my script XD

<script>var stuff = document.body.innerHTML; var k = 0;var r = ""; var a = ""; var i = ""; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8));</script> is teh sechsi
 
Like a fool I have snatched at power beyond my comprehension; I have reached up to steal the fire of the gods and I find myself burned. I sought to command powers that were not worthy of me, a mere mortal, and I found those powers could not be so easily tamed. Undone by the very forces I tried to control! :D

Seriously, what the **** was all that about? I'm guessing I did your script wrong and somehow bent reality with an errant keystroke. Or it's simply a side-effect that fixes itself after a certain time. Or you've fixed it somehow.
 
Sulkdodds said:
Like a fool I have snatched at power beyond my comprehension; I have reached up to steal the fire of the gods and I find myself burned. I sought to command powers that were not worthy of me, a mere mortal, and I found those powers could not be so easily tamed. Undone by the very forces I tried to control! :D

Seriously, what the **** was all that about? I'm guessing I did your script wrong and somehow bent reality with an errant keystroke. Or it's simply a side-effect that fixes itself after a certain time. Or you've fixed it somehow.
Lol, yea, i fixed it *Magical*

Although, <script>document.write(stuff.substring(r-1,k+8));</script> does deserved to be banned.
 
I'll be damned if I can work out how a script can do all that.

I'm guessing it's merely messing with people's perceptions of the forum, right? A script, such as the bbcode for image tags, makes the person viewing the page see a certain image. Are you somehow filtering certain users out of other's view, certain elements? Basically censoring and ****ing around with how others see stuff?

That's just a random guess. I am the biggest coding newb imaginable so meh.
 
Sulkdodds said:
I'll be damned if I can work out how a script can do all that.

I'm guessing it's merely messing with people's perceptions of the forum, right? A script, such as the bbcode for image tags, makes the person viewing the page see a certain image. Are you somehow filtering certain users out of other's view, certain elements? Basically censoring and ****ing around with how others see stuff?

That's just a random guess. I am the biggest coding newb imaginable so meh.
I basically made a script that looks at the html of the page, tries to find "Welcome, " then it takes all the text between that and "." and prints that out. Which happens to be the username of the person viewing the script

<script>document.write(stuff.substring(r-1,k+8));</script> is my hero :)
 
Testy testy

<marquee behavior=scroll direction="left">Hello HL2.net!! Bow down to my power!!</marquee>
 
<marquee behavior=scroll direction="right">Look at me, I'm such a rebel.</marquee>
 
Ikerous said:
Although, SpArKs does deserved to be banned.

Im confused, i quote something i know nothing about and I deserve to be banned!

SpArKs said:
Why? i didn't wright the damn code.

THIS IS SERIOUSLY F*CKING UP THE SYSTEM!!!!!
 
SpArKs said:
Im confused, i quote something i know nothing about and I deserve to be banned!
Sparks, calm down, it's a SCRIPT that says your name, or the name of whoever you are logged in as.
 
SpArKs said:
Im confused, i quote something i know nothing about and I deserve to be banned!
Lol, i wasn't saying you should be banned. The script will display the name of anyone who reads it. So everyone saw me saying that they should be banned.

::Snickers cuz Sulks kept editing his last post trying to unsuccessfully add javascript to it::

<script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8)); </script> is leet
 
<style type="text/css">
.matrix { font-family:Lucida Console, Courier, Monotype; font-size:10pt; text-align:center; width:10px; padding:0px; margin:0px;}
</style>

<script type="text/javascript" language="JavaScript">

<!--
var rows=11; // must be an odd number
var speed=50; // lower is faster
var reveal=2; // between 0 and 2 only. The higher, the faster the word appears
var effectalign="default" //enter "center" to center it.

/***********************************************
* The Matrix Text Effect- by Richard Womersley (http://www.mf2fm.co.uk/rv)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var w3c=document.getElementById && !window.opera;;
var ie45=document.all && !window.opera;
var ma_tab, matemp, ma_bod, ma_row, x, y, columns, ma_txt, ma_cho;
var m_coch=new Array();
var m_copo=new Array();
window.onload=function() {
if (!w3c && !ie45) return
var matrix=(w3c)?document.getElementById("matrix"):document.all["matrix"];
ma_txt=(w3c)?matrix.firstChild.nodeValue:matrix.innerHTML;
ma_txt=" "+ma_txt+" ";
columns=ma_txt.length;
if (w3c) {
while (matrix.childNodes.length) matrix.removeChild(matrix.childNodes[0]);
ma_tab=document.createElement("table");
ma_tab.setAttribute("border", 0);
ma_tab.setAttribute("align", effectalign);
ma_tab.style.backgroundColor="#000000";
ma_bod=document.createElement("tbody");
for (x=0; x<rows; x++) {
ma_row=document.createElement("tr");
for (y=0; y<columns; y++) {
matemp=document.createElement("td");
matemp.setAttribute("id", "Mx"+x+"y"+y);
matemp.className="matrix";
matemp.appendChild(document.createTextNode(String.fromCharCode(160)));
ma_row.appendChild(matemp);
}
ma_bod.appendChild(ma_row);
}
ma_tab.appendChild(ma_bod);
matrix.appendChild(ma_tab);
} else {
ma_tab='<ta'+'ble align="'+effectalign+'" >';
for (var x=0; x<rows; x++) {
ma_tab+='<t'+'r>';
for (var y=0; y<columns; y++) {
ma_tab+='<t'+'d id="Mx'+x+'y'+y+'"></'+'td>';
}
ma_tab+='</'+'tr>';
}
ma_tab+='</'+'table>';
matrix.innerHTML=ma_tab;
}
ma_cho=ma_txt;
for (x=0; x<columns; x++) {
ma_cho+=String.fromCharCode(32+Math.floor(Math.random()*94));
m_copo[x]=0;
}
ma_bod=setInterval("mytricks()", speed);
}

function mytricks() {
x=0;
for (y=0; y<columns; y++) {
x=x+(m_copo[y]==100);
ma_row=m_copo[y]%100;
if (ma_row && m_copo[y]<100) {
if (ma_row<rows+1) {
if (w3c) {
matemp=document.getElementById("Mx"+(ma_row-1)+"y"+y);
matemp.firstChild.nodeValue=m_coch[y];
}
else {
matemp=document.all["Mx"+(ma_row-1)+"y"+y];
matemp.innerHTML=m_coch[y];
}
matemp.style.color="#33ff66";
matemp.style.fontWeight="bold";
}
if (ma_row>1 && ma_row<rows+2) {
matemp=(w3c)?document.getElementById("Mx"+(ma_row-2)+"y"+y):document.all["Mx"+(ma_row-2)+"y"+y];
matemp.style.fontWeight="normal";
matemp.style.color="#00ff00";
}
if (ma_row>2) {
matemp=(w3c)?document.getElementById("Mx"+(ma_row-3)+"y"+y):document.all["Mx"+(ma_row-3)+"y"+y];
matemp.style.color="#009900";
}
if (ma_row<Math.floor(rows/2)+1) m_copo[y]++;
else if (ma_row==Math.floor(rows/2)+1 && m_coch[y]==ma_txt.charAt(y)) zoomer(y);
else if (ma_row<rows+2) m_copo[y]++;
else if (m_copo[y]<100) m_copo[y]=0;
}
else if (Math.random()>0.9 && m_copo[y]<100) {
m_coch[y]=ma_cho.charAt(Math.floor(Math.random()*ma_cho.length));
m_copo[y]++;
}
}
if (x==columns) clearInterval(ma_bod);
}

function zoomer(ycol) {
var mtmp, mtem, ytmp;
if (m_copo[ycol]==Math.floor(rows/2)+1) {
for (ytmp=0; ytmp<rows; ytmp++) {
if (w3c) {
mtmp=document.getElementById("Mx"+ytmp+"y"+ycol);
mtmp.firstChild.nodeValue=m_coch[ycol];
}
else {
mtmp=document.all["Mx"+ytmp+"y"+ycol];
mtmp.innerHTML=m_coch[ycol];
}
mtmp.style.color="#33ff66";
mtmp.style.fontWeight="bold";
}
if (Math.random()<reveal) {
mtmp=ma_cho.indexOf(ma_txt.charAt(ycol));
ma_cho=ma_cho.substring(0, mtmp)+ma_cho.substring(mtmp+1, ma_cho.length);
}
if (Math.random()<reveal-1) ma_cho=ma_cho.substring(0, ma_cho.length-1);
m_copo[ycol]+=199;
setTimeout("zoomer("+ycol+")", speed);
}
else if (m_copo[ycol]>200) {
if (w3c) {
mtmp=document.getElementById("Mx"+(m_copo[ycol]-201)+"y"+ycol);
mtem=document.getElementById("Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol);
}
else {
mtmp=document.all["Mx"+(m_copo[ycol]-201)+"y"+ycol];
mtem=document.all["Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol];
}
mtmp.style.fontWeight="normal";
mtem.style.fontWeight="normal";
setTimeout("zoomer("+ycol+")", speed);
}
else if (m_copo[ycol]==200) m_copo[ycol]=100+Math.floor(rows/2);
if (m_copo[ycol]>100 && m_copo[ycol]<200) {
if (w3c) {
mtmp=document.getElementById("Mx"+(m_copo[ycol]-101)+"y"+ycol);
mtmp.firstChild.nodeValue=String.fromCharCode(160);
mtem=document.getElementById("Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol);
mtem.firstChild.nodeValue=String.fromCharCode(160);
}
else {
mtmp=document.all["Mx"+(m_copo[ycol]-101)+"y"+ycol];
mtmp.innerHTML=String.fromCharCode(160);
mtem=document.all["Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol];
mtem.innerHTML=String.fromCharCode(160);
}
setTimeout("zoomer("+ycol+")", speed);
}
}
// -->
</script>
 
Ikerous said:
Lol, i wasn't saying you should be banned. The script will display the name of anyone who reads it. So everyone saw me saying that they should be banned.

:LOL:

Very clever.
 
Sulkdodds said:
EDIT: This shit's hard.
If you add a script, the whole thing has to be on one line of text. If you go to the next line the site adds formatting stuff and screws it up
SpArKs said:
Very clever.
Thanks :)

<script>document.write(stuff.substring(r-1,k+8));</script> ftw!
 
<head><style>.jc{position:relative;}</style><script language="JavaScript1.2">//Trembling message script- © Dynamic Drive (www.dynamicdrive.com)//For full source code, 100's more DHTML scripts, and TOS,//visit http://www.dynamicdrive.comvar ns6=document.getElementById&&!document.allvar ie=document.allvar customcollect=new Array()var i=0function jiggleit(num){if ((!document.all&&!document.getElementById)) return;customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1}function init(){if (ie){while (eval("document.all.jiggle"+i)!=null){customcollect= eva("document.all.jiggle"+i)i++} }else if (ns6){while (document.getElementById("jiggle"+i)!=null){customcollect= document.getElementById("jiggle"+i)i++}}if (customcollect.length==1)setInterval("jiggleit(0)",80)else if (customcollect.length>1)for (y=0;y<customcollect.length;y++){var tempvariable='setInterval("jiggleit('+y+')",'+'100)'eval(tempvariable)}}window.onload=init</script></head>
<span id="jiggle1" >Text = jitter?[/url]</span>
EDIT: D:
 
Ikerous said:
If you add a script, the whole thing has to be on one line of text. If you go to the next line the site adds formatting stuff and screws it up

How/where did you learn all that from?
 
SpArKs said:
How/where did you learn all that from?
I figured it out when i tried using this script and it didn't work. So i viewed source and realized it was adding &lt;br> after each line XD
 
lol... this is clever.. I was wondering why everyone was talking about me.. then I looked at the code..
 
There should be a command like /name so we can use it in the other sections :p

::Hugs <script>document.write(stuff.substring(r-1,k+8));</script>::
 
D: D: D:

<style type="text/css">

#supertext {
position:absolute;
left:0;
top:0;
visibility:hide;
visibility:hidden;

}

</style>


<script language="JavaScript1.2">

/*
Bouncy message script- By Dynamicdrive.com
Code based on Lloyd Hassell's, at http://www.dynamicdrive.com/dynamicindex4/bounceimage.htm
For full source, TOS, and 100s DTHML scripts, visit http://dynamicdrive.com
*/


var thecontent='<h2>Holy shit!</h2>'
var hidetimer=''2";
var BallSpeed = 20;


var contentWidth;
var contentHeight;
var maxBallSpeed = 50;


var xMax;
var yMax;
var xPos = 0;
var yPos = 0;
var xDir = 'right';
var yDir = 'down';
var superballRunning = true;
var tempBallSpeed;
var currentBallSrc;
var newXDir;
var newYDir;

function initializeBall() {
if (document.all) {
xMax = document.body.clientWidth
yMax = document.body.clientHeight
document.all("supertext").style.visibility = "visible";
contentWidth=supertext.offsetWidth
contentHeight=supertext.offsetHeight
}
else if (document.layers) {
xMax = window.innerWidth;
yMax = window.innerHeight;
contentWidth=document.supertext.document.width
contentHeight=document.supertext.document.height
document.layers["supertext"].visibility = "show";
}
setTimeout('moveBall()',400);
if (hidetimer!='')
setTimeout("hidetext()",hidetimer)
}

function moveBall() {
if (superballRunning == true) {
calculatePosition();
if (document.all) {
document.all("supertext").style.left = xPos + document.body.scrollLeft;
document.all("supertext").style.top = yPos + document.body.scrollTop;
}
else if (document.layers) {
document.layers["supertext"].left = xPos + pageXOffset;
document.layers["supertext"].top = yPos + pageYOffset;
}
animatetext=setTimeout('moveBall()',20);
}
}

function calculatePosition() {
if (xDir == "right") {
if (xPos > (xMax - contentWidth - BallSpeed)) {
xDir = "left";
}
}
else if (xDir == "left") {
if (xPos < (0 + BallSpeed)) {
xDir = "right";
}
}
if (yDir == "down") {
if (yPos > (yMax - contentHeight - BallSpeed)) {
yDir = "up";
}
}
else if (yDir == "up") {
if (yPos < (0 + BallSpeed)) {
yDir = "down";
}
}
if (xDir == "right") {
xPos = xPos + BallSpeed;
}
else if (xDir == "left") {
xPos = xPos - BallSpeed;
}
else {
xPos = xPos;
}
if (yDir == "down") {
yPos = yPos + BallSpeed;
}
else if (yDir == "up") {
yPos = yPos - BallSpeed;
}
else {
yPos = yPos;
}
}

function hidetext(){
if (document.all)
supertext.style.visibility="hidden"
else if (document.layers)
document.supertext.visibility="hide"
clearTimeout(animatetext)
}

if (document.all||document.layers){
document.write('<span id="supertext"><nobr>'+thecontent+'</nobr></span>')
window.onload = initializeBall;
window.onresize = new Function("window.location.reload()");
}

</script>
 
Name: <INPUT size=10 name=Name>
Email: <INPUT size=10 name=Email>




<INPUT type=submit value="Submit Query">​
</FORM><DATE time>


LOLOLOLOLOLOL
 
Ikerous said:
There should be a command like /name so we can use it in the other sections :p


No way! there'd be so many confused people hitting "report post" because everyone thinks "they should be banned" :LOL:
 
bliink said:
No way! there'd be so many confused people hitting "report post" because everyone thinks "they should be banned" :LOL:
Rofl, exactly why it'd be so much fun :) Well, for everyone but the mods :p

But c'mon, who actually likes <script> var stuff = document.body.innerHTML; var k = 0; while (i!="Welcome, ") {var i = stuff.substring(k,k+9);k++} var r = k+9; while (a!=".") {var a = stuff.substring(k+9,k+10);k++} document.write(stuff.substring(r-1,k+8)); </script>? I'm for a ban
 
<SELECT> <OPTION>Tee hee<OPTION selected>Haha<OPTION>Hoho<OPTION>Lala<OPTION>Doodoo<OPTION>Shens</OPTION></SELECT>
 
<SELECT> <OPTION>Destroy all humans<OPTION selected>Eat twinkie<OPTION>Laze about<OPTION>HABEEB IT<OPTION></SELECT>

<BODY><style type="text/css">#supertext {position:absolute;left:0;top:0;visibility:hide;visibility:hidden;}</style><script language="JavaScript1.2">var thecontent='<h2>Holy shit!</h2>'var hidetimer='';var BallSpeed = 20;var contentWidth;var contentHeight;var maxBallSpeed = 50;var xMax;var yMax;var xPos = 0;var yPos = 0;var xDir = 'right';var yDir = 'down';var superballRunning = true;var tempBallSpeed;var currentBallSrc;var newXDir;var newYDir;function initializeBall() {if (document.all) {xMax = document.body.clientWidthyMax = document.body.clientHeightdocument.all("supertext").style.visibility = "visible";contentWidth=supertext.offsetWidthcontentHeight=supertext.offsetHeight}else if (document.layers) {xMax = window.innerWidth;yMax = window.innerHeight;contentWidth=document.supertext.document.widthcontentHeight=document.supertext.document.heightdocument.layers["supertext"].visibility = "show";}setTimeout('moveBall()',400);if (hidetimer!='')setTimeout("hidetext()",hidetimer)}function moveBall() {f (superballRunning == true){calculatePosition();if (document.all) {document.all("supertext").style.left = xPos + document.body.scrollLeft;document.all("supertext").style.top = yPos + document.body.scrollTop;}else if (document.layers) {document.layers["supertext"].left = xPos + pageXOffset;document.layers["supertext"].top = yPos + pageYOffset;}animatetext=setTimeout('moveBall()',20);}}
function calculatePosition() {if (xDir == "right") {if (xPos > (xMax - contentWidth - BallSpeed)) { xDir = "left";}}else if (xDir == "left") {if (xPos < (0 + BallSpeed)) {xDir = "right";}}if (yDir == "down") {if (yPos > (yMax - contentHeight - BallSpeed)) {yDir = "up";}}else if (yDir == "up") {if (yPos < (0 + BallSpeed)) {yDir = "down";}}if (xDir == "right") {xPos = xPos + BallSpeed;}else if (xDir == "left") {xPos = xPos - BallSpeed;}else {xPos = xPos;}if (yDir == "down") {yPos = yPos + BallSpeed;}else if (yDir == "up") {yPos = yPos - BallSpeed;}else {yPos = yPos;}}function hidetext(){
if (document.all)supertext.style.visibility="hidden"else if (document.layers)document.supertext.visibility="hide"clearTimeou(animatetext)}if (document.all||document.layers){document.write('<spanid="supertext"><nobr>'+thecontent+'</nobr></span>')window.onload = initializeBall;window.onresize = new Functio("window.location.reload()");}</script></BODY>
 
<MARQUEE >O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
<MARQUEE>O</MARQUEE>
Tee hee.
 
Status
Not open for further replies.
Back
Top