Make Startpage search results page bold or highlight keywords used
up vote
1
down vote
favorite
How can I make Startpage's search results page automatically highlight query keywords used in the search without changing the browser's search tools?
For example, DuckDuckGo automatically highlight almost all query keywords in the search results.
search-engine startpage
migrated from superuser.com Nov 23 at 2:55
This question came from our site for computer enthusiasts and power users.
add a comment |
up vote
1
down vote
favorite
How can I make Startpage's search results page automatically highlight query keywords used in the search without changing the browser's search tools?
For example, DuckDuckGo automatically highlight almost all query keywords in the search results.
search-engine startpage
migrated from superuser.com Nov 23 at 2:55
This question came from our site for computer enthusiasts and power users.
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
How can I make Startpage's search results page automatically highlight query keywords used in the search without changing the browser's search tools?
For example, DuckDuckGo automatically highlight almost all query keywords in the search results.
search-engine startpage
How can I make Startpage's search results page automatically highlight query keywords used in the search without changing the browser's search tools?
For example, DuckDuckGo automatically highlight almost all query keywords in the search results.
search-engine startpage
search-engine startpage
edited 15 hours ago
ale
41k24104240
41k24104240
asked Nov 22 at 11:01
illiterate
61
61
migrated from superuser.com Nov 23 at 2:55
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com Nov 23 at 2:55
This question came from our site for computer enthusiasts and power users.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
That feature was removed. Per Startpage support:
As of November 2018, the highlighting feature is no longer supported, as it is available in all major browsers.
Just because the browser can do it, doesn't make it convenient to do it as an additional, separate step, so maybe not a great decision on their part. But there it is.
add a comment |
up vote
1
down vote
You can try to use this userscript, it basically does exactly what you want. You'll need an extension to run custom userscripts though, like violentmonkey
Edit 1: Here is the content of this userscript in case the link will expire:
// ==UserScript==
// @name StartPage Beautifier
// @namespace https://framagit.org/SecT0uch/StartPage-Beautifier
// @description This greasemonkey UserScript helps the user to focus on the revelant information in the result page. It basically put the search terms in bold.
// @version 1.6
// @author SecT0uch <pro.ernst@gmail.com>
// @homepageURL https://framagit.org/SecT0uch/StartPage-Beautifier
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @copyright 2018+, Jordan ERNST (https://framagit.org/SecT0uch/StartPage-Beautifier)
// @match https://*.startpage.com/do/*search*
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
function Greasemonkey_main () {
var toClean = ['title:', 'host:', 'url:', 'link:', ' OR', '"']; // Special chars to exclude from being bolded
var query = document.getElementById("query").value; // Search request
for (var x = 0; x < toClean.length; x++) {
query = query.replace(new RegExp(toClean[x], 'g'), ''); // Removing special chars from request
}
var searchTerms = query.split(' '); // Splitting request string in array
var searchTerms = searchTerms.filter(String); // Remove empty values (fix begin/end/double white spaces)
var results = document.querySelectorAll("p.search-item__body"); // Description text (under link)
// We bold every term in every description :
for (var i = 0; i < results.length; i++) {
for (var j = 0; j < searchTerms.length; j++) {
var term = searchTerms[j];
results[i].innerHTML = results[i].innerHTML.replace(new RegExp(term, 'gi'), "<strong>$&</strong>"); // $& = matched value. <b></b> not supported
}
}
}
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
That feature was removed. Per Startpage support:
As of November 2018, the highlighting feature is no longer supported, as it is available in all major browsers.
Just because the browser can do it, doesn't make it convenient to do it as an additional, separate step, so maybe not a great decision on their part. But there it is.
add a comment |
up vote
2
down vote
That feature was removed. Per Startpage support:
As of November 2018, the highlighting feature is no longer supported, as it is available in all major browsers.
Just because the browser can do it, doesn't make it convenient to do it as an additional, separate step, so maybe not a great decision on their part. But there it is.
add a comment |
up vote
2
down vote
up vote
2
down vote
That feature was removed. Per Startpage support:
As of November 2018, the highlighting feature is no longer supported, as it is available in all major browsers.
Just because the browser can do it, doesn't make it convenient to do it as an additional, separate step, so maybe not a great decision on their part. But there it is.
That feature was removed. Per Startpage support:
As of November 2018, the highlighting feature is no longer supported, as it is available in all major browsers.
Just because the browser can do it, doesn't make it convenient to do it as an additional, separate step, so maybe not a great decision on their part. But there it is.
answered Nov 23 at 1:03
fixer1234
201210
201210
add a comment |
add a comment |
up vote
1
down vote
You can try to use this userscript, it basically does exactly what you want. You'll need an extension to run custom userscripts though, like violentmonkey
Edit 1: Here is the content of this userscript in case the link will expire:
// ==UserScript==
// @name StartPage Beautifier
// @namespace https://framagit.org/SecT0uch/StartPage-Beautifier
// @description This greasemonkey UserScript helps the user to focus on the revelant information in the result page. It basically put the search terms in bold.
// @version 1.6
// @author SecT0uch <pro.ernst@gmail.com>
// @homepageURL https://framagit.org/SecT0uch/StartPage-Beautifier
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @copyright 2018+, Jordan ERNST (https://framagit.org/SecT0uch/StartPage-Beautifier)
// @match https://*.startpage.com/do/*search*
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
function Greasemonkey_main () {
var toClean = ['title:', 'host:', 'url:', 'link:', ' OR', '"']; // Special chars to exclude from being bolded
var query = document.getElementById("query").value; // Search request
for (var x = 0; x < toClean.length; x++) {
query = query.replace(new RegExp(toClean[x], 'g'), ''); // Removing special chars from request
}
var searchTerms = query.split(' '); // Splitting request string in array
var searchTerms = searchTerms.filter(String); // Remove empty values (fix begin/end/double white spaces)
var results = document.querySelectorAll("p.search-item__body"); // Description text (under link)
// We bold every term in every description :
for (var i = 0; i < results.length; i++) {
for (var j = 0; j < searchTerms.length; j++) {
var term = searchTerms[j];
results[i].innerHTML = results[i].innerHTML.replace(new RegExp(term, 'gi'), "<strong>$&</strong>"); // $& = matched value. <b></b> not supported
}
}
}
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
add a comment |
up vote
1
down vote
You can try to use this userscript, it basically does exactly what you want. You'll need an extension to run custom userscripts though, like violentmonkey
Edit 1: Here is the content of this userscript in case the link will expire:
// ==UserScript==
// @name StartPage Beautifier
// @namespace https://framagit.org/SecT0uch/StartPage-Beautifier
// @description This greasemonkey UserScript helps the user to focus on the revelant information in the result page. It basically put the search terms in bold.
// @version 1.6
// @author SecT0uch <pro.ernst@gmail.com>
// @homepageURL https://framagit.org/SecT0uch/StartPage-Beautifier
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @copyright 2018+, Jordan ERNST (https://framagit.org/SecT0uch/StartPage-Beautifier)
// @match https://*.startpage.com/do/*search*
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
function Greasemonkey_main () {
var toClean = ['title:', 'host:', 'url:', 'link:', ' OR', '"']; // Special chars to exclude from being bolded
var query = document.getElementById("query").value; // Search request
for (var x = 0; x < toClean.length; x++) {
query = query.replace(new RegExp(toClean[x], 'g'), ''); // Removing special chars from request
}
var searchTerms = query.split(' '); // Splitting request string in array
var searchTerms = searchTerms.filter(String); // Remove empty values (fix begin/end/double white spaces)
var results = document.querySelectorAll("p.search-item__body"); // Description text (under link)
// We bold every term in every description :
for (var i = 0; i < results.length; i++) {
for (var j = 0; j < searchTerms.length; j++) {
var term = searchTerms[j];
results[i].innerHTML = results[i].innerHTML.replace(new RegExp(term, 'gi'), "<strong>$&</strong>"); // $& = matched value. <b></b> not supported
}
}
}
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
add a comment |
up vote
1
down vote
up vote
1
down vote
You can try to use this userscript, it basically does exactly what you want. You'll need an extension to run custom userscripts though, like violentmonkey
Edit 1: Here is the content of this userscript in case the link will expire:
// ==UserScript==
// @name StartPage Beautifier
// @namespace https://framagit.org/SecT0uch/StartPage-Beautifier
// @description This greasemonkey UserScript helps the user to focus on the revelant information in the result page. It basically put the search terms in bold.
// @version 1.6
// @author SecT0uch <pro.ernst@gmail.com>
// @homepageURL https://framagit.org/SecT0uch/StartPage-Beautifier
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @copyright 2018+, Jordan ERNST (https://framagit.org/SecT0uch/StartPage-Beautifier)
// @match https://*.startpage.com/do/*search*
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
function Greasemonkey_main () {
var toClean = ['title:', 'host:', 'url:', 'link:', ' OR', '"']; // Special chars to exclude from being bolded
var query = document.getElementById("query").value; // Search request
for (var x = 0; x < toClean.length; x++) {
query = query.replace(new RegExp(toClean[x], 'g'), ''); // Removing special chars from request
}
var searchTerms = query.split(' '); // Splitting request string in array
var searchTerms = searchTerms.filter(String); // Remove empty values (fix begin/end/double white spaces)
var results = document.querySelectorAll("p.search-item__body"); // Description text (under link)
// We bold every term in every description :
for (var i = 0; i < results.length; i++) {
for (var j = 0; j < searchTerms.length; j++) {
var term = searchTerms[j];
results[i].innerHTML = results[i].innerHTML.replace(new RegExp(term, 'gi'), "<strong>$&</strong>"); // $& = matched value. <b></b> not supported
}
}
}
You can try to use this userscript, it basically does exactly what you want. You'll need an extension to run custom userscripts though, like violentmonkey
Edit 1: Here is the content of this userscript in case the link will expire:
// ==UserScript==
// @name StartPage Beautifier
// @namespace https://framagit.org/SecT0uch/StartPage-Beautifier
// @description This greasemonkey UserScript helps the user to focus on the revelant information in the result page. It basically put the search terms in bold.
// @version 1.6
// @author SecT0uch <pro.ernst@gmail.com>
// @homepageURL https://framagit.org/SecT0uch/StartPage-Beautifier
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/
// @copyright 2018+, Jordan ERNST (https://framagit.org/SecT0uch/StartPage-Beautifier)
// @match https://*.startpage.com/do/*search*
// ==/UserScript==
window.addEventListener ("load", Greasemonkey_main, false);
function Greasemonkey_main () {
var toClean = ['title:', 'host:', 'url:', 'link:', ' OR', '"']; // Special chars to exclude from being bolded
var query = document.getElementById("query").value; // Search request
for (var x = 0; x < toClean.length; x++) {
query = query.replace(new RegExp(toClean[x], 'g'), ''); // Removing special chars from request
}
var searchTerms = query.split(' '); // Splitting request string in array
var searchTerms = searchTerms.filter(String); // Remove empty values (fix begin/end/double white spaces)
var results = document.querySelectorAll("p.search-item__body"); // Description text (under link)
// We bold every term in every description :
for (var i = 0; i < results.length; i++) {
for (var j = 0; j < searchTerms.length; j++) {
var term = searchTerms[j];
results[i].innerHTML = results[i].innerHTML.replace(new RegExp(term, 'gi'), "<strong>$&</strong>"); // $& = matched value. <b></b> not supported
}
}
}
edited Nov 23 at 14:17
answered Nov 23 at 7:25
user632131
112
112
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
add a comment |
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
1
1
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
It would be better if you can add useful contents of the link into answer itself. Link only answers will become invalid if link get change.
– serenesat
Nov 23 at 8:57
add a comment |
Thanks for contributing an answer to Web Applications Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwebapps.stackexchange.com%2fquestions%2f122427%2fmake-startpage-search-results-page-bold-or-highlight-keywords-used%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown