• Resolved rsmith4321

    (@rsmith4321)


    I was wondering if there was a filter that could enable the right click on galleries. I see it’s a checkbox for the pro version, I don’t mind paying for the pro version I’ve purchased it several times. However, I actually prefer the free version because it has fewer scripts and styles that were for features I don’t use. I really just want the free plugin features with the ability to right click. It actually seems like it might should be opposite, make the disable right click an upgrade option. Thanks for the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rsmith4321

    (@rsmith4321)

    I actually fixed it myself in a way, looking at the minimized code it was too complicated for me to remove things, but I just changed the galleries.js to the following and it seems to work, I just know it will be changed back on plugin updates so I don’t know if there is a better solution.

    {"use strict";var o=e(849);e(958),e(415);var t=o.Z.right_click;console.log(o.Z),t&&document.querySelectorAll(".nothing").forEach((function(o){o.addEventListener("contextmenu",(function(o){o.preventDefault()}))}))})()})();

    Thread Starter rsmith4321

    (@rsmith4321)

    Never mind about this question. I realized I actually wanted to use the pro slider for a project I’m working on so I just switched to the pro version. I’m just curious why the javascript is so much larger for the gallery pro. I notice the extra javascript file it loads is 46kb. Perhaps in a future update you could make a way to disable some features to shrink this extra script a bit. Thanks for the help!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @rsmith4321,

    I am actually going to optimize it, and bundling it all together will actually make a much smaller kb. Will make this all better, but it will take 2-3 months until this brand new version! It will bring a lot of new features as well (the plugin will be much more modular and adaptable).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Right click disabled’ is closed to new replies.