Blog

Let’s Get Technical: Script Injection, String Replacement, or Content Override?

Posted by: Browsium Posted date:

Ion includes many ways that you can ‘fix up’ bad, broken or obsolete web content without directly touching the web server. In the past I’ve blogged or posted videos about 3 of our tools: Script Injection, String Replacement and most recently Content Override.

The question is, which to use when? Here’s a quick way to see which is the best solution for a given problem:

FeatureBest when…Notes and limitations
Script Injection…you want to add, change or override existing Javascript in a pageCan only modify JavaScript in a web page; content is inserted into the <head> tag of the document after the page loads and before the OnLoad event of the <body> tag is triggered. Does not work for other scripting languages
String Replacement…you only need to make a few small, targeted changes to a pageCan replace content from any loaded resource: CSS, HTML and even script (like VBScript). Useful when changing existing or adding new content, not great at removing large amounts of existing content
Content Override…you want to make wholesale content changes, or when you want to remove a large amount of contentReplaces entire pages only, cannot easily strike single lines of code

Essentially:

  • Script Injection is great when you’re only making changes to Javascript in a page
  • String Replacement is great for making small changes or additions to a page
  • Content Override is great for replacing or removing entire pages at a time

Hopefully that helps clear up when each of these features is best applied. As always, keep your eye on our support site for new information, examples and documentation.

-Christopher

  • Share:  
 

Recent Posts

ITOM for Browsers: Visibility, Security, Efficiency with Proton
Posted on: March 27, 2024
The Browser Blind Spot: Is Your IT Management Missing Critical Data?
Posted on: March 25, 2024
Enhancing Enterprise Efficiency with Advanced Browser Management Tools
Posted on: February 12, 2024

Blog Topics

ActiveX Advanced Solutions Application Modernization Application Sandboxing BCMS Upgrade Browser Compatibility Browser compatibility issues Browser Compatibility Testing Browser end of life (EOL) frustration Browser IT Management Browser Management Browser management solution Browser Management Tool Browser Performance Monitoring Browser Selection Automation Browser Telemetry Tool Browser-Based Applications Browsium Browsium Chrome Extension Browsium Extension Browsium Ion Browsium Proton Catalyst Centralize browser management Chrome Compatibility Compatibility Challenges Compatibility Layers Compatibility Strategies Compatibility Testing Cross-Browser Testing CVE-2021-44228 Deployment eBook Edge IE Edge IE Chrome Edge IE Mode Edge Legacy Edge Readiness Emulation Enterprise Browser Management Enterprise Browser Security Events Extensions File Swap Firefox Flash EOL Group Policy History Hotfix How-To IE 11 EOL IE End of Life IE EOL IE11 Internet Explorer End of Life Internet Explorer EOL Ion Ion v4.9.4 IT Business Strategy IT Challenges IT Landscape IT Solutions ITOM Java Java Applets Latest Version Legacy Application Compatibility Legacy Application Integration Legacy Application Regression Testing Legacy Application Strategies Legacy Applications Legacy Browser Applications Legacy Browser Compatibility Legacy Web Applications Log4shell Microsoft Cumulative Update Migration Mission-Critical Applications Modern IT Modernizing Legacy Applications Patch Tuesday Performance Preserving Legacy Applications Product Offerings Product Release Proton Remediation Sandboxing Legacy Applications Security Services Shadow IT Silent Heroes Silverlight Support Testing Modernized Applications Flash EOL Top News User Training Virtualization Web Application Compatibility Webinar Win10 Preview Release Windows 10 Windows 8 XP Usage Share

Request Demo

Internet Explorer End of Life problems?Learn More