how to block js flash request from other site?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
jalousie
Posts: 4
Joined: Wed May 19, 2010 10:02 am

how to block js flash request from other site?

Post by jalousie »

it seems working with filter like

Code: Select all

*.js$domain=yourdomain.com,third-party
but if i want to block all of js and swf and asp and etc. at yourdomain.com which request from a different domain ?
Last edited by jalousie on Wed May 19, 2010 11:46 am, edited 2 times in total.
jalousie
Posts: 4
Joined: Wed May 19, 2010 10:02 am

Re: how to block js flash request from other site?

Post by jalousie »

just using this ??

Code: Select all

*$domain=yourdomain.com,third-party,script
Last edited by jalousie on Wed May 19, 2010 10:30 am, edited 1 time in total.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: how to block js flash request from other site?

Post by Hubird »

Code: Select all

||yourdomain.com^$third-party
Will block all third party requests from yourdomain.com
jalousie
Posts: 4
Joined: Wed May 19, 2010 10:02 am

Re: how to block js flash request from other site?

Post by jalousie »

Hubird wrote:

Code: Select all

||yourdomain.com^$third-party
Will block all third party requests from yourdomain.com
thanks ,i know it now , and i'm not want to block yourdomain.com, just js flash that not at yourdomain.com something like

Code: Select all

 http://61.155.11.14/admin/greendown/pop.js 
now the only problem is , i've to give a regular filter for swf so that it will not block common video site like youku...
but this is boundedness for some ads that i've not catch...
so any solution?

Code: Select all

/\/\d+(?:x\d+)?\.swf$/$domain=yourdomain.com,third-party
asdf

Re: how to block js flash request from other site?

Post by asdf »

He just wants to block flash and scripts, guys. Stop the complicated filters and reg. expressions.

Code: Select all

$object,object_subrequest,script,third-party,domain=yourdomain.com
Done.
Locked