Changeset 2955459
- Timestamp:
- 08/18/2023 04:02:34 PM (3 years ago)
- Location:
- chatandbot/trunk
- Files:
-
- 2 edited
-
chatandbot.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chatandbot/trunk/chatandbot.php
r2860394 r2955459 6 6 * Plugin URI: https://chatandbot.com 7 7 * Author: ChatAndBot 8 * Version: 1. 18 * Version: 1.2 9 9 * 10 10 * Text Domain: chatandbot … … 94 94 if(isset($plugin_id_arr[1]) ){ 95 95 96 echo "<script async='true' type='text/javascript'>(function () { var _id = ". esc_attr($plugin_id_arr[0])."; var _aid = '".esc_attr($plugin_id_arr[1])."'; var d = document;var w = window;var title = d.title; var url = w.location.href; var _date = Date.now();var width=document.documentElement.clientWidth; var height=document.documentElement.clientHeight; function l(){ var s = document.createElement('script');s.type = 'text/javascript'; s.async = true;s.src = 'https://chatandbot.com/erl/web333?width='+width+'&height='+height+'&get_fr=1&title='+title+'&sid='+_id+'&aid='+_aid+'&date='+_date+'&url='+url;var ss = document.getElementsByTagName('script')[0];ss.parentNode.insertBefore(s, ss);}if (d.readyState == 'complete') {l();} else {if (w.attachEvent) {w.attachEvent('onload', l);} else { w.addEventListener('load', l, false);}}})()</script>";96 echo "<script async='true' type='text/javascript'>(function () { var _id = ". esc_attr($plugin_id_arr[0])."; var _aid = '".esc_attr($plugin_id_arr[1])."'; var d = document;var cab_user_param ='';var w = window;var title = encodeURIComponent(d.title); var url = w.location.origin+w.location.pathname; var _date = Date.now();var width=document.documentElement.clientWidth; var height=document.documentElement.clientHeight; function l(){ var s = document.createElement('script');s.type = 'text/javascript'; s.async = true;s.src = 'https://chatandbot.com/erl/web333?width='+width+'&height='+height+cab_user_param+'&get_fr=1&title='+title+'&sid='+_id+'&aid='+_aid+'&date='+_date+'&url='+url;var ss = document.getElementsByTagName('script')[0];ss.parentNode.insertBefore(s, ss);}if (d.readyState == 'complete') {l();} else {if (w.attachEvent) {w.attachEvent('onload', l);} else { w.addEventListener('load', l, false);}}})()</script>"; 97 97 98 98 } -
chatandbot/trunk/readme.txt
r2861439 r2955459 6 6 Tested up to: 6.1.1 7 7 Requires PHP: 5.6 8 Stable tag: 1. 18 Stable tag: 1.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 = 1.1 = 94 94 * Tags and FAQ. 95 = 1.2 = 96 * Now, when loading a chat, you can specify the desired user language. 95 97 96 98 97 99 98 99 100
Note: See TracChangeset
for help on using the changeset viewer.