Thank you, brother - how nice to come home from an evening's Dharma study and find an reply from a fellow Buddhist! Much metta to you.

I now have the code in a speed dial, but I need it to run on top of an already-running page - in a new tab it can't do anything. Is there a way to activate a speed dial without going back to the start page?

In older versions, there was a User Javascript facility so code could be automatically executed when a specific page was loaded, but I cannot find a way to do that on v.18.