View Single Post
Old 04-07-2016, 17:33   #2062
karrygun
Senior Member
 
L'Avatar di karrygun
 
Iscritto dal: Feb 2013
Messaggi: 978
Quote:
Originariamente inviato da Cloud76 Guarda i messaggi
In senso assoluto sì.
https://github.com/gorhill/uBlock/wi...g:-rule-syntax

Type-based rules

Type-based rules are used to filter specific types of request on a web page. There currently exists seven types of request which can be dynamically filtered:

*: any type of request
image: images
3p: any request which 3rd-party to the web page
inline-script: inline script tags, i.e. scripts embedded in the main document
1p-script: 1st-party scripts, i.e. scripts which are pulled from the same domain name of the current web page
3p-script: 3rd-party scripts, i.e. scripts which are pulled from a different domain name than that of the current web page
3p-frame: 3rd-party frames, i.e. frames elements which are pulled from a different domain name than that of current web page

These rules can apply everywhere, or be specific to a web site. For instance blocking 3rd-party frames is a very good habit security-wise: * * 3p-frame block. This rule translates into "globally block 3rd-party frames".

Another example: wired.com * image block, which means "block images from all origins when visiting a web page on wired.com".

Note that with type-based rules, the destination hostname is always *, meaning "from anywhere".
capito abbastanza. un esempio sui frame?
karrygun è offline   Rispondi citando il messaggio o parte di esso