1702 projects tagged "JavaScript"
Adtruism raises money and awareness for charities through online advertising. If you have a Web site or blog you can raise money and awareness for any charity you like by embedding an iFrame. The iFrames display advertisements, the proceeds from which go directly to the charity of your choice. At present, all money goes to the charity chosen by the Webmaster, but the plan is to give everyone some say in where the money goes. To do this, a range of browser plugins and apps are being developed that will allow users to choose a combination of charities that they would consider their ideal donation ratio. When they visit a Website with one of this software's ads embedded, it can record their preferences and then revenue can be divided up accordingly.
cupQ (a.k.a. "cupQuery") is an easy-to-use cross-browser JavaScript library which allows querying and manipulation of HTML DOM documents using standard selectors to get output as an array. Any cupQ method always returns results in the form of an array, so to track any individual values of the result, an index is used to specify the target item or node in the resulting array. By default, cupQ starts Querying the HTML DOM from the root or the "document" object element, but this can be customized to start querying from any specific node of the DOM by supplying "targetNode", which can be any document, any DOM node, or an array with nodes. cupQ can be used to execute getter/setters to target and manipulate different nodes and their attributes, styles, HTML, and text contents. Any cupQ object supports a plugin architecture, so it can be extended to add new features utilizing the existing ones.
Local Data is a PHP class which can store multiple values in a single cookie. It can set and get multiple values which use cookies to be shared between different server-side scripts. The values are stored in cookies encoded in the JSON format so they can be easily accessed with browser-side JavaScript code, preserving the original value data types. A JavaScript library is provided to set and get values stored this way in cookies.
/bin/js is a Bash/JavaScript-based shell scripting language. It is a mashup of JavaScript syntax with Bash one-liners which looks and feels like C/C++/Java. Shell scripts can be written with the shebang #!/bin/js, and all lines are executed as Bash commands. All code loops, switch statements, functions, and classes are written in JavaScript. JavaScript array syntax, number types, and i++ are supported, so the resulting shell scripts are easy to write and to read. Anyone who can write JavaScript and Linux commandline statements can write /bin/js scripts.
Science Quiz Bowl Challenge is a game of questions and answers. There are four topics: astronomy, biology, geology, and physics. After selecting a topic from the menu, a set of 10 questions are randomly presented, one by one, out from a pool of over 20 questions. The goal is to correctly answer as many questions as possible.