Javascript href in a button

I wish to add the code
javascript: Cookiebot.renew() in the url link of a button so that it appears like this:

xxxxx

I am struggling to get rid of the http:// that gets automatically added

Has anything changed since the last post on this subject in Dec 17 and can anyone advise me


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Sorry, the code didn’t get added to the post.

a href=“javascript: Cookiebot.renew()”

I have sussed it.

It is the back tick or grave that should go before, and not the single quote which was what I was trying to use