Title: JavaScript Notifier
Author: freemp
Published: <strong>26 Tháng 5, 2018</strong>
Last modified: 21 Tháng 8, 2026

---

Tìm kiếm plugin

![](https://s.w.org/plugins/geopattern-icon/javascript-notifier.svg)

# JavaScript Notifier

 Bởi [freemp](https://profiles.wordpress.org/freemp/)

[Tải về](https://downloads.wordpress.org/plugin/javascript-notifier.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/javascript-notifier/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/javascript-notifier/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/javascript-notifier/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/javascript-notifier/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/javascript-notifier/)

## Mô tả

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.

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.

## Ảnh màn hình

[⌊Notification Bar⌉⌊Notification Bar⌉[

Notification Bar

[⌊Blocking Mode Enabled⌉⌊Blocking Mode Enabled⌉[

Blocking Mode Enabled

[⌊Plugin Settings⌉⌊Plugin Settings⌉[

Plugin Settings

## Cài đặt

 1. Upload the plugin files to the `/wp-content/plugins/javascript-notifier` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->JavaScript Notifier screen to configure the plugin

## Hỏi đáp

### Does JavaScript Notifier support multilingual sites?

Yes, it does. A corresponding `wpml-config.xml` language configuration file can 
be found in the plugin’s home directory.

### Instead at the top, I would like to have the notification bar being displayed at the bottom of the page. Would that be possible?

Sure. Just enter the following CSS code into the Custom CSS input field: `top:inherit;
bottom:0`

### Does JavaScript Notifier cope with optimization plugins?

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 `hide-javascript-notifier-
js`, the easiest way would be to add that label to the optimization plugin’s JavaScript
exclusion list, or the like.

## Đánh giá

![](https://secure.gravatar.com/avatar/a334635ed30d77af4ef4c418e421ac9af1c44a88b28bdbc00097f5007f44859a?
s=60&d=retro&r=g)

### 󠀁[Cool](https://wordpress.org/support/topic/cool-1311/)󠁿

 [Hoek](https://profiles.wordpress.org/hoeczek/) 26 Tháng 7, 2024

Great plugin. Friendly and good support. Fully recommend.

![](https://secure.gravatar.com/avatar/f12c2ea9e38af5f8a0f8dac1fe56d6c312b841f45d0a0402a8de2364e7a635c5?
s=60&d=retro&r=g)

### 󠀁[Just works](https://wordpress.org/support/topic/just-works-715/)󠁿

 [David H](https://profiles.wordpress.org/everyhomeshouldhaveone/) 21 Tháng 6, 2022

Needed to warn users that JavaScript is essential for some pages. Found this, installed
and activated it. Works a treat. Very simple to set up.

 [ Đọc tất cả 2 đánh giá ](https://wordpress.org/support/plugin/javascript-notifier/reviews/)

## Người đóng góp & Lập trình viên

“JavaScript Notifier” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ freemp ](https://profiles.wordpress.org/freemp/)

“JavaScript Notifier” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/javascript-notifier/contributors)
vì đóng góp của họ.

[Dịch “JavaScript Notifier” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/javascript-notifier)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/javascript-notifier/), check
out [SVN repository](https://plugins.svn.wordpress.org/javascript-notifier/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/javascript-notifier/)
qua [RSS](https://plugins.trac.wordpress.org/log/javascript-notifier/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.2.9

 * Added proper escaping of input field contents.

#### 1.2.8

 * Fixed undefined array key warning. Suggested by @hoeczek. Thanks!
 * Adapted admin script enqueue handle for actual file name.

#### 1.2.7

 * Minor optimization.
 * Adapted screenshots for latest version.

#### 1.2.6

 * Increased callback priority.
 * Resorted plugin settings.

#### 1.2.5

 * Opened plugin for translations.
 * Removed translations from plugin directory.

#### 1.2.4

 * Updated translations.

#### 1.2.3

 * Replaced outdated JavaScript mime type.

#### 1.2.2

 * Fixed WPML translations configuration.
 * Optimized options conversion.

#### 1.2.1

 * Fixed options conversion failure after upgrading.

#### 1.2.0

 * Detached admin code from main plugin functionality.
 * Moved settings into single option array entry.
 * Changed font size unit from ’em’ to percent.

#### 1.1.1

 * Moved JavaScript and CSS into page footer.

#### 1.1.0

 * Added input field for custom CSS.

#### 1.0.1

 * Added translation for initial notification message.
 * Added ID for inline JavaScript, e.g. if required for excluding from optimization.

#### 1.0.0

 * Initial release

## Meta

 *  Phiên bản **1.2.9**
 *  Cập nhật lần cuối **1 tháng trước**
 *  Số lượt cài đặt **60+**
 *  Phiên bản WordPress ** 3.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.2**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/javascript-notifier/) và [German](https://de.wordpress.org/plugins/javascript-notifier/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/javascript-notifier)
 * Thẻ
 * [disabled](https://vi.wordpress.org/plugins/tags/disabled/)[javascript](https://vi.wordpress.org/plugins/tags/javascript/)
   [notification](https://vi.wordpress.org/plugins/tags/notification/)[test](https://vi.wordpress.org/plugins/tags/test/)
   [warning](https://vi.wordpress.org/plugins/tags/warning/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/javascript-notifier/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/javascript-notifier/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/javascript-notifier/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/javascript-notifier/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/javascript-notifier/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/javascript-notifier/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/javascript-notifier/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/javascript-notifier/reviews/)

## Những người đóng góp

 *   [ freemp ](https://profiles.wordpress.org/freemp/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/javascript-notifier/)