How to Suppress JavaScript Popups Triggered by WordPress Plugins
Mia Chevalier
15 October 2024
How to Suppress JavaScript Popups Triggered by WordPress Plugins

For a seamless user experience on a WordPress website, controlling undesired JavaScript popups is essential. Plugins are frequently the source of these popups, and it's not always possible to modify their core files. Effective substitutes include methods such as using PHP functions to block the script or utilizing CSS to conceal the popup.

How to Open Links in a Popup Window in PnP Modern Search WebPart (SFx)
Mia Chevalier
22 September 2024
How to Open Links in a Popup Window in PnP Modern Search WebPart (SFx)

This guide shows you how to modify the behavior of links in the PnP Modern Search WebPart (SPFx). Using JavaScript, we can change the default link behavior to open in a popup window instead of a new tab. In addition, we look at event listeners and how to dynamically inject custom JavaScript code into SharePoint.