该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Google Maps Click'n Load for Divi (GDPR)

描述

The Maps Click’n Load Plugin prevents the automatic load of Google Maps scripts and waits for an active user click to activate the interactive map.

How it works

The slim plugin code simply hooks into the “script_loader_tag” filter and adds code to defer the script execution.

Disclaimer

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

屏幕截图

  • Goole Maps was deferred and the user sees a placeholder.
  • Same as 1. but in german.

安装

Upload, activate and done. Once active, Maps Click’n Load will automatically defer Google Maps until the user actively agrees.

More info on how to install WordPress plugins

评价

2019年4月3日
Thanks dude! Customer was annoying me and voila i searched and you released this 6 minutes before my search! THANKS. I'll buy you a beer
阅读所有3条评价

贡献者及开发者

“Google Maps Click'n Load for Divi (GDPR)” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Google Maps Click'n Load for Divi (GDPR)”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Google Maps Click'n Load for Divi (GDPR)”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • initial release