US Functions

By jerone Last update Jan 11, 2009 — Installed 3,141 times.
Script Summary:
Part 1 of US Framework; US Functions. Updated 11-01-2009 20:00 [v2.1 Beta].
Version: v2.1 Beta
Copyright: 2007 - 2008 Jerone
Recently Updated TopicsPosts
Errors?3
Incorrect issues1

this script has 2 topics, 4 posts

This script has no reviews.


US Functions

$1 News:


This script is now combined with all others into US Framework!

If you installed this script before, simply uninstall it and download the framework.

Information below will stay as documentation.

$2 Intro:

This script is part of US Framework[Install][Homepage], which contains 4 parts:

News and information you can find on this page, but all explanation about the functions can you find on my personal site.

$2 Changelog:

[+] = added; [-] = removed; [/] = fixed; [*] = updated;
  • 15-12-2007 15.00 [v1.0 Alpha]:
    [+] initial release;
  • 07-01-2008 22.00 [v1.1 Beta]:
    [*] every function;
  • 24-04-2008 18.00 [v1.2 Beta]:
    [*] some functions;
    [+] new functions;
  • 04-05-2008 18.00 [v1.3 Beta]:
    [*] cleaned up code;
  • 30-05-2008 18.00 [v1.4 Beta]:
    [/] framework check;
  • 20-06-2008 12.00 [v1.5 Beta]:
    [+] $w=window;
  • 21-06-2008 12.00 [v1.6 Beta]:
    [+] support for frames;
  • 22-06-2008 12.00 [v1.6.1 Beta]:
    [*] cleaned up code;
  • 23-06-2008 12.00 [v1.7 Beta]:
    [/] problem with custom prototypes;
  • 08-08-2008 16.00 [v1.8 Alpha]:
    [+] a lot new functions;
  • 11-08-2008 16.00 [v1.8.1 Alpha]:
    [*] renamed array.prototype.removeDuplicates to array.prototype.unique;
  • 16-08-2008 14.00 [v1.9 Alpha]:
    [/] bug for FF3;
  • 19-08-2008 16.30 [v1.9.1 Beta]:
    [/] Window.$scrollbar.$width;
  • 20-08-2008 12.00 [v1.9.2 Beta]:
    [*] improved $addCSS;
  • 23-08-2008 12.00 [v1.9.3 Beta]:
    [+] string.prototype.truncate;
  • 24-08-2008 17.00 [v1.9.4 Beta]:
    [/] problem with inherit of prototypes;
  • 11-09-2008 11.45 [v1.9.5 Beta]:
    [+] append first;
  • 17-09-2008 10.00 [v1.9.6 Beta]:
    [*] updated browser detect with Google Chrome;
    [*] updated new opacity's (IE8, Webkit and Apple);
    [/] fixed bug with window height when body was smaller;
    [+] added function $gv;
  • 23-09-2008 16.00 [v1.9.7 Beta]:
    [/] fixed $timeDateWords with translation;
  • 20-10-2008 22.00 [v1.9.8 Beta]:
    [+] added $ah() function;
    [+] added Array.delete() function;
    [/] fixed bug with wrong translation in $timeDateWords();
    [*] improved $addCSS();
  • 01-11-2008 14.30 [v1.9.9 Beta]:
    [+] added $addJS();
    [*] updated $addCSS() with an url;
    [*] updated $timeDateWords();
    [+] added String.toNumber();
    [+] added moveElement $me();
  • 23-11-2008 21.00 [v1.10 Beta]:
    [/] fixed wrong arguments with $addCSS();
    [/] fixed bug in Array.exist();
    [+] added Element.prototype;
    [+] added Element.firstChild();
  • 26-11-2008 17.00 [v1.10.1 Beta]:
    [+] added Number.points();
    [-] removed old name changes;
  • 29-11-2008 15.00 [v1.10.2 Beta]:
    [+] added Location.search();
  • 13-12-2008 17.30 [v1.11 Beta]:
    [+] added Function.prototype;
    [+] added Function.bind();
    [+] added Element.lastChild();
    [*] cleaned up code;
  • 10-01-2009 17.30 [v2 Beta]:
    [+] added $oc();
    [+] added Object.push();
    [*] cleaned up code;
    [*] renamed what.type.of() to type.of() and updated detection;
    [-] removed isTypeOf();
  • 11-01-2009 20.00 [v2.1 Beta]:
    [+] added Element.lastChild();

$3 Feature's:

For all feature's you have to look here.

$4 Options:

See script itself and framework script for more information.

$5 Todo:

  • Internet Explorer (IE7Pro) and Opera (UserJS) compatible.

$6 In Use:

Just leave a comment if you're using this script too and want to be added above.

$7 Notes:

I made this userscript in Dreamweaver 8.
It's tested in Firefox 2 (partly) and Firefox 3.0.5 (continuous) with GreaseMonkey 0.8.
This script is copyrighted and I prefer if you ask if you can 'borrow' parts of this script.
Installing is at own risk and I can't be held responsible if anything goes wrong.
Want to reward me for putting time and sweat into making this free userscript; (thank you).