-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
forecast.weather.gov map broken by rule in "uBlock filters – Privacy" #719
Comments
Workaround using a custom dynamic rule:
(Cut and paste in My rules in the dashboard. Commit to make the rule sticks across extension restart). |
I think you should contact the site to ask them to fix their site: |
Sent an email to the webmaster:
|
Received this answer from the webmaster:
So the workaround above is the way to resolve the issue, until it is fixed server-side-wise. |
The following rule in the "uBlock filters - Privacy" list breaks the display of the area map on the forecast pages for www.weather.gov (the NOAA weather prediction site):
||addthis.com^$third-party,important
Forecast pages served by forecast.weather.gov have a clickable map (in the "Click Map for Forecast" area) next to the "Detailed Forecast" area. With the above rule turned on the map is blank (not visible or clickable). With the above rule turned off the site loads the following scripts and frame from s7.addthis.com:
script: http://s7.addthis.com/js/300/addthis_widget.js#async=1
script: http://s7.addthis.com/static/layers.40d7f588e30ee02f4e08.js
frame: http://s7.addthis.com/static/sh.7c3d802d.html#rand=0.3341372957494375&iit=1442464867005&tmr=load%3D1442464866735%26core%3D1442464866761%26main%3D1442464866988%26ifr%3D1442464867017&cb=0&cdn=0&kw=&ab=-&dh=forecast.weather.gov&dr=http%3A%2F%2Fwww.weather.gov%2F&du=http%3A%2F%2Fforecast.weather.gov%2FMapClick.php%3Flat%3D37.877149664000456%26lon%3D-119.37765774199971&href=http%3A%2F%2Fforecast.weather.gov%2FMapClick.php&dt=7-Day%20Forecast%20for%20Latitude%2037.87%C2%B0N%20and%20Longitude%20119.37%C2%B0W%20(Elev.%208661%20ft)&dbg=0&cap=tc%3D0%26ab%3D1&inst=1&jsl=1&prod=undefined&lng=en-US&ogt=&pc=men&pub=xa-4b05b2d91f18c9cc&ssl=0&sid=55fa446297da85bb&srpl=1&srcs=1&srd=1&srf=0.01&srx=1&ver=300&xck=1&xtr=0&og=&aa=0&csi=undefined&toLoJson=chr%3DUTF-8%26md%3D0%26vcl%3D0&rev=v2.5.2-wp&ct=1&xld=1&xd=1&fcu=VfpEYpdMfd7
script: http://s7.addthis.com/static/menu.25a22aa5986907801922.js
script: http://s7.addthis.com/static/hi-res-css.97cdbcb2b89b6afd0f73.js
script: http://s7.addthis.com/js/300/addthis_widget.js#library=1
The map is then visible and clickable. So, I turned off the "uBlock filters – Privacy" list, moved the rules into "My Filters", and changed the addthis.com rule as follows:
||addthis.com^$third-party,important,domain=~forecast.weather.gov
The maps on the forecast pages now work again.
Steps:
Broken page:
Working page:
Browser: Firefox 40.0.3
uBlock Origin: 1.1.0.0
The text was updated successfully, but these errors were encountered: