搜尋 Mozilla 技術支援網站

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

了解更多

When I hover over a link, Firefox adds the website in front of my link making it wrong.

  • 1 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link.

Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found

Why is this happening?

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link. Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found Why is this happening?

被選擇的解決方法

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">
從原來的回覆中察看解決方案 👍 1

所有回覆 (1)

more options

選擇的解決方法

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">

由 cor-el 於 修改