when I open the face book site , I always get expected ')' error why?

Dani AI

Generated

Good question, — and thanks to and for the pointers. An "expected ')'" message is a JavaScript parse error: the browser tried to run a script and found a syntax problem. That problem can come from the page itself, a third-party script (ads, widgets), a browser extension or userscript, or a corrupted cached file. The right move is to gather exact evidence so you (or helpers here) can see where the error originates.

Try this short diagnostic checklist:

  • Reproduce the error while the browser DevTools are open (F12). Copy the full console message, especially the filename and line number reported.
  • Click the file:line link in DevTools to open the source. If it is minified, use the pretty-print button to expand it and inspect the code around the reported line for unbalanced parentheses or stray characters.
  • Check the script origin shown in Console/Network. If the file comes from an extension or a third-party domain, temporarily disable that extension or open the site in a private/incognito window to see if the error disappears.
  • Force-reload (Ctrl+F5) or clear the browser cache in case a corrupted JS file is cached.
  • Test the page in a different browser or on another device. If the error follows you everywhere, capture the console output (or a HAR) and report it to the site with those details.

If you post the exact console text and your browser/version here, I (or others) can point to the specific script and next steps. Do not paste cookies, auth tokens, or personal data.

Recommended Answers

All 3 Replies

how can i repair my computer from error , expected ')' .

Are you sure that your browser is up to date? Is it possible their is a problem with the site?

Might be your JS Debugger is on. Go to settings and trun off JavaScript Debugger.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.