Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Программы » Mozilla Firefox (Часть 22)

Модерирует : gyra, Maz

Maz (07-07-2022 09:42): Mozilla Firefox (Часть 23)  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

bredonosec



Platinum Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
New solution (since the previous one does not work anymore):
 
Now if you visit a website like Twitter, Firefox will let you add the Twitter search easily (https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox). But in case you want to add another website that is not supported, you will need a web server like Apache. Below would be the solution for Twitter in case they don't use the search engine file opensearch.xml anymore.
 
Create a file, for example twitter_search.htm (this HTML source code is used on twitter.com, I just removed the / before opensearch.xml):
 
<link rel="search" type="application/opensearchdescription+xml" href="opensearch.xml" title="Twitter">
 
Then create another file, with the same name used in the href parameter of the previous HTML code, for example opensearch.xml with this content (this XML source code is used at https://twitter.com/opensearch.xml):
 
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Twitter</ShortName>
<Description>Twitter Search</Description>
<Url type="text/html" method="get" template="https://twitter.com/search?q={searchTerms}"/>
<Image width="16" height="16">https://abs.twimg.com/favicons/favicon.ico</Image>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>https://twitter.com/search-home</moz:SearchForm>
</OpenSearchDescription>
 
If needed, customize these files to replace the search URL, search form URL, name, description and icon. Put these 2 files in a folder of your web server and open the HTML file that you can find by visiting http://localhost in your web browser. You will be able to add your custom search engine to Firefox.

Всего записей: 16257 | Зарегистр. 13-02-2003 | Отправлено: 15:16 12-11-2021
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Программы » Mozilla Firefox (Часть 22)
Maz (07-07-2022 09:42): Mozilla Firefox (Часть 23)


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru