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.

评价

此插件暂无评价。

贡献者及开发者

“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.