[RESOLVED] Youtube ABE only on youtube.com and 1 other site

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [RESOLVED] Youtube ABE only on youtube.com and 1 other site

Re: [RESOLVED] Youtube ABE only on youtube.com and 1 other s

by Thrawn » Tue Oct 31, 2017 4:09 am

Ah, that would also do it.

Re: [RESOLVED] Youtube ABE only on youtube.com and 1 other s

by barbaz » Tue Oct 31, 2017 2:17 am

Thrawn wrote:the problem with the original rule attempt (besides being overly complex) was ...
... first and foremost, this pattern -

Code: Select all

Site .youtube.com
Accept ...
Accept ...
Accept ...
Accept GET
I think everything involved here is GET requests, so putting "Accept GET" before all the "Deny"s is practically equivalent to not having the ABE ruleset.

And there is no point to put bleedingcool anywhere in these rules. The ruleset is not trying to restrict what can load bleedingcool, it's only trying to restrict what can load Youtube.

Still, that's a decent effort for not really understanding it. :)

Re: [RESOLVED] Youtube ABE only on youtube.com and 1 other s

by Thrawn » Tue Oct 31, 2017 1:47 am

I think that the problem with the original rule attempt (besides being overly complex) was that there was no ABE rule at all for ytimg.com, so it was unrestricted.

Re: Youtube ABE only on youtube.com and 1 other site

by barbaz » Sun Oct 29, 2017 4:11 pm

You're welcome! Image

Re: Youtube ABE only on youtube.com and 1 other site

by Mad_Man_Moon » Sun Oct 29, 2017 9:30 am

Yes! This is excellent, thanks! :)

Great stuff, now I need to get a greasemonkey autoplay stopper and write custom CSS to say "THERE WAS A VIDEO HERE" :lol:

Thanks, barbaz!

Re: Youtube ABE only on youtube.com and 1 other site

by Mad_Man_Moon » Sun Oct 29, 2017 9:08 am

checking now

Re: Youtube ABE only on youtube.com and 1 other site

by barbaz » Fri Oct 27, 2017 3:40 pm

Does this work? -

Code: Select all

# Allow Youtube only on Youtube and allkpop
Site .youtube.com .ytimg.com .googlevideo.com
Accept from .youtube.com .ytimg.com .googlevideo.com .allkpop.com
Deny INC
(replace your current rules)

[RESOLVED] Youtube ABE only on youtube.com and 1 other site

by Mad_Man_Moon » Fri Oct 27, 2017 12:11 pm

Hi

For the life of me I can't get this to work, and now my ABE has got so convoluted I don't really understand any of it.

I also don't understand what should be whitelisted and what shouldn't be as I've read the FAQs and apparently I can't understand it properly.

Basically, I only want YouTube videos to load on youtube.com and allkpop.com, nowhere else. I can't seem to get that to work.

Here's the current code:

Code: Select all

Site .youtube.com
Accept from .youtube.com .googlevideo.com .allkpop.com .google.com .google.co.uk
Accept INCLUSION from SELF++
Accept INCLUSION from .youtube.com .allkpop.com .googlevideo.com 
Accept GET
Deny from .bleedingcool.com
Deny INC(SCRIPT) from .bleedingcool.com

Site .googlevideo.com
Accept from .youtube.com .googlevideo.com .allkpop.com .google.com .google.co.uk
Accept INCLUSION from SELF++
Accept INCLUSION from .youtube.com .allkpop.com .googlevideo.com 
Accept GET
Deny from .bleedingcool.com
Deny INC(SCRIPT) from .bleedingcool.com

Site .bleedingcool.com
Accept INCLUSION from SELF++
Accept INCLUSION from .bleedingcool.com
Accept GET
Deny INC(SCRIPT) from .youtube.com .allkpop.com .googlevideo.com
Deny from .youtube.com .allkpop.com .googlevideo.com
Sandbox from .youtube.com .allkpop.com .googlevideo.com 
Honestly, I think I'm going slightly crazy,because videos still load on bleedingcool.com (whether the site .bleedingcool.com code is there or not), if anyone could put any of this into action, I'd be most grateful.

M_M_M

[edit]
For the purposes of this particular code I've whitelisted youtube.com googlevideo.com allkpop.com bleedingcool.com

[edit2]
.googlevideo.com should replace .ytimg.com in the faq :)

Top