Click here to Skip to main content
15,917,062 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Bulk insert from web page into Database Pin
m.shivaleela28-Jan-07 20:10
m.shivaleela28-Jan-07 20:10 
AnswerRe: Bulk insert from web page into Database Pin
Bradml28-Jan-07 20:14
Bradml28-Jan-07 20:14 
GeneralRe: Bulk insert from web page into Database Pin
m.shivaleela28-Jan-07 20:21
m.shivaleela28-Jan-07 20:21 
GeneralRe: Bulk insert from web page into Database Pin
Bradml28-Jan-07 20:39
Bradml28-Jan-07 20:39 
Questionbinary codes Pin
tseg26-Jan-07 22:42
tseg26-Jan-07 22:42 
AnswerRe: binary codes Pin
Bradml26-Jan-07 23:30
Bradml26-Jan-07 23:30 
GeneralWeb Quiz Pin
Bradml26-Jan-07 20:10
Bradml26-Jan-07 20:10 
QuestionNifty script + Interesting problem: run javascript without script tags [modified] Pin
tantiboh26-Jan-07 14:22
tantiboh26-Jan-07 14:22 
Here's a nifty little script I built, almost by accident. Essentially, it takes a string of invisible characters and makes grow to full size in a cascading fashion. Feel free to use it in whatever you want:

***************
<script type="text/javascript" language="JavaScript">
//<!--
var timeout;

function SizeShift(LetterNum)
{
Grow(LetterNum + 1, 0)
if (LetterNum <= 18)
{
timeout = setTimeout('SizeShift('+(LetterNum + 1)+');', 100);
}
}

function Grow(LetterNum, Size)
{
var D = document.getElementById(LetterNum);
D.style.fontSize = Size;
if (Size < 25)
{
timeout = setTimeout('Grow('+LetterNum+', '+(Size + 1)+');', 10);
}
}

timeout = setTimeout('SizeShift(0);',100);
//-->
</script>

<span style="font-sizeBlush | :O ; color:#aa0000;"><b><i>
<span id="1">C</span><span id="2">o</span><span id="3">d</span><span id="4">e</span><span style="font-size: 25">&nbsp;</span><span id="5">P</span><span id="6">r</span><span id="7">o</span><span id="8">j</span><span id="9">e</span><span id="10">c</span><span id="11">t</span><span style="font-size: 25">&nbsp;</span><span id="12">i</span><span id="13">s</span><span style="font-size: 25">&nbsp;</span><span id="14">C</span><span id="15">o</span><span id="16">o</span><span id="17">l</span><span id="18">!</span>
</i></b></span>
*****************

So, here's the challenge: I want to use this script as a signature for message board-style posts on a site that doesn't accept certain tags, including at least <SCRIPT>, <LINK>, <IMG>, and <IFRAME>, evidently in an attempt to prevent malicious use. Of course, what's a wall good for if you can't find a way around it?

Any ideas on how to make this happen? One approach I've been trying without success is to host the script and signature somewhere then import that page into the innerHTML of, say, a <SPAN> within the post. I can't quite make that one happen. Any other ideas? Proof of concept is requested, if possible.



-- modified at 20:47 Friday 26th January, 2007
AnswerRe: Nifty script + Interesting problem: run javascript without script tags Pin
Bradml26-Jan-07 20:04
Bradml26-Jan-07 20:04 
GeneralRe: Nifty script + Interesting problem: run javascript without script tags Pin
tantiboh26-Jan-07 20:41
tantiboh26-Jan-07 20:41 
GeneralRe: Nifty script + Interesting problem: run javascript without script tags Pin
Bradml26-Jan-07 20:46
Bradml26-Jan-07 20:46 
Questionroll over menu ? Pin
sanaziuse25-Jan-07 20:32
sanaziuse25-Jan-07 20:32 
AnswerRe: roll over menu ? Pin
Bradml26-Jan-07 0:17
Bradml26-Jan-07 0:17 
GeneralRe: roll over menu ? Pin
sanaziuse27-Jan-07 1:12
sanaziuse27-Jan-07 1:12 
GeneralRe: roll over menu ? Pin
Bradml27-Jan-07 1:15
Bradml27-Jan-07 1:15 
QuestionProblem with Crystal report when isapi filter is set in ASP Pin
ClaireDorothy25-Jan-07 3:10
ClaireDorothy25-Jan-07 3:10 
Questiontooltip text for combo box value in asp Pin
Rakesh.Jha.011025-Jan-07 1:32
Rakesh.Jha.011025-Jan-07 1:32 
AnswerRe: tooltip text for combo box value in asp Pin
badgrs26-Jan-07 0:28
badgrs26-Jan-07 0:28 
Questionballon message for password textbox Pin
praveenanand25-Jan-07 0:50
praveenanand25-Jan-07 0:50 
AnswerRe: ballon message for password textbox Pin
Bradml25-Jan-07 1:09
Bradml25-Jan-07 1:09 
GeneralRe: ballon message for password textbox Pin
badgrs26-Jan-07 0:32
badgrs26-Jan-07 0:32 
GeneralRe: ballon message for password textbox Pin
Bradml26-Jan-07 0:41
Bradml26-Jan-07 0:41 
QuestionForm Method Pin
Tyler4524-Jan-07 10:20
Tyler4524-Jan-07 10:20 
AnswerRe: Form Method Pin
Tyler4524-Jan-07 10:34
Tyler4524-Jan-07 10:34 
QuestionCustom sort XML datagrid Pin
bartbauldry24-Jan-07 5:28
bartbauldry24-Jan-07 5:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.