Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to detect if a browser has javascript enabled before the login screen within APEX

AL2015ZNMay 26 2015 — edited May 28 2015

Hi

I am fairly new to Oracle APEX. To detect if a client's browser has javascript enabled, I use the <noscript> tag to display a message to the user. Below is a simple example.

Is it possible to implement a similar check in the APEX framework before the login page ?

<html>  <head> <title>Test</title>
<script type="text/javascript">   
function loadlogin()
{   window.location.href = 'login.html'; }

</script>

  </head>
  <body onload="loadlogin()">
  <div align="Center">
  <table>

   <noscript>

   <tr>
    <td align="Center"><p><b>WARNING : JavaScript Disabled</b></p><br></td>
  
   </tr>

    <tr>
     <td align="Center" >
      Are you using a browser that doesn't support JavaScript?<br>

      If your browser does not support JavaScript, you can upgrade to a newer browser<br>

       If you have disabled JavaScript, you must re-enable JavaScript to use this page.
     </td>
    </tr>
   </noscript>

  </table> 
         </div>

   </body>

</html>

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2015
Added on May 26 2015
4 comments
1,152 views