// ==UserScript==
// @name append-content
// @namespace http://localhost
// @description append something to localhost web page
// @include http://localhost
// ==/UserScript==
var logo = document.createElement("div");
logo.innerHTML = '<div style="margin: 0 auto 0 auto; ' +
'border?bottom: 1px solid #000000; margin?bottom: 5px; ' +
'font?size: small; background?color: #000000; ' +
'color: #ffffff;"><p style="margin: 2px 0 1px 0;"> ' +
'THIS TEXT is INSERTED' +
'</p></div>';
document.body.insertBefore(logo, document.body.lastChild);
}
|