Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'javascript'

2099683 - A Class in Ext JS: javascript extjs
  1. Ext.namespace("view.component");
  2.  
  3. view.component.BasicView = Ext.extend(view.component.core.UIComponent, {
  4.     /**
  5.     * @class Serves as the main application's <code>View</code>.
  6.     * All other <code>View</code>s will become children of this control making
  7.     * the <code>BasicView</code> act as the 'stage'.
  8.     *
  9.  
  10.  
2093891 - gost_r_34.11-94.js: javascript hash gost_r_34.11-94
  1. /**
  2. * Javascript GOST R 34.11-94 hash function implementation.
  3. * Based on C-code by Alexei Kravchenko and Markku-Juhani Saarinen
  4. * and Utf8 class by Chris Veness.
  5. *
  6. * Usage: gosthash("<string>") returns a hash-string.
  7. *                               Alexander Okrugin (November, 11, 2011)
  8. */
  9.  
2093815 - gost_r_34.11-94.js: javascript hash gost_r_34.11-94
  1. /**
  2. * Javascript GOST R 34.11-94 hash function implementation.
  3. * Based on C-code by Alexei Kravchenko and Markku-Juhani Saarinen
  4. * and Utf8 class by Chris Veness.
  5. *
  6. * Usage: gosthash("<string>") returns a hash-string.
  7. *                               Alexander Okrugin (November, 11, 2011)
  8. */
  9.  
2073801 - json sample: javascript json
  1. // ejemplo de notacion json
  2. var punto2d = {
  3.         x: 1
  4.         , y: 1
  5. }
2068832 - jquery.datatables.patch: javascript jquery
  1.         /*
  2.         * Function: fnAddDataEx
  3.         * Purpose:  Add new row(s) into the table with extended cell attributes
  4.         * Returns:  array int: array of indexes (aoData) which have been added (zero length on error)
  5.         * Inputs:   array:mData - the data to be added. The length must match
  6.         *               the original data from the DOM
  7.         *             or
  8.         *             array array:mData - 2D array of data to be added
  9.  
  10.  
2065157 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2065135 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2065132 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2065128 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2065125 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2065123 - Malware Analysis: javascript code analysis malware deobfuscation obfuscated
  1. 1) http://www.livejournal.com/misc/get_domain_session.bml?return=http://bit.ly/msA1IB&ref=nf
  2. 2) http://bit.ly/msA1IB -> http://popolz.tumblr.com/?9 -> http://lnktrn.ch/dislike/dislike.js.php
  3. 3) http://bit.ly/lB2xqI -> http://popolz.tumblr.com/?4 -> http://lnktrn.ch/dislike/dislikebutton.php
  4.  
  5. Code found:
  6. [MALICIOUS CODE SEGMENT]
  7. var dddoak = "http://bit.ly/lB2xqI";
  8. var _1150;
  9.  
2002333 - wasmaro: javascript nk ukryty wiek
  1. /**
  2. * Jest to skrypt js, ktory pozwala odczytac ukryty wiek dowolnego uzytkownika serwisu nk.pl,
  3. * a dodatkowo takze wyswietla opis dowolnie wybranej osoby z poza naszej listy znajomych.
  4. *
  5. * Skrypt testowany tylko na przegladarce Google Chrome, ale na innych rowniez powinien dzialac bez zarzutu.
  6. *
  7. * Aby go uzyc, nalezy:
  8. * 1. Skopiowac do schowka caly ponizszy kod skryptu (pomiedzy "BEGIN CODE" a "END CODE").
  9.  
  10.  
1994111 - php json encode with javascript : php javascript json function encode
  1. // PHP 4 >= 4.0.1, PHP 5
  2. public static function json_encode($array)
  3. {
  4.     return preg_replace_callback(
  5.         '/(?<=:)"function\((?:(?!}").)*}"/',
  6.         create_function('$string', "return str_replace('\\\\\"','\\\"',substr(\$string[0],1,-1));"),
  7.         json_encode($array)
  8.     );
  9.  
1926474 - http://www.descusenha.blogspot.c: javascript xss orkut
  1. http://www.orkut.com.br/Main#Profile?uid=5616192376894421045
1898667 - natalia_finha@hotmail.com: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1845050 - Olly Dickins: control javascript redirection browser
  1. <script language=javascript>
  2. var x=window.confirm("Javascript redirection.");
  3.     if (x)
  4.     {
  5.         window.location="http://www.swiftirc.net/"
  6.     }
  7.     else
  8.     {
  9.  
1844047 - http://www.descusenha.blogspot.c: javascript xss orkut
  1. http://www.orkut.com.br/Main#Profile?uid=17648928570253048228
1844046 - http://www.descusenha.blogspot.c: javascript xss orkut
  1. http://www.orkut.com.br/Main#Profile?uid=17648928570253048228
1831077 - mascaras ftw: javascript mask oojs
  1. /**
  2. * Biblioteca de máscaras.
  3. *
  4. * aqui temos algumas máscaras para nos auxiliar no tratamento de eventos, bem
  5. * como métodos de validação que podem ser disparados em outro contexto.
  6. *
  7. * creditos originais da idpeia do timeout e do replace:
  8. *
  9.  
  10.  
1797417 - http://www.descusenha.blogspot.c: javascript xss orkut
  1. http://www.orkut.com.br/Main#Profile?uid=5684690295264753840
1788361 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1788360 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1788359 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1788158 - canvas animation skeleton: javascript html canvas html5
  1.         <head>
  2.                 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  3.                 <title>Canvas Trabalho 1</title>
  4.                 <style type="text/css">  
  5.                         canvas{  
  6.                                 top:100px;
  7.                                 left:100px;
  8.  
1769528 - sample for jslint: javascript js jslint
  1. /**
  2. * For instance this is a really limited and specific version.
  3. *
  4. * it uses some capabilities from DWR's util.js
  5. *
  6. * now let's pretend some javadoc, :]
  7. *
  8. * @param table
  9.  
  10.  
1757924 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1756159 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1756064 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1751743 - Tarcisio descobre senhas no orku: javascript xss orkut
  1. /*
  2. original: http://thiicio1.avafreehost.com/Descusenha.txt
  3. via http://www.descusenha.blogspot.com/
  4. aparentemente esta relacionado com esta comunidade:
  5. http://www.orkut.com.br/Main#Community?cmm=56529338
  6.  
  7. Esse tarcisio...
  8.  
  9.  
  10.  
1725389 - remote function: javascript tag component remoting
  1. <%// exemplo de conteúdo gerado no lado do servidor %>
  2. function haha(){
  3.         <%="alert(\"haha!\");"%>
  4. }
1725387 - late binding: javascript tag component remoting
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  5. <script>
  6.         function TempTag(uri){
  7.                
  8.                 var tag = document.createElement("script");
  9.  
1725367 - temptag: javascript tag component remoting
  1. /**
  2. * este helper carrega scripts em tags temporárias e as remove em seguida.
  3. *
  4. * @param uri
  5. *
  6. */
  7. function TempTag(uri){
  8.        
  9.  
1725348 - documento 3: javascript tag component remoting
  1. function executar(){
  2.         var input = document.getElementById("remoto");
  3.         alert(input.value);
  4. }
1725347 - documento 2: javascript tag component remoting
  1. <label>remoto</label>
  2. <input type="text" name="remoto" id="remoto" onclick="executar()"/>
1725346 - documento 1: javascript tag component remoting
  1. <html>
  2.         <body>
  3.                 <div id="div" style="border: 1px groove;width:320px;height:100px;">
  4.                         <!-- dinamico -->
  5.                 </div>
  6.                 <hr/>
  7.                 <button id="btn">Carregar conteúdo dinâmico</button>
  8.                 <script>
  9.  
1725290 - sample templates: javascript template oo component clonenode
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <%@page language="java" contentType="text/html; charset=ISO-8859-1"
  3.         pageEncoding="ISO-8859-1"%>
  4. <html>
  5.         <head>
  6.                 <title>PAOL - Stress do Calculo</title>
  7.                 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  8.                 <style type="text/css">
  9.  
1725071 - XHR helper: javascript object oo xmlhttprequest xhr component
  1. /**
  2. * este utilitário permite você carregar url's e injetá-las dentro de um
  3. * elemento qualquer, presumivelmente uma div.
  4. *
  5. * o processo é inteiramente assíncrono, mas se você precisar suspender todas as
  6. * execuções paralelas você pode alterar este código livremente.
  7. *
  8. * @param url
  9.  
  10.  
1680743 - Diigo meta ycc2106 focus on hist: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/bookmark/'+encodeURIComponent(document.location)+'?tab=people&uname=ycc2106');
1680367 - back event propagation: javascript back event mojo webos
  1. // I have a webview filling the screen and want to associate the back gesture with browsing back in the history, unless we cannot go back
  2. // in which case the event should bubble.
  3.  
  4. // in app/assistants/Guide-assistant.js
  5. // this.canGoBack is true when the webview can go back, and is being set properly (I have triple checked)
  6.  
  7. GuideAssistant.prototype.handleCommand = function(event) {
  8.     Mojo.Log.info('[GuideAssistant.handleCommand] event.type = ', event.type, ', event.command = ', event.command);
  9.  
1679045 - Post to Diigo, tag with : javascript bookmarklet api diigo 1094383
  1. javascript:(function()%20{var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;var%20desc%20=%20(window.getSelection%20?%20window.getSelection().toString()%20:%20document.getSelection%20?%20document.getSelection()%20%20:%20document.selection.createRange().text);window.location.href%20=%20'http://www.diigo.com/post?tags=2009,2009-11,2009-11-19,unread&url='%20+%20encodeURIComponent(url)%20+%20'&title='%20+%20encodeURIComponent(title)%20+%20'&desc='%20+%20encodeURIComponent(desc)})();
1678393 - Anonymous: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/bookmark/'+encodeURIComponent(document.location)+'?tab=comment&uname=grahamperrin');
1678376 - Diigo: annotated view without sh: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/annotated?url='+encodeURIComponent(document.location)+'&uid=26573');
1678365 - Diigo: annotated view without sh: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/annotated?url='+encodeURIComponent(document.location)+'&uid=');
1678357 - Diigo: Meta: comments: tabs: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/bookmark/'+encodeURIComponent(document.location)+'?tab=comment&gname=viewtabs');
1678356 - Diigo: Meta: comments: group-ori: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/bookmark/'+encodeURIComponent(document.location)+'?tab=comment&gname=');
1678349 - Diigo: Meta: comments: javascript bookmarklet api diigo 1094383
  1. javascript:void(window.location='http://www.diigo.com/bookmark/'+encodeURIComponent(document.location)+'?tab=comment&uname=');
1675393 - thread-like on javascript: javascript
  1. /*
  2. * runner will execute some work on a background thread. Or something like this.
  3. *
  4. * you need at least to pass inside object parameter a run method.
  5. *
  6. * if none specified, a delay of 100ms will be used.
  7. *
  8. * then you can use start/stop methods and be wise using it.
  9.  
  10.  
1592507 - add custom JS to StatusNet: javascript hook event js statusnet endshowscripts
  1. // This function can have any name
  2.  
  3. function AddMyScript($action)
  4. {
  5.     // $action->script('path') puts in a script link
  6.  
  7.     // I recommend putting custom code in the local directory
  8.     // like this
  9.  
1579173 - Binary Clock: javascript binary clock horloge binaire
  1. <html>
  2.         <head>
  3.                 <style type="text/css">    /*débute la parti css */
  4.                         .LightSwitch, .EmptySwitch {    /*détermine la dimension des blocs*/
  5.                                 display: inline-block;   /*affiche les éléments sur une meme ligne*/
  6.                                 width: 70px;
  7.                                 height: 70px;
  8.                                
  9.  
1518854 - nazia assad: javascript nazia assad
  1. <img src="planets.gif" width="145" height="126"
  2. alt="Planets" usemap="#planetmap" />
  3.  
  4. <map name="planetmap">
  5. <area shape ="rect" coords ="0,0,82,126"
  6. onMouseOver="writeText('The Sun and the gas giant planets like Jupiter
  7. are by far the largest objects in our Solar System.')"
  8. href ="sun.htm" target ="_blank" alt="Sun" />
  9.  
1489479 - String template engine (JS): javascript string js engine template templating
  1. /* Okay, so, I'm not so fond of the JavaDoc syntax,
  2. as I can not really recall it off the top of my head.
  3. Instead, I'll just give a brief overview of how this function
  4. works. It expects a single argument, an object which contains
  5. data about replacements to make. Honestly, it could be given
  6. nothing, so long as you have at least one function defined
  7. somewhere for it to use as a replacer. Anyways, the object
  8. should have at least one value in it: delim. delim is a string,
  9.  
  10.  
1473845 - Get the selection as HTML using : javascript html selection
  1. function getSelectionHTML(selection) {
  2.    var range = (document.all ? selection.createRange() : selection.getRangeAt(selection.rangeCount - 1).cloneRange());
  3.  
  4.    if (document.all) {
  5.       return range.htmlText;
  6.    } else {
  7.       var clonedSelection = range.cloneContents();
  8.       var div = document.createElement('div');
  9.  
1428681 - http://illstand1.com: php help javascript proxy games illstand1 projects
  1. http://www.illstand1.com
  2. http://illstand1.com
1421323 - calendar-jp.js: javascript localization calendar japanese
  1. // ** I18N
  2. Calendar._DN = new Array
  3. ("日",
  4.  "月",
  5.  "火",
  6.  "水",
  7.  "木",
  8.  "金",
  9.  
1421322 - ento: javascript localization calendar japanese
  1. // ** I18N
  2. Calendar._DN = new Array
  3. ("日",
  4.  "月",
  5.  "火",
  6.  "水",
  7.  "木",
  8.  "金",
  9.  
1316412 - JSCore: free javascript source library web open
  1. (function(){
  2.  
  3. /**
  4. * @alias JSCore
  5. * JavaScript Core Utility Functions
  6. */
  7. var JSCore = window.JSCore = (JSCore || {});
  8.  
  9.  
1316103 - JSCore: free javascript source library web open
  1. (function(){
  2.  
  3. /**
  4. * @alias JSCore
  5. * JavaScript Core Utility Functions
  6. */
  7. var JSCore = window.JSCore = (JSCore || {});
  8.  
  9.  
1250312 - clear form function: javascript html form clear
  1. var clearForm = function(formId) {
  2.         var form, elements, elm;
  3.         if(document.getElementById)
  4.                 form = document.getElementById(formId)
  5.         else
  6.                 form = document.forms[formId];
  7.  
  8.  
  9.  
1237475 - Untitled: php and javascript with server time timer code 10 outputs minute countdown updates
  1. <?php
  2. /* Simple php / javascript code that outputs server time and a 10 minute countdown timer
  3. * It also updates both the clock and countdown timer in real time
  4. *
  5. * Time is displayed and updated as follows:
  6. * 10:41:52 AM
  7. * Update in 08:08 
  8. *
  9.  
  10.  
1065805 - Solving Dustin Diaz programming : javascript puzzle
  1. var arr = ['a', 'b', 'c', 'c', 'd','e', 'e', 'e', 'e', 'e', 'f', 'e', 'f', 'e', 'f', 'a', 'a', 'a', 'f', 'f', 'f'];
  2. var last = '';
  3. var second_last = '';
  4. var opened = false;
  5. var res = "";
  6. for(var i in arr) {
  7.         if(arr[i] == last && last == second_last && opened == false) {
  8.                 res += "<span>";
  9.  
992068 - raisputin - wtf??: javascript bullshit rt
  1. <script type="text/javascript">
  2.  
  3. <!--
  4. var seconds
  5. var minutes
  6. var hours
  7. var timeVal = "12"
  8. if (timeVal = ''){
  9.  
971321 - arrrrgh!: tags javascript funny not bullshit rt argh agony pain headache bash.org
  1. /opt/rt3/local/html/Ticket/Update.html
  2.  
  3. <!-- BEGIN CLOCK ADDITION - Creates a count-up timer -->                           
  4. <script type = "text/javascript">
  5. <!--
  6. var seconds   
  7. var minutes   
  8. var hours   
  9.  
970834 - Making Firefox3 use Thunderbird2: javascript firefox thunderbird
  1. --- FeedConverter.js.orig       2008-04-02 08:50:52.000000000 +0900
  2. +++ FeedConverter.js    2008-04-04 18:34:43.000000000 +0900
  3. @@ -390,7 +390,10 @@ var FeedResultService = {
  4.  
  5.      switch (handler) {
  6.      case "client":
  7. +      const PREF_SELECTED_APP_ARGS = "browser.feeds.handlers.application.args";
  8. +
  9.  
965023 - cheater: javascript object bridge jscript ecma closure listener
  1. <SCRIPT TYPE="text/javascript">
  2.  setInterval("onWidthChange.check()", 10);
  3.  var onWidthChange =
  4.  (
  5.   function()
  6.   {
  7.    var listeners = [];
  8.    var Listener = function(selector, event)
  9.  
964848 - JavaScript Closure Example: javascript objects instances jscript ecma closure
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>JavaScript Closure Example</TITLE>
  5. <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">
  6. </HEAD>
  7. <SCRIPT TYPE="text/javascript">
  8. var closure =
  9.  
956259 - Thread: javascript thread matan lurey
  1. function Thread(run)
  2. {
  3.         this.run = run;
  4.        
  5.         // Similar to using Prototype's "bind" function
  6.         // i.e. start = this.start.bind(this);
  7.        
  8.         var start = this.start;
  9.  
956201 - http://illstand1.com: php help javascript proxy games illstand1 projects
  1. illstand1 sucks
956200 - http://illstand1.com: php help javascript proxy games illstand1 projects
  1. asdasd
955596 - http://illstand1.com: php help javascript proxy games illstand1 projects
  1. illstand1 sucks
913599 - grom358: php javascript form validation
  1. <?php
  2. require_once 'import.php';
  3.  
  4. // Example form
  5. $qf = build_quickform(array(
  6.         'name' => 'example_form',
  7.         'action' => 'test.php',
  8.         'method' => 'post',
  9.  
913598 - grom358: php javascript form validation
  1. <?php
  2. class Qf_Utils {
  3.         static public function form_value($value) {
  4.                 if (!isset($value)) {
  5.                         return '';
  6.                 }
  7.                 $string = strval($value);
  8.                 return strlen($string) > 0 ? htmlentities($string, ENT_QUOTES) : '';
  9.  
892010 - http://illstand1.com: php help javascript proxy games illstand1 projects
  1. http://www.illstand1.com
  2. http://illstand1.com
891248 - MicrobZ: javascript dom
  1. <HTML>
  2.  
  3. <head>
  4. <script>
  5. function run(){
  6. for(i=1;i<=3;i++){
  7.         elm = document.getElementById(i);
  8.         elm.innerHTML+=elm.innerHTML;
  9.  
868476 - barklund: javascript
  1. function getXMLHttpRequest() {
  2.         var self = arguments.callee;
  3.         if (!self.XMLHttpRequest) {
  4.                 var tryThese = [
  5.                         function () { return new XMLHttpRequest(); },
  6.                         function () { return new ActiveXObject('Msxml2.XMLHTTP'); },
  7.                         function () { return new ActiveXObject('Microsoft.XMLHTTP'); },
  8.                         function () { return new ActiveXObject('Msxml2.XMLHTTP.4.0'); },
  9.  
833728 - Illarane: javascript safari yui
  1.                         textEditor = new YAHOO.widget.Editor('textEditor_paragraph',
  2.                         {
  3.                                 toolbar: {
  4.                                         collapse: false,
  5.                                         draggable: false,
  6.                                         buttons: [
  7.                                                 { group: 'textstyle',
  8.                                                         buttons: [
  9.  
817554 - Ayush: javascript opera xpath kestrel
  1. javascript:alert(document.selectNodes('//x/x[contains(@x,"x") or contains(@x,"x") or contains(@x ,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x") or contains(@x,"x")]/x'))
756448 - Prototype.js RULEZ!: javascript prototype
  1. /**
  2. *
  3. *       checkAllGeos
  4. *       
  5. *       Toggle all Geo/Language checkboxes on or off.  Uses prototype.js
  6. *
  7. *       @author Timothy Lorens
  8. *       @since 09/19/2007
  9.  
  10.  
723676 - A greeting message javascript css html message
preview unavailable
679431 - Behaviour.register help: javascript benn bnolan behaviour prototype
  1. Behaviour.register({
  2.   '#SomeSelectElementsID': {
  3.     onchange: function() { // Called when the element is changed
  4.       if(this.value == 'the-value') {
  5.         $('#TheElementToDisplay').style.display = ''; // Don't use 'block' as some browsers don't like it
  6.       } else {
  7.         $('#TheElementToDisplay').style.display = 'none'; // Hides the element
  8.       }
  9.  
614421 - B-Rad: javascript
  1. <SCRIPT TYPE="text/javascript">
  2.  
  3. <!--
  4.  
  5. var rollOverArr=new Array();
  6. function setrollover(OverImgSrc,pageImageName)
  7. {
  8. if (! document.images)return;
  9.  
614415 - B-Rad: javascript
  1. i can't figure out this code that's supposed to make an image that changes when the mouse is over it
  2.  
  3. <SCRIPT TYPE="text/javascript">
  4.  
  5. <!--
  6.  
  7. var rollOverArr=new Array();
  8. function setrollover(OverImgSrc,pageImageName)
  9.  
599556 - sara: javascript
  1. <SCRIPT LANGUAGE="JavaScript">
  2. function popUp(URL) {
  3. day = new Date();
  4. id = day.getTime();
  5. eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=0,width=600,height=450');");
  6. }
  7. </script>
  8.  
  9.  
599541 - sara: javascript
  1. <SCRIPT LANGUAGE = "Javascript">
  2. function openstdwindow(URL) {
  3. day = new Date();
  4. id = day.getTime();
  5. eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=600,left = 415,top = 212');");
  6. return false;
  7. }
  8. </script>
  9.  
599532 - sara: javascript
  1. <SCRIPT LANGUAGE = "Javascript">
  2. var stdwindow;
  3. function openstdwindow()
  4. {
  5. stdwindow=window.open("search.php","","HIGHT=600,WIDTH=450");
  6. }
  7. </script>
  8.  
  9.  
595487 - json sample: javascript json
  1. // ejemplo de notacion json
  2. var punto2d = {
  3.         x: 1
  4.         , y: 1
  5. }
fantasy-obligation