define(function (require) {
    'use strict';

    var store = require('store');

    var items = new Vue({
        el: 'body',

        data: {
            items: [],
            domains: store.fetch(),
            domain: ''
        },

        ready: function () {
            var timer,
                that = this;

            this.$watch('domains', function (domains) {
                store.save(domains);
            });

            this.$watch('domain', function (value) {
                that.items = [];
                for (var i = 0; i < that.domains.length && value; i++) {
                    if (that.domains[i].name.indexOf(value) === 0) {
                        that.items.push(that.domains[i]);
                    }
                }
            });
       },

        methods: {

            onRemove: function (item) {
                this.domains.$remove(item.$data);
                this.domain = '';
            },

            onHandle: function (e) {
                var data,
                    value = this.domain.trim();

                if (e.keyCode === 13) {
                    this.domains.push({
                        name: value,
                        active: true
                    });
                    this.domain = '';
                }

                if (e.keyCode === 27) {
                    this.domain = value = '';
                }
            },

            domainFilter: function (self) {
                return self.name.indexOf(this.domain) === 0;
            }

        }
    });

});

@@ -1045,24 +1045,445 @@
 in.trim();%0A%0A
+                function parse(input) %7B%0A                    var regex = /((?:https?:%5C/%5C/)?(?:%5B%5E%5C.%5D*%5C.)*?)(%5B%5E%5C.%5D*%5C.%5Cw+)(%5C/.*)?$/;%0A%0A                    return input.replace(regex, function (match, p1, p2, p3) %7B%0A                        p1 = p1 %7C%7C '';%0A                        p2 = p2 %7C%7C '';%0A                        p3 = p3 %7C%7C '';%0A                        return p1 + p2.bold() + p3;%0A                    %7D);%0A                %7D%0A%0A
             
@@ -1506,24 +1506,24 @@
 e === 13) %7B%0A
-
             
@@ -1703,33 +1703,21 @@
        %7D
-%0A%0A               
+ else
  if (e.k
@@ -1775,24 +1775,99 @@
 value = '';%0A
+                %7D else %7B%0A                    //this.domain = parse(value);%0A
             

Add domain detect and show bold font of domain