Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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