This forum is in archive mode. You will not be able to post new content.

Author Topic: how do i block ALL flash embed advertisements...  (Read 1430 times)

0 Members and 1 Guest are viewing this topic.

Offline r3m1x

  • NULL
  • Posts: 2
  • Cookies: -1
    • View Profile
how do i block ALL flash embed advertisements...
« on: April 28, 2015, 07:19:00 PM »
this is very newbie, but i can't figure out where the owner of this site hid the code to block the ad...
on vaughnlive.tv, everytime you go into someone's broadcast an ad pops up at the bottom of each video cast and it's quite annoying. can someone help me find a way to block this. oh, forgot to mention, i already have adblock plus with firefox. i just need the string to block it.
« Last Edit: April 28, 2015, 07:21:03 PM by r3m1x »

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: how do i block ALL flash embed advertisements...
« Reply #1 on: April 28, 2015, 08:22:00 PM »
If you are referring to those:



By opening any shitty stream from that website, the ad loads up with a flash object. I used "Live HTTP headers" for firefox to see where the SWF loads from, then used wget to download that SWF object. After obtaining it, I used a website http://www.showmycode.com/ to extract the code and did some visual inspection and on line 2453 I noticed this:
Code: [Select]
this.adUrl_vl = ((((("http://vast.yashi.com/3183&vid_id=" + this.streamNet) + "_") + this.streamChan) + "&vid_title=") + this.streamChan);Now, without going too deep, I added this:
Code: [Select]
||vast.yashi.com/*to uBlock for Firefox (because fuck adblock, refer to this thread: https://evilzone.org/general-discussion/should-people-use-adblock/) and after refreshing the website, those ads didn't come up. So there.

However none of the streams I tried played for me, meh. At least no ads!

Offline r3m1x

  • NULL
  • Posts: 2
  • Cookies: -1
    • View Profile
Re: how do i block ALL flash embed advertisements...
« Reply #2 on: April 29, 2015, 01:09:32 AM »
you, Kulverstukas, are an amazing person and i love you! lol. thank you very much. :D

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.