-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] start working on channels blacklisting #2
Conversation
Check to make sure your gulp file is working right.. You have C:\ paths in the compiled version You will want to check for blocked streams/games on page load (maybe check if you're on the directory). Also, this will help you to detect when more streams get loaded as users scroll (in main.js) case 'directory/channel':
waitForLoad(function(ready) {
if(ready) {
// check for blocked streams
}
});
break; |
Good catch.
Took note |
I never saw In its place is the Anyway, in the here-and-now, you might try to use XPath for this (in my little example, it would be |
Xpath is irrelevant, since you need js at that point anyway. I think < was suggested for css4. |
Sorry, I thought you were using JS anyway, relying on something like Sizzle to find elements with CSS selectors. 😓 Also I just looked through the four Selectors 4 working drafts and the most recent Editor's Draft, and it looks like subject indication went from prepended |
I'll redo that on top off master. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new pull request for related issues or feature requests. |
Opening this ticket for discussion :
div.stream.item
to each channel. I can find a stream name as/div.stream.item > p > a[href]/.substr(1) // remove the slash before
.The problem here being that we need to tag the
div
s ourselves, because the CSS4 syntaxdiv.stream.item < p < a
won't work : when, where ?.Note : the layout does work fine with just a
display: none