Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix rendering, comments and anti-adblock on https://www.gazeta.ru/ #205
Conversation
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
ryanbr commentedSep 19, 2019
•
edited
1. Fix site rendering and comments api used by the site:
Visiting
https://www.gazeta.ruwill cause the site not to render correct. Specifically caused by the block onmyqualification.rambler.ru.Following scripts are being blocked:
https://cdn-comments.rambler.ru/widget.jshttps://subscriptions.rambler.ru/subscribe_form/gazeta:header/https://c.rambler.ru/api/app/3/comments-count?xid=12660673&xid=12660337&xid=12657883&xid=12641047https://myqualification.rambler.ru/dvwegmyv/YWxpZTcuaHVoem12QHsiZGF0YSI6ey..https://myqualification.rambler.ru/lnmmhspf/YnNiejAuZHcxNWNqQHsiZGF0YSI6eyJBY3Rpb24iOiJTdGF0QmxvY2tlcnMiLCJzdGF0Ijp7ImVsIjoxLCJyZSI6MSwic2l0ZSI6?juirzbcl=Ind3dy5nYXpldGEucnUifSwidXNlciI6e&mcehw=yJydWlkIjpudWxsLCJscnVpZCI6InBROE&qbzg=FBTE5GZzEzSUU3akFBY3QzY3dBPSJ9fX0&yayv=%3DThe following domains
myqualification.rambler.ru,subscriptions.rambler.ruandcdn-comments.rambler.ruandc.rambler.ru/api/app/3/comments-countseems to be legit content. (Comments by rambler.ru). This an overreach by the disconnect blocking rambler.ru.We're still blocking the rambler.ru trackers in EP: (which are blocked on this site)
||sync.rambler.ru^||ssp.rambler.ru^2. Fix Anti-adblock tracker:
Anti adblock Tracking also see:
https://static.gazeta.ru/nm2015/js/advertising.jsSource:
(function (){window.ADBLOCK_DETECTED = false;})();