Commander Commander
Commander
2541 views

Is there a way to block the usage of a specific browser (software) in PPM?

Jump to solution

Hi there,

 

Do you know if there a way to block the usage of a specific browser (software) in PPM?

 

Customer users use Chrome for a lot of internal application. However, Chrome is not supported for PPM.

 

Since users are very used to use Chrome, they sometimes open PPM in this browser and work without any problem. However, some other times using Chrome will affect the data being store in the database since there are rules not being fired correctkly, tokens not being resolved, etc.

 

The PPM admin wants to avoid their users using Chrome for PPM and this is why there are looking for any code to be use in the logon page to avoid using the browser.

 

Please let me know if you have something.

 

Thanks a lot.

Jonathan

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Well, so far I am not aware that PPM has any capability to block any specific browser.

 

Secondly I won't encourage you to go ahead and modify the JSP code and include any Java script code to block Chrome browser.

 

 

If the issue is with ONLY Request types and its rule then the best option is to create UI rules and invoke it in Request ype on "Page Load" event. If the Browser is Chrome then DO NOT allow user to proceed and also display the alert to use IE or any other browser.

 

UI rules are well supported by HP and the advantge is that it is not consider as customization to the Product. Here is a good link to create your UI rule, this JS identifies the client browser. You can take help from this to create your UI rule funtion in JS.

 

http://www.echoecho.com/jsbrowserdetection02.htm

 

Option 2 is to train the end users or probably just display the message on Logon screen that "The site best work on IE.....".

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)

View solution in original post

4 Replies
Vice Admiral
Vice Admiral

I do not think there is a way to achieve this, but you may try having users (or the system administrators) install one of the available IE Tab extensions for Chrome.  You can set the URL of your PPM instance to always run in the IE Tab within Chrome.

 

-- Remember to give Kudos to answers! (click the KUDOS star)
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Well, so far I am not aware that PPM has any capability to block any specific browser.

 

Secondly I won't encourage you to go ahead and modify the JSP code and include any Java script code to block Chrome browser.

 

 

If the issue is with ONLY Request types and its rule then the best option is to create UI rules and invoke it in Request ype on "Page Load" event. If the Browser is Chrome then DO NOT allow user to proceed and also display the alert to use IE or any other browser.

 

UI rules are well supported by HP and the advantge is that it is not consider as customization to the Product. Here is a good link to create your UI rule, this JS identifies the client browser. You can take help from this to create your UI rule funtion in JS.

 

http://www.echoecho.com/jsbrowserdetection02.htm

 

Option 2 is to train the end users or probably just display the message on Logon screen that "The site best work on IE.....".

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)

View solution in original post

Vice Admiral
Vice Admiral

The Chrome issue was beyond just an inconvenience for us.  We actually had corrupt data enter the system as a result of the errors.   Obviously modifying the JSP files isn't ideal... HP should really make PPM work with Chrome.  That said, we had no real option other than to apply this fix due to the risk of bad data.

 

Here was the solution:

 

Files Modified:  (assuming version 9.22):

  1. \server\HPPPM\deploy\itg.war\web\new\logon.jsp
  2. \server\HPPPM\deploy\itg.war\web\knta\global\Header.jsp

Insert the following block of code right before the </head> tag in each file.

 

<script type="text/javascript">

var version = navigator.appVersion;

var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;

 

if(is_chrome) {

alert("Chrome is not supported.");

//window.location.href = "http://www.redirectURL.com";

}

</script>       

 

 

We decided to warn the users on the logon page with just the alert and no redirect.  In the Header.jsp we are giving the alert and then redirecting the users to a different website. 

 

After updating the files it'd be necessary to run a  kUpdateHtml.

 

Enjoy.

 

 

-Danny

Commander Commander
Commander

Thank you Pedwill! Great info KUDOS to you!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.