Changeset 2097189
- Timestamp:
- 05/29/2019 11:55:26 AM (7 years ago)
- Location:
- instant
- Files:
-
- 4 edited
- 1 copied
-
tags/2.4 (copied) (copied from instant/trunk)
-
tags/2.4/readme.txt (modified) (2 diffs)
-
tags/2.4/unless.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/unless.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
instant/tags/2.4/readme.txt
r1977411 r2097189 3 3 Tags: Personalization, CRO, Conversion Rate Optimization, Ad Revenue, Adwords, Ads, SEA, Online Marketing, Symmetric Messaging, SaaS 4 4 Requires at least: 3.0.1 5 Tested up to: 4.9.46 Stable tag: 2. 35 Tested up to: 5.2.1 6 Stable tag: 2.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 2.2 - added DNS preconnect for script and API domain 67 67 2.3 - now it remembers the account id after deactivation 68 2.4 - slightly different snippet, with 404 unlock feature 68 69 69 70 == Upgrade Notice == -
instant/tags/2.4/unless.php
r1977411 r2097189 46 46 if (get_option('unless_data')) { 47 47 $output="<!-- Added by Unless for Wordpress --> 48 <script>(function(p,e,r,s,o,n,i,f,y){n=p.getElementsByTagName(e)[0];function m(a,t,h){(i=p.createElement('link')).rel=t?'preload':'preconnect',i.href=a,i.crossOrigin=t?null:'anonymous',h?i.as=h:null,n.parentNode.insertBefore(i,n)};m(r+s);m(r+s+o,!0,e);m(r+'global.'+s);f=p.documentElement,f.style.opacity=0,setTimeout(function(){f.style.opacity=''},3e3);(y=p.createElement(e)).src=r+s+o,y.async=!0,n.parentNode.insertBefore(y,n)})(document,'script','https://','unless.com','/js/v5/latest/txt.min.js?id=" . trim(get_option('unless_data')) . "')</script>48 <script>(function(p,e,r,s,o,n,i,f,y){n=p.getElementsByTagName(e)[0];function z(){f.style.opacity=''}function m(a,t,h){i=p.createElement('link');i.rel=t?'preload':'preconnect';i.href=a;i.crossOrigin=t?null:'anonymous';if(h){i.as=h}n.parentNode.insertBefore(i,n)}m(r+s);m(r+s+o,!0,e);m(r+'global.'+s);f=p.documentElement;f.style.opacity=0;setTimeout(z,3e3);y=p.createElement(e);y.src=r+s+o;y.async=!0;y.onerror=z;n.parentNode.insertBefore(y,n)})(document,'script','https://','unless.com','/js/v5/latest/txt.min.js?id=" . trim(get_option('unless_data')) . "')</script> 49 49 <!-- End Unless Code -->"; 50 50 echo $output; -
instant/trunk/readme.txt
r1977411 r2097189 3 3 Tags: Personalization, CRO, Conversion Rate Optimization, Ad Revenue, Adwords, Ads, SEA, Online Marketing, Symmetric Messaging, SaaS 4 4 Requires at least: 3.0.1 5 Tested up to: 4.9.46 Stable tag: 2. 35 Tested up to: 5.2.1 6 Stable tag: 2.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 2.2 - added DNS preconnect for script and API domain 67 67 2.3 - now it remembers the account id after deactivation 68 2.4 - slightly different snippet, with 404 unlock feature 68 69 69 70 == Upgrade Notice == -
instant/trunk/unless.php
r1977411 r2097189 46 46 if (get_option('unless_data')) { 47 47 $output="<!-- Added by Unless for Wordpress --> 48 <script>(function(p,e,r,s,o,n,i,f,y){n=p.getElementsByTagName(e)[0];function m(a,t,h){(i=p.createElement('link')).rel=t?'preload':'preconnect',i.href=a,i.crossOrigin=t?null:'anonymous',h?i.as=h:null,n.parentNode.insertBefore(i,n)};m(r+s);m(r+s+o,!0,e);m(r+'global.'+s);f=p.documentElement,f.style.opacity=0,setTimeout(function(){f.style.opacity=''},3e3);(y=p.createElement(e)).src=r+s+o,y.async=!0,n.parentNode.insertBefore(y,n)})(document,'script','https://','unless.com','/js/v5/latest/txt.min.js?id=" . trim(get_option('unless_data')) . "')</script>48 <script>(function(p,e,r,s,o,n,i,f,y){n=p.getElementsByTagName(e)[0];function z(){f.style.opacity=''}function m(a,t,h){i=p.createElement('link');i.rel=t?'preload':'preconnect';i.href=a;i.crossOrigin=t?null:'anonymous';if(h){i.as=h}n.parentNode.insertBefore(i,n)}m(r+s);m(r+s+o,!0,e);m(r+'global.'+s);f=p.documentElement;f.style.opacity=0;setTimeout(z,3e3);y=p.createElement(e);y.src=r+s+o;y.async=!0;y.onerror=z;n.parentNode.insertBefore(y,n)})(document,'script','https://','unless.com','/js/v5/latest/txt.min.js?id=" . trim(get_option('unless_data')) . "')</script> 49 49 <!-- End Unless Code -->"; 50 50 echo $output;
Note: See TracChangeset
for help on using the changeset viewer.