Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Enfold – Upcoming fixes #1155631

    Hi,

    this is Jurek from Sott-Media. The current bugfix for the consent the javascript error still is not working in Safari.

    Instead you should change avia-snippet-cookieconsent.js in the following way in line 627 following:

    		function check_doNotTrack()
    		{
    			if( window.doNotTrack || navigator.doNotTrack || navigator.msDoNotTrack || 'undefined' != typeof window.external && 'msTrackingProtectionEnabled' in window.external ) 

    Added is ‘undefined’ != typeof window.external &&.

    The object window.external does not exist at all in Safari’s javascript. It is a good idea in general to always check for mainobject-existence when it comes to window. or navigator..

    Here is a reference how to properly read Safari no-track setting, in case you want to add it then:
    https://dev.to/corbindavenport/how-to-correctly-check-for-do-not-track-with-javascript-135d

    • This reply was modified 5 years, 1 month ago by Sott-Media.
    in reply to: Lightbox Modal Window #963057

    dirty fix in enfold function

    inline 377

    //lightbox inclusion
    $condition = !empty($avia_config[‘use_standard_lightbox’]) && ( ‘disabled’ != $avia_config[‘use_standard_lightbox’] );

    set to:

    // dirty fix
    $condition = true;

    Lightbox is working !

    ;-)

    • This reply was modified 6 years, 7 months ago by Sott-Media.
Viewing 2 posts - 1 through 2 (of 2 total)