Google site: Tool (Site results / Exclude sites)

Easily add site: or -site: to modify your current Google query. v1.2.0 2015-10-11

目前为 2017-09-01 提交的版本。查看 最新版本

作者
Jefferson Scher
评分
0 0 0
版本
1.2.0
创建于
2014-05-25
更新于
2017-09-01
大小
18.7 KB
许可证
BSD with restriction
适用于

Read This First: System Requirements

Firefox 45-56 users: Install the Greasemonkey extension from Mozilla Add-ons BEFORE installing this userscript.

Google Chrome users: Install the Tampermonkey extension from the Chrome store BEFORE installing this userscript.

Firefox Nightly or 57+ users: Install the Tampermonkey extension from Mozilla Add-ons BEFORE installing this userscript. The Violentmonkey extension may also work.

Other Browsers: I honestly have no idea.

Google site: Tool — What It Does

Want to limit your query to a particular site in the results? Or to re-run the query excluding that site from the results? Click the green citation URL below the result header to display a form. It should be self-explanatory from there, but see the screen shots below for an example.

For a more detailed description, check out Ann Smarty's article 3 FireFox Addons to Use Google's SITE: More Effectively at ShimonSandler.com. Apologies for obsoleting the screen shot so quickly!

Screen Shots

The script makes the green citation clickable:

Screen capture showing to click the green cite line

You may have choices of directories on the site in addition to the main domain.

Click the + button to limit your query to this site, or the - button to exclude the domain. This dialog also has a checkbox to change script options (click Edit Script Options).

The script's dialog

Result of + button:

Results modified by using the + button

Result of - button:

Results modified by using the - button

The script detects the "title and date" format in results, indents it, and adds a link for More Results:

Results with More results from

Setting Script Options

By default, the script adds "more results from" links but these open in the same window or tab. You can check a box in options to open them in a new wndow or tab. Also, by default, the script shows the domain without www as the first option. If you always want to drop the first subdomain, there now is a checkbox for that (e.g., productforums.google.com and groups.google.com could be omitted by omitting google.com). This feature may offer nonsense choices in multi-level TLDs (e.g., co.uk).

Dialog to set script options

Change Log

No major changes, just a few fixes you can learn about here: https://gf.qytechs.cn/scripts/1679-google-site-tool-site-results-exclude-sites/versions .

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址