CINXE.COM
Roundcube Webmail Downloads
<!DOCTYPE html> <html lang="en" class="h-100" data-bs-theme="light"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Roundcube Webmail Downloads</title> <meta name="keywords" content="round,cube,roundcube,webmail,email,mail,client,software,solution,application,imap,php,open source,free,github,development"> <meta name="description" content="Free and open source webmail software for the masses, written in PHP"> <meta name="author" content="hello [at] roundcube dot net"> <meta name="copyright" content="Roundcube Webmail Dev Team"> <meta name="robots" content="index,follow"> <meta name="revisit-after" content="7 days"> <meta name="theme-color" content="#343a40"> <meta name="msapplication-navbutton-color" content="#343a40"> <link rel="canonical" href="https://roundcube.net/download/"> <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/all.min.css" integrity="sha384-h/hnnw1Bi4nbpD6kE7nYfCXzovi622sY5WBxww8ARKwpdLj5kUWjRuyiXaD1U2JT" crossorigin="anonymous"> <link rel="stylesheet" href="/styles/styles.min.css?v=2024021800"> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> <link rel="alternate" type="application/rss+xml" title="Roundcube News Feed" href="/feeds/atom.xml"> <script> var host = 'roundcube.net'; if ((host == window.location.host) && (window.location.protocol != 'https:')) { window.location.protocol = 'https'; } </script> </head> <body class="d-flex flex-column h-100"> <nav class="navbar navbar-expand-md bg-navbar fixed-top flex-wrap flex-md-nowrap" data-bs-theme="dark"> <div class="container-xxl"> <a class="navbar-brand" href="/"><img src="/images/roundcube_logo_icon.svg" width="40" height="40" alt="Roundcube - open source webmail software"></a> <button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="offcanvas offcanvas-end" id="navbarSupportedContent"> <div class="offcanvas-header p-4 pb-0"> <h5 class="offcanvas-title" id="offcanvasNavbarLabel">Roundcube</h5> <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button> </div> <div class="offcanvas-body p-4 pt-0 p-md-0"> <hr class="d-md-none text-white-50 my-3"> <ul class="navbar-nav me-auto flex-row flex-wrap"> <li class="nav-item col-6 col-md-auto"><a href="/about/" class="nav-link ">About</a></li> <li class="nav-item col-6 col-md-auto"><a href="/news/" class="nav-link ">News</a></li> <li class="nav-item col-6 col-md-auto"><a href="/screens/" class="nav-link ">Screenshots</a></li> <li class="nav-item col-6 col-md-auto"><a href="/download/" class="nav-link active">Download <span class="visually-hidden">(current)</span></a></li> <li class="nav-item col-6 col-md-auto"><a href="https://plugins.roundcube.net" class="nav-link" target="_blank">Plugins</a></li> <li class="nav-item col-6 col-md-auto"><a href="/support/" class="nav-link ">Support</a></li> <li class="nav-item col-6 col-md-auto"><a href="/contribute/" class="nav-link ">Contribute</a></li> </ul> <hr class="d-md-none text-white-50 my-3"> <ul class="navbar-nav flex-row flex-wrap ms-md-auto float-md-end"> <li class="nav-item col-6 col-md-auto"><a class="nav-link p-md-2" aria-label="GitHub" href="https://github.com/roundcube/roundcubemail" target="_blank" rel="noopener"><span class="fa-brands fa-github"></span><span class="d-md-none ps-2">GitHub</span></a></li> <li class="nav-item col-6 col-md-auto"><a class="nav-link p-md-2" aria-label="DockerHub" href="https://hub.docker.com/r/roundcube/roundcubemail/" target="_blank" rel="noopener"><span class="fa-brands fa-docker"></span><span class="d-md-none ps-2">Docker</span></a></li> <li class="nav-item col-6 col-md-auto"><a class="nav-link p-md-2" aria-label="X" href="https://x.com/roundcube" target="_blank" rel="noopener"><span class="fa-brands fa-x-twitter"></span><span class="d-md-none ps-2">X</span></a></li> </ul> </div> </div> </div> </nav> <main class="flex-shrink-0 container pb-5"> <h1>Download your version of Roundcube</h1> <h2 id="stable">Stable version - 1.6.10 <a class="anchor" href="#stable" aria-label="Link to this section: stable"></a></h2> <table class="table table-striped download-table"> <thead> <tr> <th class="package" scope="col">Package</th> <td class="link"></td> <th class="size text-nowrap" scope="col">Size</th> <th class="checksum" scope="col"><span class="d-none d-lg-inline">SHA-256 checksum</span></th> </tr> </thead> <tbody> <tr> <th class="package fw-normal" scope="row">Dependent<sup><a href="#fn1" class="text-body-secondary">1</a></sup></th> <td class="link text-center text-lg-start"><a href="https://github.com/roundcube/roundcubemail/releases/download/1.6.10/roundcubemail-1.6.10.tar.gz" title="Download now!" class="btn rc-icon btn-rc-download btn-sm"><span>Download</span></a></td> <td class="size text-nowrap">3.8 MB</td> <td class="checksum font-monospace text-nowrap text-center text-lg-start pe-3"> <span class="d-none d-lg-inline copy-popover-target"> <span class="copy-target d-block d-lg-inline text-nowrap overflow-auto py-3 py-lg-0">63f47ded363063c59a47031c1e3aca7e1df89254e7ce9dced699cdbfadd9d39f</span><span class="py-3 py-lg-0"><a class="copy-link" href="#" aria-label="Copy text"></a></span> </span> <a class="d-inline d-lg-none copy-popover-link checksum" href="#" aria-label="SHA-256 checksum" onclick="return false;" data-bs-title="SHA-256 checksum" data-bs-placement="left"></a> </td> </tr> <tr> <th class="package fw-normal" scope="row">Complete</th> <td class="link text-center text-lg-start"><a href="https://github.com/roundcube/roundcubemail/releases/download/1.6.10/roundcubemail-1.6.10-complete.tar.gz" title="Download now!" class="btn rc-icon btn-rc-download btn-sm"><span>Download</span></a></td> <td class="size text-nowrap">5.6 MB</td> <td class="checksum font-monospace text-nowrap text-center text-lg-start pe-3"> <span class="d-none d-lg-inline copy-popover-target"> <span class="copy-target d-block d-lg-inline text-nowrap overflow-auto py-3 py-lg-0">03cfac2f494dd99c25c35efb0ad4d333f248e32f25f4204fbc8f2731bfbaf0e4</span><span class="py-3 py-lg-0"><a class="copy-link" href="#" aria-label="Copy text"></a></span> </span> <a class="d-inline d-lg-none copy-popover-link checksum" href="#" aria-label="SHA-256 checksum" onclick="return false;" data-bs-title="SHA-256 checksum" data-bs-placement="left"></a> </td> </tr> <tr> <th class="package fw-normal" scope="row">Framework</th> <td class="link text-center text-lg-start"><a href="https://github.com/roundcube/roundcubemail/releases/download/1.6.10/roundcube-framework-1.6.10.tar.gz" title="Download now!" class="btn rc-icon btn-rc-download btn-sm"><span>Download</span></a></td> <td class="size text-nowrap">1.1 MB</td> <td class="checksum font-monospace text-nowrap text-center text-lg-start pe-3"> <span class="d-none d-lg-inline copy-popover-target"> <span class="copy-target d-block d-lg-inline text-nowrap overflow-auto py-3 py-lg-0">2cbdcc955ef0d47f9551d373ddce38401f70861b62beaff05720f56e1fde6575</span><span class="py-3 py-lg-0"><a class="copy-link" href="#" aria-label="Copy text"></a></span> </span> <a class="d-inline d-lg-none copy-popover-link checksum" href="#" aria-label="SHA-256 checksum" onclick="return false;" data-bs-title="SHA-256 checksum" data-bs-placement="left"></a> </td> </tr> </tbody> </table> <h2 id="lts">LTS versions <a class="anchor" href="#lts" aria-label="Link to this section: lts"></a></h2> <p class="text-body-secondary mb-1">Long Term Support with low maintenance mode. This means only security updates and rare fixes of serious issues will go into these release branches.</p> <table class="table table-striped download-table"> <thead> <tr> <th class="package" scope="col">Package</th> <td class="link"></td> <th class="size text-nowrap" scope="col">Size</th> <th class="checksum" scope="col"><span class="d-none d-lg-inline">SHA-256 checksum</span></th> </tr> </thead> <tbody> <tr> <th class="package fw-normal" scope="row">1.5.9 - Complete</th> <td class="link text-center text-lg-start"><a href="https://github.com/roundcube/roundcubemail/releases/download/1.5.9/roundcubemail-1.5.9-complete.tar.gz" title="Download now!" class="btn rc-icon btn-rc-download btn-sm"><span>Download</span></a></td> <td class="size text-nowrap">7.4 MB</td> <td class="checksum font-monospace text-nowrap text-center text-lg-start pe-3"> <span class="d-none d-lg-inline copy-popover-target"> <span class="copy-target d-block d-lg-inline text-nowrap overflow-auto py-3 py-lg-0">f0af30b8b3491c2d349344c4fdfb4fbbf0c16eefa73496c424f737e232ed13dc</span><span class="py-3 py-lg-0"><a class="copy-link" href="#" aria-label="Copy text"></a></span> </span> <a class="d-inline d-lg-none copy-popover-link checksum" href="#" aria-label="SHA-256 checksum" onclick="return false;" data-bs-title="SHA-256 checksum" data-bs-placement="left"></a> </td> </tr> </tbody> </table> <p id="fn1" class="text-body-secondary">1. Dependent packages only contain sources which are licensed under the GPL but they require some third-party packages to be installed along with Roundcube. All requirements are listed in the INSTALL instructions within the package file.</p> <h2 id="sources">Other sources and downloads <a class="anchor" href="#sources" aria-label="Link to this section: Other sources and downloads"></a></h2> <div class="row row-cols-1 row-cols-md-2 row-cols-lg-3"> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white"><span class="fa-brands fa-github fa-fw me-1"></span> GitHub</span> </div> <ul class="list-group list-group-flush"> <li class="list-group-item">All recent versions are listed on our <a href="https://github.com/roundcube/roundcubemail/releases" class="rc-icon external-link" target="_blank">GitHub releases</a> page - complete with release notes and signatures.</li> <li class="list-group-item">To get the bleeding edge development version check out the files directly from our <a href="https://github.com/roundcube/roundcubemail/" class="rc-icon external-link" target="_blank">GitHub repository</a>.</li> <li class="list-group-item">Archives of older releases can be found on <a href="https://sourceforge.net/projects/roundcubemail/files/" class="rc-icon external-link" target="_blank">sourceforge.net</a>.</li> </ul> </div> </div> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white"><span class="fa-brands fa-docker fa-fw me-1"></span> Docker</span> </div> <ul class="list-group list-group-flush"> <li class="list-group-item">The Roundcube Docker image is available on <a href="https://hub.docker.com/r/roundcube/roundcubemail/" class="rc-icon external-link" target="_blank">Docker Hub</a> as PHP-FPM service or complete webserver with Apache.</li> <li class="list-group-item">More information on Docker and a quick start guide is available in the <a href="https://docs.docker.com/" class="rc-icon external-link" target="_blank">Docker documentation</a>.</li> <li class="list-group-item">We provide <a href="https://github.com/roundcube/roundcubemail-docker/tree/master/examples" class="rc-icon external-link" target="_blank">examples</a> to run Roundcube with docker-compose or in Kubernetes.</li> <li class="list-group-item">Install one of the Roundcube Helm charts from <a href="https://artifacthub.io/packages/search?ts_query_web=roundcube&sort=relevance" class="rc-icon external-link" target="_blank">artifacthub.io</a></li> </ul> </div> </div> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white"><span class="fa-solid fa-box-open fa-fw me-1"></span> Other</span> </div> <ul class="list-group list-group-flush"> <li class="list-group-item">Roundcube can also be installed through auto installers like <a href="https://www.softaculous.com/" class="rc-icon external-link" target="_blank">softaculous.com</a> or <a href="https://www.cpanel.net/" class="rc-icon external-link" target="_blank">cPanel.</a></li> <li class="list-group-item">The <a href="https://bitnami.com/stack/roundcube" class="rc-icon external-link" target="_blank">BitNami Roundcube Stack</a> provides a one-click installer for various platforms and cloud services.</li> <li class="list-group-item">Via the <a href="https://cloudron.io/appstore.html?app=net.roundcube.cloudronapp" class="rc-icon external-link" target="_blank">Cloudron</a> app store. Each Cloudron is a fully equipped mail server and has sieve integration.</li> <li class="list-group-item">Various Unix/Linux distributions provide Roundcube via their package managers. Check your local package repository.</li> </ul> </div> </div> </div> <h2 id="pgp">PGP signatures for package verification <a class="anchor" href="#pgp" aria-label="Link to this section: PGP signatures for package verification"></a></h2> <p>Release tarballs listed above are signed with PGP to allow you to verify the authencity. We sign them with the identity <b>Roundcube Developers <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="137776656053617c667d77706671763d7d7667">[email protected]</a>></b> alias <b>41C4F7D5</b> and the public key can be downloaded from the <a href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0x5AB2BAA141C4F7D5" class="rc-icon external-link" target="_blank">pgp.mit.edu</a> keyserver or from <a href="/download/pubkey.asc" class="rc-icon asc-link">our website</a>. The signatures can be found with the according release item on the <a href="https://github.com/roundcube/roundcubemail/releases" class="rc-icon external-link" target="_blank">GitHub releases page</a>. </p> <p>After downloading the <a href="/download/pubkey.asc" class="rc-icon asc-link">pubkey</a> and the signature file, verify packages with</p> <p class="bg-quote px-3 pe-2 font-monospace d-flex"> <span class="copy-target d-block text-nowrap overflow-auto py-3 flex-grow-1">gpg --verify roundcubemail-<version>.tar.gz{.asc,}</span><span class="py-3"><a class="copy-link" href="#" aria-label="Copy text"></a></span> </p> <h2 id="installation">Installation and upgrading <a class="anchor" href="#installation" aria-label="Link to this section: Installation and upgrading"></a></h2> <ul> <li>Instructions on how to download and <a href="https://github.com/roundcube/roundcubemail/wiki/Installation" class="rc-icon external-link" target="_blank">install Roundcube</a> for the first time can be found in our Wiki.</li> <li>Continue reading how to <a href="https://github.com/roundcube/roundcubemail/wiki/Configuration" class="rc-icon external-link" target="_blank">configure</a> Roundcube and your webserver.</li> <li>See our <a href="https://github.com/roundcube/roundcubemail/wiki/Upgrade" class="rc-icon external-link" target="_blank">upgrading guide</a> for information about updating an existing Roundcube installation.</li> </ul> <h2 id="plugins">Plugins and skins <a class="anchor" href="#plugins" aria-label="Link to this section: Plugins and skins"></a></h2> <p>Roundcube uses <a href="https://getcomposer.org" class="rc-icon external-link" target="_blank">Composer</a> to manage add-ons and dependencies. Our <a href="https://plugins.roundcube.net/" class="rc-icon external-link" target="_blank">Plugins Repository</a> contains a list of plugins and instructions on how to install them and keep them up-to-date. As well as plugins you'll also find <a href="https://packagist.org/?type=roundcube-skin" class="rc-icon external-link" target="_blank">additional skins</a> available on Packagist.</p> <h2 id="packages">Complete email server packages with Roundcube <a class="anchor" href="#packages" aria-label="Link to this section: Complete email server packages with Roundcube"></a></h2> <div class="row row-cols-1 row-cols-md-2 row-cols-lg-3"> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white">Kolab Groupware</span> </div> <div class="card-body"> <p>The <a href="https://kolab.org" class="fw-bold" target="_blank">Kolab Groupware</a> Solution provides a complete email and groupware server pre-packaged for various linux distributions with Roundcube sitting on top as its web client. It offers easy configurable LDAP address books, calendars, tasks, mobile synchronization and more. An enterprise version with professional support is available from <a href="https://apheleia-it.ch" class="rc-icon external-link" target="_blank">Apheleia IT</a>.</p> </div> </div> </div> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white">iRedMail</span> </div> <div class="card-body"> <p><a href="https://www.iredmail.org" class="fw-bold" target="_blank">iRedMail</a> is another fully open source email server solution that lets you install a full-featured email server in a few minutes. It installs and configures the popular open source email components like Postfix, Dovecot, Amavisd and - of course Roundcube - on major Linux and BSD distrubutions.</p> </div> </div> </div> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white">Mail-in-a-Box</span> </div> <div class="card-body"> <p><a href="https://mailinabox.email" class="fw-bold" target="_blank">Mail-in-a-Box</a> turns a fresh cloud computer into a fully equipped, working mail server. The setup provides Roundcube webmail and an IMAP/SMTP server for use with mobile devices and desktop mail software. It also includes contacts and calendar synchronization.</p> </div> </div> </div> <div class="col my-3"> <div class="card h-100"> <div class="card-header bg-header"> <span class="text-white">mailcow</span> </div> <div class="card-body"> <p><a href="https://mailcow.email" class="fw-bold" target="_blank">mailcow</a> is an open source mail server suite for groupware/email purposes that can be installed in a fresh Debian/Ubuntu instance. It is powered by various open source mail server components (Dovecot, Postfix, ...) that can be administered in its modern web UI. It also comes with IMAP, POP3 and SMTP support as an alternative to Roundcube webmail.</p> </div> </div> </div> </div> </main> <footer class="text-body-secondary w-100 mt-auto pt-3 small bg-body-tertiary"> <div class="container"> <div class="row"> <div class="col-12 col-sm-6"> <ul class="m-0 p-0"> <li><a href="/support">Support</a></li> <li><a href="/contact">Contact</a></li> <li><a href="https://github.com/roundcube/roundcubemail/wiki/Howto-Report-Issues" class="rc-icon external-link" target="_blank" rel="noopener">Found a bug?</a></li> <li><a href="/license">License</a></li> <li class="mt-3"> <div class="color-modes dropend"> <a class="dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false"> <span class="fa-solid fa-palette me-1"></span> Switch theme </a> <ul class="dropdown-menu py-1"> <li><a class="dropdown-item px-2 pe-3 py-1 rc-icon light-mode" href="#" onclick="switch_color_mode('light'); return false;">Light theme</a></li> <li><a class="dropdown-item px-2 pe-3 py-1 rc-icon dark-mode" href="#" onclick="switch_color_mode('dark'); return false;">Dark theme</a></li> <li><a class="dropdown-item px-2 pe-3 py-1 rc-icon auto-mode current-theme" href="#" onclick="switch_color_mode('auto'); return false;">Auto detect</a></li> </ul> </div> </li> </ul> </div> <div class="col-12 col-sm-6 mt-4 mt-sm-0 text-sm-end"> <ul class="m-0 p-0"> <li><a aria-label="GitHub" href="https://github.com/roundcube/roundcubemail" target="_blank" rel="noopener"><img src="https://img.shields.io/github/stars/roundcube/roundcubemail?color=%23066da5&label=stars&logo=github&logoColor=%23fff&style=flat-square" alt="GitHub Stars"></a></li> <li><a aria-label="GitHub Contributors" href="https://github.com/roundcube/roundcubemail/graphs/contributors" target="_blank" rel="noopener"><img src="https://img.shields.io/github/contributors/roundcube/roundcubemail?color=%23066da5&label=contributors&logo=github&logoColor=%23fff&style=flat-square" alt="GitHub Contributors"></a></li> <li><a aria-label="DockerHub" href="https://hub.docker.com/r/roundcube/roundcubemail/" target="_blank" rel="noopener"><img src="https://img.shields.io/docker/pulls/roundcube/roundcubemail?color=%23066da5&label=pulls&logo=docker&logoColor=%23fff&style=flat-square" alt="Docker Downloads"></a></li> </ul> </div> </div> <div class="row mt-5"> <div class="col"> <p>Hosted by <a href="https://github.com"><span class="fa-brands fa-github"></span> GitHub</a></p> <p>© Roundcube.net, all rights reserved.</p> </div> </div> </div> </footer> <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> <script> var color_mode = 'auto'; if (typeof(Storage) !== "undefined" && window.localStorage.getItem("color-mode") !== null) { color_mode = window.localStorage.getItem("color-mode"); } switch_color_mode(color_mode, true); function switch_color_mode(mode, onload) { var color_mode = mode; if (mode == 'auto') { color_mode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; } document.getElementsByTagName('html')[0].setAttribute('data-bs-theme', color_mode) document.querySelector('div.color-modes > ul.dropdown-menu a.current-theme').classList.remove('current-theme'); document.querySelector('div.color-modes > ul.dropdown-menu a.' + mode + '-mode').classList.add('current-theme'); if (!onload && typeof(Storage) !== "undefined") { if (mode == 'auto') { window.localStorage.removeItem('color-mode'); } else { window.localStorage.setItem('color-mode', mode); } } var event = new Event('switch-color-mode'); document.dispatchEvent(event); } var copytext = "Copy to clipboard"; var copycomplete = "Copied"; var copyerror = "Copy failed"; document.querySelectorAll('a.copy-popover-link').forEach((sumbtn) => { var popover = new bootstrap.Popover(sumbtn, { content: sumbtn.closest('td').querySelector('.copy-popover-target').innerHTML, html: true, customClass: 'copy-popover' }); sumbtn.addEventListener('shown.bs.popover', () => { document.querySelectorAll('div.popover a.copy-link').forEach((copybtn) => { var tooltipInstance = new bootstrap.Tooltip(copybtn, {'title': copytext}); copybtn.addEventListener("click", function(e) { clipboard(this, tooltipInstance, e); }, false); }); }); }); if (document.querySelectorAll('a.copy-popover-link').length > 0) { document.addEventListener("click", function(e) { document.querySelectorAll('a.copy-popover-link').forEach((sumbtn) => { var popover = bootstrap.Popover.getInstance(sumbtn); if (popover.tip && event.target.closest('.popover.show') == null && popover.tip.classList.contains('show')) { popover.hide(); } }); }, false); } document.querySelectorAll('a.copy-link').forEach((copybtn) => { var tooltipInstance = new bootstrap.Tooltip(copybtn, {'title': copytext}); copybtn.addEventListener("click", function(e) { clipboard(this, tooltipInstance, e); }, false); }); async function clipboard(copybtn, tooltipInstance, e) { e.preventDefault(); var payload = copybtn.closest('p,td,div').querySelector('.copy-target').textContent.trimEnd(); try { await navigator.clipboard.writeText(payload); copybuttonupdate(copybtn, tooltipInstance, 'complete', copycomplete); } catch (err) { copybuttonupdate(copybtn, tooltipInstance, 'error', copyerror); } } function copybuttonupdate(copybtn, tooltipInstance, css, text) { tooltipInstance.setContent({'.tooltip-inner': text}); copybtn.classList.add(css); window.setTimeout(function() { tooltipInstance.setContent({'.tooltip-inner': copytext}); copybtn.classList.remove(css); }, 2500); } </script> </body> </html>