Class WebRTCBlocker
- All Implemented Interfaces:
TransactionProcessor
The usual call to establish a connection is to the constructor: var pc = new RTCPeerConnection(x,y); But there are also instances you can just get from the window object: window.RTCPeerConnection, window.mozRTCPeerConnection,window.webkitRTCPeerConnection, window.msRTCPeerConnection These also have to be 'destroyed' = overwritten
This class extends InsertToolbarProcessor to inherit the methods to get and set the content of a Transaction object!
NOTE: Squid has to direct also the following Javascript mimetypes to the Icapserver to make this work:
acl html_response rep_mime_type text/javascript acl html_response rep_mime_type application/x-javascript acl html_response rep_mime_type application/javascript acl html_response rep_mime_type application/ecmascript acl html_response rep_mime_type text/ecmascript
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Transaction transaction) Returns false, if processing should be interrupted here.
-
Constructor Details
-
WebRTCBlocker
-
-
Method Details
-
process
Description copied from interface:TransactionProcessorReturns false, if processing should be interrupted here.All other results have to be stored in the transaction object.
- Specified by:
processin interfaceTransactionProcessor- Overrides:
processin classHtmlInjectionProcessor- Returns:
-