Console
The Console allows directly adding HTML code into both your website's <head> and <body> tags.
The code added in the console is injected and run during the website's loading. This injection will work on most browsers, but there may be some limitations for this method using old crawlers and browsers.
As an example, adding the following code into the <head> and <body> sections of the console tab will find a Google font and apply it to all text on the exchange.
Meta Tags
Cloud exchanges have an SEO section. Adding custom SEO-specific code there is recommended over the process outlined here. This is because Cloud SEO is added statically during the exchange build process and is embedded in the website.
For On-Premise operators, SEO tags can be added in the head section.
For a more in-depth description of header tags, W3Schools has good explanations of what can be added:
Styles
HTML can be used to alter the specific styles on the page as well, using both the head and body.
<head>
<body>
And here we can compare the two fonts:
Before
After
More Complex Injections
Above is a fairly simple (but still useful) snippet of code. This could of course be extended to any form of style editing that you desire. For example the following piece of code:
Will add a direct link in the header to EtherScan.
Last updated