Plugin Directory

Changeset 2326789


Ignore:
Timestamp:
06/18/2020 02:43:19 PM (6 years ago)
Author:
rightmessage
Message:

0.9.4: Tweak snippet code

Location:
rightmessage
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • rightmessage/tags/0.9.4/views/tracking-code.php

    r2125332 r2326789  
    1 <!-- RightMessage -->
     1<!-- RightMessage WP -->
    22<script type="text/javascript">
    33(function(p, a, n, d, o, b) {
    4     o = n.createElement('script'); o.type = 'text/javascript'; o.async = true; o.src = 'https://tag.rightmessage.com/'+p+'.js';
     4    o = n.createElement('script'); o.type = 'text/javascript'; o.async = true; o.src = 'https://tw.rightmessage.com/'+p+'.js';
    55    b = n.getElementsByTagName('script')[0]; b.parentNode.insertBefore(o, b);
    66    d = function(h, u, i) { var o = n.createElement('style'); o.id = 'rmcloak'+i; o.type = 'text/css';
     
    88        b.parentNode.insertBefore(o, b); return o; }; o = d('', '-hidden', ''); d('-stay-invisible', '-stay-hidden', '-stay');
    99    setTimeout(function() { o.parentNode && o.parentNode.removeChild(o); }, a);
    10 })('<?php echo $account_id ?>', 2500, document);
     10})('<?php echo $account_id ?>', 20000, document);
    1111</script>
  • rightmessage/tags/0.9.4/wp-rightmessage.php

    r2258921 r2326789  
    44 * Plugin URI: https://rightmessage.com/
    55 * Description: Integrate RightMessage into your website
    6  * Version: 0.9.3
     6 * Version: 0.9.4
    77 * Author: RightMessage
    88 * License: GPL2
  • rightmessage/trunk/views/tracking-code.php

    r2125332 r2326789  
    1 <!-- RightMessage -->
     1<!-- RightMessage WP -->
    22<script type="text/javascript">
    33(function(p, a, n, d, o, b) {
    4     o = n.createElement('script'); o.type = 'text/javascript'; o.async = true; o.src = 'https://tag.rightmessage.com/'+p+'.js';
     4    o = n.createElement('script'); o.type = 'text/javascript'; o.async = true; o.src = 'https://tw.rightmessage.com/'+p+'.js';
    55    b = n.getElementsByTagName('script')[0]; b.parentNode.insertBefore(o, b);
    66    d = function(h, u, i) { var o = n.createElement('style'); o.id = 'rmcloak'+i; o.type = 'text/css';
     
    88        b.parentNode.insertBefore(o, b); return o; }; o = d('', '-hidden', ''); d('-stay-invisible', '-stay-hidden', '-stay');
    99    setTimeout(function() { o.parentNode && o.parentNode.removeChild(o); }, a);
    10 })('<?php echo $account_id ?>', 2500, document);
     10})('<?php echo $account_id ?>', 20000, document);
    1111</script>
  • rightmessage/trunk/wp-rightmessage.php

    r2258921 r2326789  
    44 * Plugin URI: https://rightmessage.com/
    55 * Description: Integrate RightMessage into your website
    6  * Version: 0.9.3
     6 * Version: 0.9.4
    77 * Author: RightMessage
    88 * License: GPL2
Note: See TracChangeset for help on using the changeset viewer.