=== Browser Rejector === Contributors: celloexpressions Tags: browser, browsers, rejector, rejecter, reject, rejection, browser reject, modern browser, html5, css3, modernizer Requires at least: 3.3.0 Tested up to: 3.4.2 Stable tag: 2.09 Description: Notify site visitors that they are using an outdated web browser, so the website may not display properly. Optionally block access. License: GPLv2 == Description == The browser rejector plugin allows web designers to embrace emerging html5 and css3 technologies by blocking access or requiring an outdated browser acknowledgement to access your site, thus greatly reducing the need for backward compatibility measures. The rejection window overlays your website with a semi-transparent layer, and alternative browsers are dynamically suggested based on the current browser/OS (no Safari on Windows, no IE on Mac). Google Chrome Frame is offered for Internet Explorer users, and can be installed on locked-down systems; rendering pages as chrome does within any version of IE. The browsers are listed with icons and either the most-recent version or the solid html5 version+ (ex. IE9+) is displayed. Browsers to reject are chosen with checkboxes in the admin interface, with general html5/css3 compatibility listed inline. CSS classes (OS, Browser/Version, Rendering Engine/Version) are added to the html element as well, to allow for browser-specific styling. This plugin is also great for anyone who want to help push the web forward by encouraging (or requiring) visitors to update to modern browser technology. Updates are released frequetly to list newer browser versions as they become available. The plugin defaults to rejecting all non-html5-compatible browsers, so it's a quick install if you have limited time. Based on the jreject jquery plugin by Steven Bower. Please feel free to offer any feature suggestions you might have and I WILL consider them for future releases. == Installation == 1. Take the easy route and install through the wordpress plugin adder :) OR 1. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Make sure that your theme has the 1` and `` action hooks, which are used for tasks relating to Internet Explorer (chrome frame is automatically activated, among other things) 1. Choose the browsers to reject and set the rejection window text, OR sit back and relax with the defaults. == Frequently Asked Questions == = What If I only Want to Block IE6? = No problem, just uncheck all of the other browsers in the Browsers to Reject tab. = What if I want to completely block some browsers, but only show a warning for others? = Set the plugin to allow visitors to close the window. At the bottom of the page an option to reject ie6/7/firefox 3 completely. If you want to completely block others, it's super easy using CSS. Simply put, for example, `.firefox4 #jr_close { display: none; }` in a css file or tag somewhere, where .firefox4 is the equivilant for the browser you want to block completely (the class added to the html element). = Old Internet Explorer Disclaimer = As of version 2.05, IE6 and 7 are fully supported, so you no longer need to worry about the previous issues it had. IE5 is not supported at all, but no one uses it. = Where's the settings page? = It's under settings: Settings -> Browser Rejector. And on a side note, the tabs on the settings page are showing different parts of the same page, not refreshing the browser, so you can switch between tabs without needing to save (and you are always returned to the rejection window tab when saving). = Can I target OS versions with the CSS classes? = Unfortunately, no. If it were possible, IE would be blocked on Windows XP as IE9 is not available there. If anyone has a suggestion for how to accomplish this, please let me know! I might look into grabbing the Windows NT 6.x, etc. part of the user agent string... = Why isn't Safari offered on Windows? = As of Safari 6, Apple has (apparently) stopped development of Safari for Windows. Safari for Windows was never a serious contender compared with the other browsers anyway. = Opera? And what about Konqueror? = The Opera browser is much less known than Chrome, IE, Firefox, and Safari, but it does have some market share and is a solid modern browser around the IE9/Firefox overall quality level. Konqueror is a Linux broswer and is not included in the plugin options because it is so little-used. Versions 1-3 are rejected by the plugin, however. == Screenshots == 1. Default rejection window view (on Windows 7 in Chrome, so no Safari or Chrome Frame) 2. Admin Screens 3. Admin Screens == Changelog == = 2.09 = * Updated Internet Explorer Version to 10 * Updated Firefox Version to 16 = 2.08 = * Added German translation (thanks to Axel Kriewel for providing) * Placed the chromeframe activation tag in a conditional comment so the code validates (it only does stuff on IE anyway) * Fixed IE link (Microsoft changed the url) * Translations of browser names are now displayed in the output as well as the preview (names usually aren't translated, but for when they are) * Fixed issue where an extra page opened every time a browser icon was clicked, this was something residual from the jreject jquery plugin * Ability to reject IE9 has been implemented (in comments) in anticipation of IE10, to be released later this month. This ability will remain commented out because there is little good reason to block IE 9, but is there in case you need to distinguish between 9 and 10. * Fixed a couple other minor bugs = 2.07 = * Fixed minor versioning error * Updated Google Chrome to version 22 = 2.06 = * Fixed a HUGE bug, and removed a ton of associated workarounds and bugs for IE 6 and 7 * Switched the icon set to not using transparent PNGs, because of a lack of suport by IE6 :( they are still PNGs which is the best graphics format for these icons though * Improved the option to completely block access only on certain browsers, you can now choose ie6/7 and firefox3 independently (option is available only when allowing visitors to close the window universally) * Removed dependence on wp_footer action hook, only wp_head is required now * Officially dropping all suport for IE5 (which no one uses), as it isn't supported by jQuery * Firefox version actually updated to 15 (oops!) * Added the ability to translate (use the .pot and send me the .po and .mo if you'd like to help out) * Wrote Spanish Translation (es_ES and es_PE) * Added Persian Translation (thanks to Rezaei for writing) = 2.05 = * Fixed several minor bugs. Thanks to everyone who pointed them out either through the support forums or email! = 2.03 = * Added ability to let users close the rejection window on all browsers except IE6/7; this allows for greater flexibility depending on the severity of browser deprecation... = 2.02 = * Firefox version displays updated to 15. I know these details are somewhat OCD, but I will try to keep these updated as new browser versions are released. Let me know if I miss a release. Most future updates will be of this type. = 2.01 = * Fixed a long list of bugs regarding rejection window display in Internet Explorer 6 and 7 * After studies with IE5, it has been determined that it will not be supported by this plugin actively. The browser is rejected, but the rejection window display is... weird (not that ANYONE uses IE5 anyway) = 2.00 = * Fixed major bug with rejection in IE 6 and 7. * Automatically includes the code to render the site in chrome frame (when installed in IE), wp_head and wp_footer action hooks are now required * A couple other minor adjustments = 1.00 = * First publically available version of the plugin. * Compatible with Wordpress 3.3.0 through 3.4.0 * Listed browser versions include: Chrome 21, IE9, Firefox 14, Opera 12, and Safari 6 == Upgrade Notice == = 2.09 = * Updated Firefox version to 16 and IE version to 10.