summaryrefslogtreecommitdiff
path: root/views/partials/code-bookmarklet.php
blob: d0cf2190edba0b7637630416c57c8993ba17e585 (plain)
1
2
3
(function(){
  window.open("<?= Config::$base_url ?>code?"+(window.location.hostname=='<?= $this->my_hostname ?>'?"edit="+encodeURIComponent(window.location.href)+"&":"")+"token=<?= $this->token ?>");
})();