-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Redirect feature #1020
Comments
Does this work:
? The redirect filter option will need more work to craft a proper dummy look-alike script for |
No, it does not work. |
|
Sorry, I forgot that I had this in 'My Filters': ||google-analytics.com^$important. But this is not what I want because if I understand correctly, this will allow google-analytics on the whole site. So I would not like to have the filter in the Unbreak filter list. As it is now I use dynamic filtering to unbreak each time I want to see a video. |
I tried the link given by OP.. As soon as i allow ga.js, i no longer see "ga.js is not found" message. However i cannot have the video played because of the site's country specific restrictions... So, tweaking ga.js surrogate should work i believe.. |
That's the purpose of the Unbreak filter list. Some other people are probably suffering the break, so this needs to be resolved. On the other hand, just keep your |
I need to work a whole lot more on this before (and if) I can make this work. What I need are cases of web page breakage caused by the blocking of |
just fyi..just thought it might help you.. Looks like noscript surrogate is able to thwart it successfully. (i.e., i see the message sth read as "the video cannot be played in your country")
|
I prefer to do the reverse engineering myself, as I will be the one maintaining this, doing it myself ensure I know what is happening inside. I already made changes which to uBO |
Yes sir, I know :). Just could not help myself!!
Agreed. |
Redirect for ga.js now works for the videos with v.1.4.0rc0 and with this filter: ||www.google-analytics.com/ga.js$script,domain=tv2.no,redirect=www.google-analytics.com/ga.js, and also without this filter and instead using the experimental filter - while http://www.google-analytics.com/ga.js is shown in the logger as blocked in both cases. Tested with both Chrome and Firefox. |
http://www.tv2.no/v/989822/
Blocking ga.js (http://www.google-analytics.com/ga.js) breaks this page (and other video pages on the site too). The video will not play and an error message with something like 'ga.js not found' is displayed.
I tested the new redirect feature with this filter:
||www.google-analytics.com/ga.js$script,domain=tv2.no,redirect=ga.js
and then with this:
||www.google-analytics.com/ga.js$script,domain=tv2.no,redirect=www.google-analytics.com/ga.js
They did not work.
Is something wrong with the filters or is the new feature not capable of dealing with this case.
Tested with: UBlock 1.3.7b15, Chrome 46, Firefox 42
The text was updated successfully, but these errors were encountered: