Login   Register  
PHP Classes
elePHPant
Icontem

jsCheck

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Gustav Eklundh
Name: Gustav Eklundh <e-mail contact>
Packages: 3 Browse all classes by Gustav Eklundh Browse all classes by
Country: Sweden Sweden - PHP jobs in Sweden
Age: 23
All time rank: 117511 in Sweden Sweden
Week rank: 2187 Down16 in Sweden Sweden Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to check whether Javascript is enabled in the browser.

It can generate a HTML form with Javascript to automatically submit it when the page is load.

The class can set cookies or session variables to avoid the need to generate the form to check again if the browser has Javascript enabled.

  Classes of Gustav Eklundh  >  jsCheck  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: jsCheck
Base name: jscheck
Description: Check whether Javascript is enabled in the browser
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 906 users
All time rank: 3443
Week users: 0 users
Week rank: 2074 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2009
Number 6

Prize: One subscription to the PDF edition of the PHP Architect magazine
Some sites implement features that depend on Javascript libraries or embeddable elements that need Javascript to properly integrate them on the page.

However, sometimes Javascript support is disabled on the browser for some reason.

This class provides a solution to detect whether Javascript is enabled on the browser, so the applications can display alternative content or show messages to tell the user that enabling Javascript support is necessary.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Sufficient (75.0%)
Sufficient (66.7%)
Good (91.7%)
-
-
Sufficient (60.8%)
783
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
http://threebyte.eu/2009/03/14/two-methods-of-detecting-javascript-through-php/ My blog-post where I first announced the script.

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.jscheck.php Class The class itself.
Accessible without login Plain text file example.php Example Example on how to use the class.
Plain text file readme.txt Doc. Documentation on how to use the class
Plain text file LICENSE Lic. The GPL v3 license

Download all files: jscheck.tar.gz jscheck.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.