Recent Chrome update broke ServiceNow's text highlighting

bill_dev
Mega Guru

With the recent Chrome update to Version 131.0.6778.70 (Official Build) (64-bit), the texts and fields in ServiceNow suddenly cannot be highlighted. CTRL+A then copy then paste still works but highlighting texts using mouse or Shift + directional arrow does not work. I'll be submitting a ticket to HI but just starting this thread in case somebody has an insight to this.

40 REPLIES 40

Dave Becker
Tera Contributor

The fix works, but the UI script offered in the KB carries a BPE Warning with it.  "Avoid DOM Manipulation (document, $, gel, or jQuery)".  

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1638823

cmiller175
Tera Contributor

On the KB is says import the Attached UI script but I do not see one attached. 

 

It also says to upgrade to WashingtonDC Patch 9 but I dont see that available, is it available for any of you?

I didn't see an attachment on the KB article, either, but it is linked as "UI Script"

 

https://support.servicenow.com/sys_attachment.do?sys_id=f6918996937196d0f538fb2d6cba1072

 

Probably it appears as an attachment in the frameset view that's only available to whoever is writing the article...

 

Edit: When you've downloaded the XML file, go to the UI Scripts table, right-click the header, and select Import XML. Then select the file you just downloaded.

It will import as a UI script called "Highlight Fix (Temporary)".

https://yourinstance.service-now.com/nav_to.do?uri=sys_ui_script.do?sys_id=1073de3743211210109483728...

 

You're supposed to remove it when you can upgrade. We're still on Vancouver, so upgrading to a DC release isn't an option right now. I just hope we remember to remove the script when we do upgrade.

It would be nice if one of the cleanup scripts for the upgrade that fixes it removes this workaround.

In that KB in the Workaround section, there is a UI Script link embedded in the text

Got it, thank you.