shiquda

shiquda

ETW -- Explore The World.
github
telegram
steam

Google Advanced Search Tips Simple Tampermonkey Script

Direct access to simple UI:
Google Advanced Search

Summary of Google Search Engine Advanced Search Commands and Complete Examples - EvanLi's Blog

Search Ideas#

Solution Ideas#

  • Word selection
  • Optimization
  • Reverse engineering
  • Transformation

Syntax#

Common syntax:

Search OperatorFunctionExample
" "Search for results containing specific words or phrases."steve jobs"
ORSearch for results related to X or Y.jobs OR gates
``Same function as OR.
ANDSearch for results related to X and Y.jobs AND gates
-Search for results that do not contain specific words or phrases.jobs -apple
*Wildcard, matches any word or phrase.steve * apple
( )Group multiple search conditions.(ipad OR iphone) apple
define:Search for the definition of a word or phrase.define
cache:Find the latest cached version of a webpage.cache.com
filetype:Search for specific types of files (e.g., PDF).apple filetype
ext:Same function as filetype:.apple ext
site:Search for results from a specific website.site.com
related:Search for websites related to a given domain.related.com
intitle:Search for pages with specific words in the title tag.intitle
allintitle:Search for pages with multiple words in the title tag.allintitle iphone
inurl:Search for pages with specific words in the URL.inurl
allinurl:Search for pages with multiple words in the URL.allinurl iphone
intext:Search for pages with specific words in the content.intext iphone
allintext:Search for pages with multiple words in the content.allintext iphone
weather:Search for the weather in a specific location.weather francisco
stocks:Search for stock information.stocks
map:Force Google to display map results.map valley
movie:Search for information about movies.movie jobs
inConvert one unit to another.$329 in GBP
source:Search for results from a specific source in Google News.apple source
before:Search for results before a specific date.apple before:2007-06-29
after:Search for results after a specific date.apple after:2007-06-29

Note:

  • The colon is an English colon
  • There is no space before the colon
  • Commands should be separated by spaces, e.g., C++ filetype:pdf, with a space before filetype

Tampermonkey Script#

For convenience, I also created a simple script:
Advanced Search Assistant for Google

The following is the original data:#

Serial NumberSyntaxSyntax DescriptionExampleExample Description
1+Same as AND, search for results containing multiple keywordsSearch + engineSearch for pages containing both "search" and "engine"
2OROrSearch OR engineSearch for pages containing either "search" or "engine"
3-Minus sign, pages that do not contain the word after the minus signSearch engine - baiduSearch for pages about "search engine" excluding "baidu"
4“”Double quotes, exact match“search engine”Exact match for the keyword "search engine"
5*Asterisk, wildcard, fuzzy search, asterisk replaces a wordSearch * engineAsterisk can replace any word
6@Add @ before words used for searching social mediatrump @ twitterSearch trump's twitter
7$Add $ before numbers to search for specific pricescamera $ 400Search for camera priced at $400
8#Search for # tags# throwbackthursdaySearch for tag throwbackthursday
9..Two dots, add .. between two numbers to perform a range searchcamera 500 .. 1000Search for cameras priced between 500 and 1000
10filetypeSearch for resources of a specific file typeC++ filetype:pdfSearch for C++ web resources of type pdf
11siteSearch within a specified siteC++ site:https://www.zhihu.comSearch for C++ related pages on Zhihu
12cacheView the Google cached version of a website, display the cached pagecache.comView the Google snapshot of Weibo
13infoAdd info: before a URL to get website detailsinfo:github.comSearch for details about the github website
14relatedSearch for pages related to a certain websiterelated:sina.comSearch for other websites similar to Sina
15linkReturn all pages linking to a certain URLlink:www.csdn.netSearch for all pages containing links to "www.csdn.net"
16inurlSearch for pages where the query appears in the URLinurl: search engineSearch for pages with "search engine" in the URL
17intitleSearch for pages where the query appears in the page title, supports Chinese and Englishintitle: search engineSearch for pages with "search engine" in the title
18intextSearch for pages where the query appears in the body text, supports Chinese and Englishintext: SEO intext: search engineSearch for pages containing "search engine" in the body text for "SEO"
19inanchorSearch for pages with backlinks containing the search terminanchor: appleSearch for pages with "apple" in the anchor text
20allinurlPages where the URL contains multiple keywordsallinurl: SEO search engine optimizationEquivalent to: inurl: SEO inurl: search engine optimization
21allintitlePages where the title contains multiple keywordsallintitle: SEO search engine optimizationEquivalent to: intitle: SEO intitle: search engine optimization
22allintextPages where the body contains multiple keywordsallintext: SEO search engine optimizationEquivalent to: intext: SEO intext: search engine optimization
23allinanchorPages where the anchor text contains multiple keywordsallinanchor: SEO search engine optimizationEquivalent to: inanchor: SEO inanchor: search engine optimization
24weatherweather/time/sunrise/sundown + city name, returns the weather/time/sunrise/sunset for the cityweather: beijingDisplay the weather in Beijing
25musicOr use songs, artist name + music/songsJay Chou musicReturn various songs by Jay Chou
26imagesizeLimit image size—(search on Google Images)imagesize:2560x1440

Effective Search Operators#

Search OperatorFunctionExample
" "Search for results containing specific words or phrases."steve jobs"
ORSearch for results related to X or Y.jobs OR gates
``Same function as OR.
ANDSearch for results related to X and Y.jobs AND gates
-Search for results that do not contain specific words or phrases.jobs -apple
*Wildcard, matches any word or phrase.steve * apple
( )Group multiple search conditions.(ipad OR iphone) apple
define:Search for the definition of a word or phrase.define
cache:Find the latest cached version of a webpage.cache.com
filetype:Search for specific types of files (e.g., PDF).apple filetype
ext:Same function as filetype:.apple ext
site:Search for results from a specific website.site.com
related:Search for websites related to a given domain.related.com
intitle:Search for pages with specific words in the title tag.intitle
allintitle:Search for pages with multiple words in the title tag.allintitle iphone
inurl:Search for pages with specific words in the URL.inurl
allinurl:Search for pages with multiple words in the URL.allinurl iphone
intext:Search for pages with specific words in the content.intext iphone
allintext:Search for pages with multiple words in the content.allintext iphone
weather:Search for the weather in a specific location.weather francisco
stocks:Search for stock information.stocks
map:Force Google to display map results.map valley
movie:Search for information about movies.movie jobs
inConvert one unit to another.$329 in GBP
source:Search for results from a specific source in Google News.apple source
before:Search for results before a specific date.apple before:2007-06-29
after:Search for results after a specific date.apple after:2007-06-29

Unstable Search Operators#

Search OperatorFunctionExample
#..#Search within a range of numbers.iphone case $50..$60
inanchor:Search for pages with backlinks containing specific anchor text.inanchor
allinanchor:Search for pages with backlinks containing multiple words in the anchor text.allinanchor iphone
AROUND(X)Search for pages where two words or phrases appear within X words of each other.apple AROUND(4) iphone
loc:Find results for a specific location.loc:"san francisco" apple
location:Find news for a specific location in Google News.location:"san francisco" apple
daterange:Search for results within a specific date range.daterange:11278-13278

Deprecated Search Operators (No longer effective)#

The following search operators are no longer effective and have been deprecated by Google:

Search OperatorFunctionExample
#..#Search within a range of numbers.iphone case $50..$60
inanchor:Search for pages with backlinks containing specific anchor text.inanchor
allinanchor:Search for pages with backlinks containing multiple words in the anchor text.allinanchor iphone
AROUND(X)Search for pages where two words or phrases appear within X words of each other.apple AROUND(4) iphone
loc:Find results for a specific location.loc:"san francisco" apple
location:Find news for a specific location in Google News.location:"san francisco" apple
daterange:Search for results within a specific date range.daterange:11278-13278
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.