bookmarklet

set parameter that shows in the html comments info about used jsp

by Alexander Zonov

HTML

<div id="display"></div>

JavaScript

(function () {
  var url = window.location.href;
  var param = 'pleciugamode=true'
  if (url.split('?').length === 1) {
  	url += '?' + param;
  } else {
  	url += '&' + param;
  }
  window.location.href = url;
})();