Skip to content

Uncaught (in promise) Error: Timeout #12

@muhamadfahmi2378

Description

@muhamadfahmi2378

Uncaught (in promise) Error: Timeout
Context
https://www.bing.com/search?q=Bing+AI&showconv=1&FORM=hpcodx&wlexpsignin=1
Stack Trace
bing.15abdc00.js:1 (anonymous function)
1
2 (()=>{const m={matches:["://www.bing.com/search"]};async function n(t,e){return new Promise((c,o)=>{if(t.querySelector(e))c(t.querySelector(e));else{const a=new MutationObserver(u=>{u.forEach(l=>{l.type==="childList"&&t.querySelector(e)&&(c(t.querySelector(e)),a.disconnect(),clearTimeout(r))})});a.observe(t,{childList:!0,subtree:!0});const r=setTimeout(()=>{a.disconnect(),o(new Error("Timeout"))},1e4)}})}async function i(){const e=(await n(document,"cib-serp[serp-slot='none']")).shadowRoot,o=(await n(e,"cib-action-bar")).shadowRoot;(await n(o,"textarea[maxlength]")).removeAttribute("maxlength");const r=await n(o,".letter-counter");r.childNodes[r.childNodes.length-1].textContent="\u221E"}async function d(){const t=document.createElement("li"),e=document.createElement("iframe");t.style="width: 100%; height: 1200px;",e.src="https://edgeservices.bing.com/edgesvc/compose",e.csp="frame-src https://www.bing.com/search https://edgeservices.bing.com/; base-uri 'self'; require-trusted-types-for 'script';",e.style="width: 100%; height: 100%; border: none;",t.appendChild(e),(await n(document,"#b_content")).querySelectorAll("aside")[0].querySelector("#b_context").appendChild(t)}async function s(){i(),d()}window.addEventListener("load",s),window.addEventListener("popstate",s)})();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions