Changeset 3288341
- Timestamp:
- 05/06/2025 10:00:36 AM (11 months 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
r2955459 r3288341 6 6 * Plugin URI: https://chatandbot.com 7 7 * Author: ChatAndBot 8 * Version: 1. 28 * Version: 1.3 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 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>";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 =''; if (typeof chatandbot_add_params !== 'undefined'){cab_user_param+=chatandbot_add_params;}; 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
r3147624 r3288341 4 4 Tags: live chat, chatbot, live support, livechat, chat software 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 6.16 Tested up to: 6.8.1 7 7 Requires PHP: 5.6 8 8 Stable tag: 1.2 … … 95 95 = 1.2 = 96 96 * Now, when loading a chat, you can specify the desired user language. 97 = 1.3 = 98 * Now, when loading a chat, you can specify the desired user language by js. 97 99 98 100
Note: See TracChangeset
for help on using the changeset viewer.