Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
164 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

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.
Honored Contributor.

We were having the same issue with folks using Chrome, and implemented what you are asking...

 

What we did:

- Modified two files... logon.jsp and Header.jsp

 

Locations of the files (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.

 

 

Thanks-

View solution in original post

2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

We were having the same issue with folks using Chrome, and implemented what you are asking...

 

What we did:

- Modified two files... logon.jsp and Header.jsp

 

Locations of the files (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.

 

 

Thanks-

View solution in original post

Highlighted
Absent Member.. Absent Member..
Absent Member..

Thanks for sharing the information it is highly appreciated.

Best regards,
Randall

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
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.