<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>javascript on asdfasdfasdfasdfddd</title><link>https://academy.test.quriobot.com/tags/javascript/</link><description>Recent content in javascript on asdfasdfasdfasdfddd</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://academy.test.quriobot.com/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Can I control the bot programmatically?</title><link>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-control-the-bot-programmatically/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-control-the-bot-programmatically/</guid><description>Quriobot provides a basic Javascript API which you can use to control Quriobot&amp;rsquo;s behavior
Note: as we are actively developing it, new features are added as we go, but we always try to keep backward compatibility.
If you include widget code in your page, global quriobot object will be available and it has such methods:
quriobot.init (options) - initialize the bot if the explicit initialization was passed via widget URL API so your embed widget code will look like this: &amp;lt;script type=&amp;#34;text/javascript&amp;#34;&amp;gt; if (!</description></item><item><title>Can I execute JavaScript function as a bot step or response?</title><link>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-execute-javascript-function-as-a-bot-step-or-response/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-execute-javascript-function-as-a-bot-step-or-response/</guid><description>Yes, you can, it is as easy as choosing the special chat text type - Script:</description></item><item><title>Can I use JavaScript function result in the bot messages or responses?</title><link>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-use-javascript-function-result-in-the-bot-messages-or-responses/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://academy.test.quriobot.com/advanced-options-api-js-response-data-etc/can-i-use-javascript-function-result-in-the-bot-messages-or-responses/</guid><description>Using the Script variables, you can add your script variable with a JavaScript function calls to be used in Quriobot messages, options, responses, and response connections.</description></item><item><title>How can I start/stop or switch bots via my own website buttons?</title><link>https://academy.test.quriobot.com/how-to-build-an-advanced-bot/how-can-i-start-stop-or-switch-bots-via-my-own-website-buttons/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://academy.test.quriobot.com/how-to-build-an-advanced-bot/how-can-i-start-stop-or-switch-bots-via-my-own-website-buttons/</guid><description>This is quite easy to do with a bit of JavaScript magic in combination with the three JS functions to achieve this:
So, for example, say you have a button with which you want to start the bot and another one to hide (or stop) the bot. All you need is to combine the following 3 elements:
HTML page with those buttons. The describedJS functions (and in this example some AjaxJS via jQuery)</description></item></channel></rss>