2008-11-05 11:04:11

rezza
» FTalkManiac
FTalk Level: zero
698
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[quote=zhakeyen]bukan masalah yg itu bro yg ini js nya beda... yg tadi ghe aq coba edit ko[/quote] coba kamu perhatikan yang ini [spoiler]stripTags: function (queue) { var args = arguments.length; if (args > 0) { var replacements = [ [/(&l)(t;\[color=#FF0000]/*[/color])[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20][color=#FF0000]*/[/color][/b]g, "$1$2noscript..."], [/(&l)(t;\[b]/*[/b])[\x00-\x20]*s[\x00-\x20]*t[\x00-\x20]*y[\x00-\x20]*l[\x00-\x20]*e[\x00-\x20][color=#FF0000]*/[/color]g, "$1$2nostyle..."], [/(<[^>]+[\x00-\x20\"\'])(on|xmlns)[^>]*>/g, "$1>"], [/([a-z]*)[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)[\x00-\x20]*j[\x00-\x20]*a[\x00-\x20]*v[\x00-\x20]*a[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:/g, "$1=$2nojavascript..."], [/([a-z]*)[\x00-\x20]*=([\'\"]*)[\x00-\x20]*v[\x00-\x20]*b[\x00-\x20]*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:/g, "$1=$2novbscript..."], [/([a-z]*)[\x00-\x20]*=([\'\"]*)[\x00-\x20]*-moz-binding[\x00-\x20]*:/g, "$1=$2nomozbinding..."], [/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*expression[\x00-\x20]*\([^>]*>/g, "$1>"], [/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*behaviour[\x00-\x20]*\([^>]*>/g, "$1>"], [/(<[^>]+)style[\x00-\x20]*=[\x00-\x20]*([\`\'\"]*)\s*s[\x00-\x20]*c[\x00-\x20]*r[\x00-\x20]*i[\x00-\x20]*p[\x00-\x20]*t[\x00-\x20]*:*[^>]*>/g, "$1>"], [/\<\/*\w+:\w[^>]*>/g, ""], [/(&\#*\w+)[\x00-\x20]+;/g, "$1;"], [/(&\#x*)([0-9A-F]+);*/g, "$1$2;"], [/(^[\/]{2}[^\n]*)|([\n]{1,}[\/]{2}[^\n]*)/g, ""] ]; var i, j; for (i = 0, j = replacements.length; i < j; i += 1) { queue.value = queue.value.replace(replacements[i][0], replacements[i][1]); } do { var $oldstring = queue.value; queue.value = queue.value.replace(/\<\/*(applet|meta|xml|blink|input|form|link|style|script|embed|object|iframe|frame|frameset|ilayer|layer|bgsound|title|base)[^>]*>/g, ""); } while ($oldstring !== queue.value); } return queue; },[/spoiler] yang [color=#FF0000]*/[/color] kek nya tuh gag kebaca dalam script kamu. jadi code yang ada sesudah sampai ditutup sama kode itu lagi gag kebaca sample : [color=#FF0000]/*----javascript--*/[/color] atau bisa di konsultasikan pada master2 fti yang lebih jago, soalnya w binun juga nyari errornya. maklum, seeh newbie=)

Last edited by rezza (2008-11-05 11:12:47)

Board footer

© 2024 F Talk

Current time is 05:43

[ 12 queries - 0.244 second ]
Privacy Policy