搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How to find a certain column in a line

more options

Hi,

the FF console notifies me that on a page 3:8116 is an error concerning Content Security Policy. Line 3 is the <head> opening tag. Can somebody give me a tip how to get to Column 8116?

thanks and thanks also for the help I already got

Hi, the FF console notifies me that on a page 3:8116 is an error concerning Content Security Policy. Line 3 is the <head> opening tag. Can somebody give me a tip how to get to Column 8116? thanks and thanks also for the help I already got

被選擇的解決方法

APJau3Rr said

the FF console notifies me that on a page 3:8116 is an error concerning Content Security Policy. Line 3 is the <head> opening tag. Can somebody give me a tip how to get to Column 8116?

Well, you simply have to press the right arrow key 8115 times.

But seriously...

  • Can you use an editor that lets you seek to a particular character position?
  • Assuming this is a line of minified code, can you use regular source files instead until this CSP problem is resolved?

I saw this article recently, but I don't know whether it will help:

https://developer.mozilla.org/docs/Tools/Debugger/How_to/Use_a_source_map

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

APJau3Rr said

the FF console notifies me that on a page 3:8116 is an error concerning Content Security Policy. Line 3 is the <head> opening tag. Can somebody give me a tip how to get to Column 8116?

Well, you simply have to press the right arrow key 8115 times.

But seriously...

  • Can you use an editor that lets you seek to a particular character position?
  • Assuming this is a line of minified code, can you use regular source files instead until this CSP problem is resolved?

I saw this article recently, but I don't know whether it will help:

https://developer.mozilla.org/docs/Tools/Debugger/How_to/Use_a_source_map