AdguardTeam / AdguardTeam/Scriptlets

Add new redirect — 'tagcommander-tc'

Đang mở
#173 3 bình luận 2 reaction 0 người được giao Xem trên GitHub
Feature request Priority: P4 problematic
Ngôn ngữ chính
JavaScript
Star
195
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

There is a generic exception for this script (`@@||tagcommander.com^*/tc_$script`), so maybe it would be a good idea to create a redirect resource for it.

Examples:
https://github.com/AdguardTeam/AdguardFilters/issues/102818 (Broken video player)
https://github.com/AdguardTeam/AdGuardSDNSFilter/issues/776 (Broken Sign in button)

To reproduce add this rule to user rules:
```
||cdn.tagcommander.com/*/tc_*.js$script,redirect=noopjs,important
```

Something like this should fix both issues:
```
window.tC = {
privacy: {
getOptinCategories: function () {},
cookieData: [],
},
addConsentChangeListener: function () {},
removeConsentChangeListener: function () {},
container: {
reload: function () {}
}
};

window.tc_events_global = function() {};
```
but I guess that it needs more tweaks.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.