PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 6/9/2010 12:43 PM by  Jimmy Chiu
User's Using Incorrect Browser
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jellis
Private
Private
Veteran Member
(134 points)
Veteran Member
Posts:54


Send Message:

--
6/8/2010 3:21 PM
    We had an ongoing problem with users using the wrong browser so I threw something together that might help others. Of course your mileage may vary. What it does it check the browser type and if it is not equal to IE then it flashes a warning message and stops executing any script.

    You will need to modify your /web/lawson/portal/index.htm with the following lines-

    <script language="javascript" src="brserchk.js"></script>
    <script language="javascript" type="text/javascript">
    function init()
    {
    if (BrowserDetect.browser == "Explorer")
    {
    if (BrowserDetect.version < 7)
    {
    alert("running unsupported browser - Upgrade to IE7 or higher");
    close();
    }else {
    portalOnLoad();
    }

    }
    else {
    alert("Sorry-Lawson Portal requires Internet Explorer to operate properly.");
    close();
    }
    And then create a file called brserchk.js and you can use code from http://www.quirksmode.org/js/detect.html put into the newly created file and you have something to check browser type.

    If anyone has suggestions or comments please let me know. If you have a better way by all means let me know.
    HorusPlatform
    (9 points)
    Posts:5


    Send Message:

    --
    6/8/2010 5:35 PM
    We have a solution which makes Lawson Portal 9.x available on MS Internet Explorer 7 or higher, Google Chrome 4 or higher, Apple Safari 4 or higher and Mozilla Firefox 3.5 or higher.

    If you are interested, feel free to contact us: horusplatform@ishinc.com.

    Jimmy Chiu
    System Analyst
    Federal Government
    Veteran Member
    (1880 points)
    Veteran Member
    Posts:640


    Send Message:

    --
    6/9/2010 12:43 PM
    Does chrome 4 support cross-domain browsing?
    You are not authorized to post a reply.