Don't use inline JavaScript code in a Google Chrome extension.
HTML:
<div class="plus"></div>
<script src="inline.js"></script>
JavaScript:
function popup(e) {
var link = document.URL;
alert("This is the link: (" + link + ")");
}
var plusBtn = document.querySelector('.plus');
plusBtn.addEventListener('click', popup);