how to block ads under https links?

in simple words :

i want to block these links …how?


https://www.youtube.com/subscribe_widget?adformat=2_2_1&p=SpKWMSmL8m-0XXqaPGtQKw&render=video_wall_companion


it will be perfect to block anything under “https://www.youtube.com/subscribe_widget?adformat=

also

https://ads.ak.facebook.com

read how to use shadow proxy, with the built in proxy, then have no cache but use the proxy to block those sites with the deny function. please read the proxy manual as well so that you secure your proxy by only allowing internal ip’s access to it.

http://wiki.mikrotik.com/wiki/How_to_make_transparent_web_proxy

i can’t do it man even when i read it

look all i want to do is to block https://www.facebook.com/ads/