• Hi Floating Contact Plugin Developer,
    I’m currently using your plugin on my site. It’s really useful and I LOVE IT so much.

    The reasons I like it because
    – Super Lightweight (PageSpeed)
    – Simplicity

    However, I would like to give you some improvement tips to the plugin. (as you open for feedback and I need the improvement too)[plus I’m lazy to code my self too]

    – Currently the plugin allowed us to place contact form shortcode. But unfortunetely, it might open up for spammers to spam over the site and submit contact form. The submit forms code and scripts are also runs everywhere even when we didn’t open the chat box.

    To prevent it, I suggest you to use add new function like iframe (lazy-loaded) or embed code instead of just shortcode. It can improve the page speed and also able to reduce spam. since the form scripts doesn’t load if we don’t open the chat. (lazyload)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ng Fang Kiang

    (@jorcus)

    I’ve tested with iframe. It seems doesn’t work that way. But, I tried to set #fcb-modal display none by default and use JS code to display it. when clicked the button

    Code eg:

    <style>#fcb-modal { display: none; } </style> 
    [wpforms id="13199" title="false"] 
    
    <script>var el = document.getElementsByClassName('fcb-link-button')[0]; el.onclick = function() {     document.getElementById('fcb-modal').style.display = "block"; };   if (window.location.href.indexOf("fcb-modal") > -1) {     document.getElementById('fcb-modal').style.display = "block"; }</script>

    and this works! Maybe I can do it with CSS when I have time. Set #fcb-modal display:none by default, and display:block when clicked on it. or url contains #fcb-modal

    After few tests. I think this doesn’t work. Just noticed that The WPforms CSS and JS scripts still run in background when the button didn’t clicked. I think need some custom work.

    Plugin Author Christoph Nagel

    (@cmsgeek)

    Hi @jorcus ,

    first of all thank you very much for your feedback.

    In my projects I usually use the Contact Form 7 in combination with the Google Captcha so that I could not detect any major spam attacks so far.

    You are absolutely right that it would be nicer if the corresponding scripts are loaded only when you have actually clicked the button and the modal opens. I would have to analyze this once, because many form plugins generally set their scripts globally after installation. Perhaps a solution can be found here nevertheless.

    Best regards,
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Improvement Feedback’ is closed to new replies.