version
By accessing the ofa.version
property, you can obtain the version number of the imported ofa.js.
Requirement: ofa.js version ≥ 4.3.40
<script src="https://cdn.jsdelivr.net/gh/kirakiray/ofa.js@4.5.26/dist/ofa.min.js"></script>
<div id="logger"></div>
<script>
$("#logger").html = ofa.version;
</script>
You can display the current version of ofa.js on the page.