ReCaptcha JS Alert

描述

A lightweight WordPress plugin providing the [recaptcha-js-alert] shortcode which may be used to display a notification text box if JavaScript required by reCAPTCHA is being blocked.

Next to the notification message text and the delay allowing to load the reCAPTCHA JavaScript code, the plugin offers configuration of background and foreground color, as well as the font size. Further customization can be achieved by means of custom CSS snippets.

The shortcode allows its configuration being overridden by the following parameters:

  • message: The notification message text
  • style: Custom CSS for displaying the message text
  • delay: The delay (in milliseconds) allowing the reCAPTCHA JavaScript code to load

螢幕截圖

  • Notification Message
  • Shortcode Usage in Page Editor
  • Plugin Settings

安裝

  1. Upload the plugin files to the /wp-content/plugins/recaptcha-js-alert 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->ReCaptcha JS Alert screen to configure the plugin.

常見問題

Does ReCaptcha JS Alert support multilingual sites?

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

I would like the notification text box being displayed differently. Would that be possible?

Sure. Additional CSS code may be entered into the Custom CSS input field in the configuration screen of the plugin. In order to completely overrride the generated CSS, the shortcode’s style parameter may be used.

The message box shows up even though no JavaScript is being blocked and the __reCAPTCHA__ challenge also shows up correctly.

Make sure the browser is allowed to access google.com and gstatic.com as reCAPTCHA requires to load its code from these domains.
Also make sure the delay specified in the plugin settings under Wait for reCAPTCHA or by the delay shortcode parameter is big enough to allow the reCAPTCHA JavaScript code to load. If the delay is too short, the plugin cannot find the corresponding page elements and thinks that loading the JavaScript code was blocked.

評價

There are no reviews for this plugin.

貢獻者及開發者

“ReCaptcha JS Alert” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

ReCaptcha JS Alert 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 ReCaptcha JS Alert 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • Resorted screenshots.
  • Fixed misplaced newlines.
  • Added another FAQ item.

1.0.0

  • Initial release.