def OnBeforePopup(self, browser, frame, targetUrl, targetFrameName,\
            popupFeatures, windowInfo, client, browserSettings,\
            noJavascriptAccess):
        print("[wxpython.py] LifespanHandler::OnBeforePopup()")
        print(targetUrl % "    targetUrl = %s")
        # Custom browser settings for popups:
        # > browserSettings[0] = {"plugins_disabled": True}
        # Set WindowInfo object:
        # > windowInfo[0] = cefpython.WindowInfo()
        allowPopups = True
        return not allowPopups
dataset/ETHPy150Open cztomczak/cefpython/cefpython/cef3/mac/binaries_32bit/wxpython.py/ClientHandler.OnBeforePopup/swapped operands of `%`