📜 ⬆️ ⬇️

We replace the built-in search on Habr on Google

Recently, I actively search for Habré notes related to VoIP. The “native” search engine disappointed me long ago, and every time I turned to Google I was lazy. Because for cutting out inappropriate content I have been using Proxomitron for a long time, I decided to add another filter (extract from default.cfg):

Name = "Habrahabr.ru - search hack"
Active = TRUE
URL = "*habrahabr.ru*"
Limit = 512
Match = "<input type="text" name="q" value=" site:habrahabr.ru" /><input type=hidden name="hl" value="ru">"
Replace = "<input type="text" name="q" value=" site:habrahabr.ru" />"
"<input type=hidden name="hl" value="ru">"

Name = "Habrahabr.ru - search hack"
Active = TRUE
URL = "*habrahabr.ru*"
Limit = 512
Match = "<form method="get" action="http://www.google.ru/search">"
Replace = "<form method="get" action="http://www.google.ru/search">"


I ask you not to consider it as a demarche, but only as a forced measure.

')

Source: https://habr.com/ru/post/46841/


All Articles