Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 9th, 2010 | Syntax: JavaScript | Size: 0.89 KB | Hits: 32 | Expires: Never
Copy text to clipboard
  1. // ==UserScript==
  2. // @name           Beyond FreeDom Script
  3. // @namespace      *staemme.php*
  4. // @description    Para a tribo Beyond FreeDom
  5. // @include        *staemme.php*
  6. // ==/UserScript==
  7.  
  8. /*************************************************
  9. ****************Beyond FreeDom Script*************
  10. **********************V1.0.0**********************
  11. *************************************************/
  12. var script = document.createElement('script');
  13. script.type = 'text/javascript';
  14. script.src = 'http://prototypejs.org/assets/2009/8/31/prototype.js';
  15. document.getElementsByTagName('head')[0].appendChild(script);
  16.  
  17. var Ajax = unsafeWindow['Ajax'];
  18.    
  19.    var existeQ = function() {
  20.       alert('Hello nurse!');
  21.    }
  22.  
  23.    new Ajax.Request("http://localhost/tribo/one.php",
  24.        {
  25.            method: 'post',
  26.            postBody: 'sid='+mySID,
  27.            onComplete: existeQ
  28.        })