User:Mdale/trust test.js

function color_trust_page{ //get the current page title: var title = document.URL; alert(title); }

addOnloadHook(color_trust_page);