JSFiddle - React, Tailwind, and code Playground

by brysmi

JavaScript

javascript: (function() {
    var url = window.location.href;
    var re = new RegExp("^chrome://(.*)");
    if (re.test(url)) {
        window.location = "http://www.delicious.com/brysmi";
        return;
    }
    f = 'http://www.delicious.com/save?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&notes=' + encodeURIComponent('' + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text)) + '&v=6&';
    a = function() {
        if (!window.open(f + 'noui=1&jump=doclose', 'deliciousuiv6', 'location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550')) location.href = f + 'jump=yes'
    };
    if (/Firefox/.test(navigator.userAgent)) {
        setTimeout(a, 0)
    } else {
        a()
    }
})()