Skip to main content
FortiKoala
Staff
Staff
October 1, 2018

Technical Note: Android Hosts Unable to Accept or Decline Usage Policy

  • October 1, 2018
  • 0 replies
  • 754 views
Description
Android Hosts Unable to Accept or Decline Usage Policy

Solution
Issue: Android hosts unable to accept or decline Acceptable Use Policy.

Cause:  Google introduced a global function (go) that has the same identifier name as one that we use, so when the browser receives that function it uses the global function rather then the one Network Sentry has declared.

Solution: Add following code to the left hand column of the Usage Policy within the Portal Configuration:

<script>
(function() {
    var onload = window.onload;
    window.onload = function() {
        if( onload ) onload();
        var inputs = document.getElementsByTagName("input");
        inputs[0].onclick = function() { document.location = "Disagree.jsp"; }
        inputs[1].onclick = function() { document.location = "LoginMenu.jsp"; }
    }
})();
</script>