Show Menu
ARGOMENTI×

Bookmarklet di controllo qualità delle attività

Information to help you use the Target QA bookmarklet to force Target to release you from QA mode.
Because QA mode is sticky, after you browse a website in QA mode, your Target session must expire or you need to have Target release you from QA mode before you can view your site like a typical visitor. Use the QA Target bookmarklet to force yourself out of QA mode.
To use the Target QA bookmarklet, create a bookmarklet containing the following JavaScript code and add it to your browser's Bookmarks Toolbar:
javascript:(
    function () {
        if (window.location.href.indexOf('?') != -1) {
            var parts = window.location.href.split('at_preview_token',2);
            if (parts.length > 1) {
                window.location.href = parts[0].concat('at_preview_token=');
            } else {
                window.location.href = window.location.href.concat("&at_preview_token=")
            }
        } else {
            window.location.href = window.location.href.concat("?at_preview_token=")
        }
    }
)();

Il bookmarklet dovrebbe quindi apparire sulla barra degli strumenti, pronto per essere riutilizzato.
La procedura per creare un bookmarklet varia in base al tipo e alla versione del browser. Consulta la guida del browser o cerca su internet indicazioni specifiche.
You can also manually force yourself out of QA mode by loading a page on your site with the at_preview_token parameter with an empty value.
Ad esempio:
https://www.mysite.com/?at_preview_token=