userscripts - Replace Text and Link Target on a page -
i want make userscript changes gmail link on google.com inbox one.
<a class="gb_la" href="https://mail.google.com/mail/?tab=wm&authuser=0" data-pid="23" data-ved="0cbeqwi4oaa">gmail</a>
to:
<a class="gb_la" href="https://inbox.google.com/" data-pid="23" data-ved="0cbeqwi4oaa">inbox</a>
but know nothing javascript and/or userscripts. can me ?
html:
<a class="gb_la" href="https://mail.google.com/mail/?tab=wm&authuser=0" data-pid="23" data-ved="0cbeqwi4oaa" id="link">gmail</a>
javascript: link=document.getelementbyid("link"); link.src="https://inbox.google.com/"; link.innerhtml="inbox";
Comments
Post a Comment