• Resolved Grzegorz.Janoszka

    (@grzegorzjanoszka)


    I am a happy user of this plugin and I find it very good. Too good sometimes ??

    I noticed that the comment protection adds some nounce or other random characters to function names and I get:

    function checkN23Kf25vn4Nzmix() {
    if( cbN23Kf25vn4Nzmix.checked != true ) {

    As this is very good for spam protection, it screws up my js optimization plugin – it creates hundreds of different versions of js file one for each nounce or random string.

    I know it would decrease the protection, but is it possible that you add a checkbox to disable those random characters entirely? I prefer slightly lower spam protection if it helps my page to load fast.

    Thank you for considering it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul

    (@paultgoodchild)

    I could probably provide you with a WordPress filter, to which you’d just pass in a value that would turn on/off this randomisation. This is a very unique case and I wouldn’t be keen to make a plugin option out of it.

    Let me know if that suits.

    Thread Starter Grzegorz.Janoszka

    (@grzegorzjanoszka)

    Paul,

    Filter suits me well, not a problem with that. Blazing fast support!

    Thread Starter Grzegorz.Janoszka

    (@grzegorzjanoszka)

    I think even better solution would be to have the filter not to enable or disable the randomization, but the filter may return the random string. This way I can disable it (return empty string) or I can steer it, like have one new string per month.

    Thank you in advance for considering it!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Random values in function names’ is closed to new replies.