{"id":86329,"date":"2018-05-26T10:20:51","date_gmt":"2018-05-26T10:20:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/javascript-notifier\/"},"modified":"2026-01-29T17:22:15","modified_gmt":"2026-01-29T17:22:15","slug":"javascript-notifier","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/javascript-notifier\/","author":14167768,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.9","stable_tag":"trunk","tested":"6.9.4","requires":"3.8","requires_php":"","requires_plugins":null,"header_name":"JavaScript Notifier","header_author":"freemp","header_description":"Notify visitors of your website if 1st-party JavaScript is disabled. Block entire site, if required.","assets_banners_color":"","last_updated":"2026-01-29 17:22:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/javascript-notifier","header_author_uri":"https:\/\/profiles.wordpress.org\/freemp","rating":5,"author_block_rating":0,"active_installs":60,"downloads":2148,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"rel-1.1":{"tag":"rel-1.1","author":"freemp","date":"2018-07-16 14:23:59"}},"upgrade_notice":{"1.2.9":"<ul>\n<li>Added proper escaping of input field contents.  Upgrade immediately.<\/li>\n<\/ul>","1.2.2":"<ul>\n<li>Fixes broken WPML translations configuration.  Upgrade required for multilingual sites.<\/li>\n<\/ul>","1.2.1":"<ul>\n<li>Fixes an option conversion issue.  Upgrade immediately.<\/li>\n<\/ul>","1.1.1":"<ul>\n<li>Fixes a stability issue.  Upgrade immediately.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["rel-1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1881977,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1881977,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2576274,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Notification Bar","2":"Blocking Mode Enabled","3":"Plugin Settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23087,229,1159,586,2708],"plugin_category":[59],"plugin_contributors":[157179],"plugin_business_model":[],"class_list":["post-86329","plugin","type-plugin","status-publish","hentry","plugin_tags-disabled","plugin_tags-javascript","plugin_tags-notification","plugin_tags-test","plugin_tags-warning","plugin_category-utilities-and-tools","plugin_contributors-freemp","plugin_committers-freemp"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/javascript-notifier.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/javascript-notifier\/assets\/screenshot-1.png?rev=1881977","caption":"Notification Bar"},{"src":"https:\/\/ps.w.org\/javascript-notifier\/assets\/screenshot-2.png?rev=1881977","caption":"Blocking Mode Enabled"},{"src":"https:\/\/ps.w.org\/javascript-notifier\/assets\/screenshot-3.png?rev=2576274","caption":"Plugin Settings"}],"raw_content":"<!--section=description-->\n<p>A simple, lightweight WordPress plugin for displaying a notification bar at the top of the webpage if 1st-party JavaScript is disabled. If appropriate, the entire website may as well be blocked by a full-page overlay instead of just a small bar.<\/p>\n\n<p>The plugin offers configuration of background and foreground color, opacity, notification message text and font size. Individual customization by means of CSS snippets is also supported.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/javascript-notifier<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;JavaScript Notifier screen to configure the plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20javascript%20notifier%20support%20multilingual%20sites%3F\"><h3>Does JavaScript Notifier support multilingual sites?<\/h3><\/dt>\n<dd><p>Yes, it does. A corresponding <code>wpml-config.xml<\/code> language configuration file can be found in the plugin's home directory.<\/p><\/dd>\n<dt id=\"instead%20at%20the%20top%2C%20i%20would%20like%20to%20have%20the%20notification%20bar%20being%20displayed%20at%20the%20bottom%20of%20the%20page.%20would%20that%20be%20possible%3F\"><h3>Instead at the top, I would like to have the notification bar being displayed at the bottom of the page. Would that be possible?<\/h3><\/dt>\n<dd><p>Sure. Just enter the following CSS code into the Custom CSS input field: <code>top:inherit;bottom:0<\/code><\/p><\/dd>\n<dt id=\"does%20javascript%20notifier%20cope%20with%20optimization%20plugins%3F\"><h3>Does JavaScript Notifier cope with optimization plugins?<\/h3><\/dt>\n<dd><p>In order to work flicker-free, JavaScript Notifier requires one short piece of inline JavaScript code to remain in its exact place. Therefore, it should be excluded from all kind of optimization. Since the code piece is labelled <code>hide-javascript-notifier-js<\/code>, the easiest way would be to add that label to the optimization plugin's JavaScript exclusion list, or the like.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>Added proper escaping of input field contents.<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>Fixed undefined array key warning. Suggested by @hoeczek. Thanks!<\/li>\n<li>Adapted admin script enqueue handle for actual file name.<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>Minor optimization.<\/li>\n<li>Adapted screenshots for latest version.<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>Increased callback priority.<\/li>\n<li>Resorted plugin settings.<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>Opened plugin for translations.<\/li>\n<li>Removed translations from plugin directory.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Updated translations.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Replaced outdated JavaScript mime type.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed WPML translations configuration.<\/li>\n<li>Optimized options conversion.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed options conversion failure after upgrading.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Detached admin code from main plugin functionality.<\/li>\n<li>Moved settings into single option array entry.<\/li>\n<li>Changed font size unit from 'em' to percent.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Moved JavaScript and CSS into page footer.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added input field for custom CSS.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added translation for initial notification message.<\/li>\n<li>Added ID for inline JavaScript, e.g. if required for excluding from optimization.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"JavaScript Notifier allows you to inform visitors that your website requires JavaScript.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86329"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/freemp"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86329"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86329"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86329"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86329"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86329"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}