-
Notifications
You must be signed in to change notification settings - Fork 617
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
www.bing.com #170168
Comments
@AdamWr Could you please check? |
To reproduce it's necessary to use copilot. bing.com#%#(()=>{if(!location.pathname.includes("/search"))return;const t={attributes:!0,childList:!0,subtree:!0},e=(t,e)=>{for(const n of t){const t=n.target.querySelector(".privacy-statement + .get-started-btn-wrapper > button.inline-explicit");t&&(t.click(),e.disconnect())}},n={apply:(n,o,c)=>{const r=Reflect.apply(n,o,c);if(o&&o.matches("cib-muid-consent")){new MutationObserver(e).observe(r,t)}return r}};window.Element.prototype.attachShadow=new Proxy(window.Element.prototype.attachShadow,n)})(); Code:(() => {
if (!location.pathname.includes('/search')) {
return;
}
const config = {
attributes: true,
childList: true,
subtree: true
};
const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
const button = mutation.target.querySelector('.privacy-statement + .get-started-btn-wrapper > button.inline-explicit');
if (button) {
// debugger;
button.click();
observer.disconnect();
}
}
};
const wrapper = (target, thisArg, args) => {
const shadowEl = Reflect.apply(target, thisArg, args);
// Start observing the target node for configured mutations
// only if target element is cib-muid-consent
if (thisArg && thisArg.matches('cib-muid-consent')) {
const observer = new MutationObserver(callback);
observer.observe(shadowEl, config);
}
return shadowEl;
};
const handler = {
apply: wrapper
};
window.Element.prototype.attachShadow = new Proxy(window.Element.prototype.attachShadow, handler);
})(); but I'm not sure if it should be added. @Alex-302 should we fix it? |
@AdamWr Why not?) |
Okay, I will test this rule a bit more and add it tomorrow, if I do not notice any breakage. |
Issue URL (Annoyance)
https://www.bing.com/search?toWww=1&redig=2AEC5FFEFBBB43D5A3EBCFE3AA269B2A&q=Bing+AI&showconv=1
Comment
Username:
@rakleed
[NSFW] Screenshots
Screenshot 1
Screenshot 1
System configuration
Hide your search queries,
Hide your Referrer from third-parties,
Hide your User-Agent,
Remove X-Client-Data header from HTTP requests,
Protect against DPI,
Disable cache for third-party requests,
Block trackers
https://dns.cloudflare.com/dns-query
AdGuard Base
Privacy:
AdGuard Tracking Protection,
AdGuard URL Tracking
Social Widgets:
AdGuard Social Media
Annoyances:
AdGuard Cookie Notices,
AdGuard Popups,
AdGuard Mobile App Banners,
AdGuard Other Annoyances,
AdGuard Widgets
Language-specific:
AdGuard Russian
Nova YouTube (url: https://update.greasyfork.org/scripts/433360/Nova%20YouTube.user.js)
AdGuard Extra (url: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.user.js)
The text was updated successfully, but these errors were encountered: