Show Menu

Activity QA bookmarklet

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:
    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=")

The bookmarklet should then appear on the toolbar for re-use.
The process to create a bookmarklet varies by browser type and version. Consult your browser's help or search on the Internet for specific directions.
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.
For example: