PyQt5/PySide2 AdBlock
问题 I am trying to create a floating browser for youtube and other media. I found some old examples of adblock like for PyQt4/PySide but now they are deprecated and I can't translate them to PySide2 QWebEngineView. Any ideas of how insert the adblock inside a QWebEngineView? Older version link How would you adblock using Python? 回答1: To filter urls, a QWebEngineUrlRequestInterceptor must be implemented, and if you want to block the url you must call the block (True) function to the