Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

[BUG] url bar mathematical expressions

  • 5 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: vsbenas

more options

In the url bar you can enter a mathematical expression that can be parsed and evaluated. For example, try entering 2*exp(10) Division and fractions do not work in firefox, but they work fine in chrome.

In the url bar you can enter a mathematical expression that can be parsed and evaluated. For example, try entering 2*exp(10) Division and fractions do not work in firefox, but they work fine in chrome.

모든 댓글 (5)

more options

Also, there are some problems with parsing spaces and parenthesis, if someone could link me the source code to this function I'd be happy to fix it.

more options

Do you mean in the Google search suggestions? From what I can see from various experiments, as soon as you type a / character, Firefox immediately stops asking for further suggestions. Example screenshot attached, showing the address bar drop-down and Browser Console (showing Network > XHR). If you type quickly, you might only have one request in the console.

I guess the question is why -- URL privacy? -- and whether to completely change that, or set up rules related to certain characters Firefox is allowed to send for suggestions.

See also: https://developer.mozilla.org/docs/Tools/Browser_Console

more options

Yes, those are the ones I'm referring to. You are probably right that it is done to ensure privacy, since fractions separated with a coma like 1,3 instead of 1.3 work. But I also believe this function is very convenient to have fully working. There are probably ways to ensure privacy, for example check that the input to the left of '/' is a valid IP, domain, or path, and stop the suggestions then?

more options

Maybe the following would be a place to bat around ideas?

https://discourse.mozilla.org/c/firefox-development

more options

Sure,thanks.