启用页面脚本_使用用户脚本启用多列Google搜索

启用页面脚本

启用页面脚本

Are you wanting to improve the search results view at Google and make better use of the webpage space? With a little user script magic you can make those search results look and fit better in your favorite browser.

您是否要改善Google的搜索结果视图并更好地利用网页空间? 借助一点点用户脚本魔术,您可以使这些搜索结果看起来更适合您喜欢的浏览器。

Note: This user script may conflict with the AutoPager extension if you have it installed in your favorite browser.

注意:如果您在喜欢的浏览器中安装了此用户脚本,则该脚本可能与AutoPager扩展名冲突。

Before

之前

Here is the standard single column view of search results at Google. Not too bad but the available space could certainly be better utilized.

这是Google搜索结果的标准单列视图。 还不错,但是可用空间肯定可以更好地利用。

Note: For the purposes of our example we are using Google Chrome but this user script can be easily added to other browsers.

注意:在本示例中,我们使用的是Google Chrome浏览器,但是可以将该用户脚本轻松添加到其他浏览器中。

multi-column-search-01

After

If you have never installed a user script in Chrome before it is just as simple as the regular extensions at the official Google website. Here you can see the details for the user script we are installing. Notice that you can view the source code if desired. To add the user script to Chrome click on “Install”.

如果您从未在Chrome中安装过用户脚本,那么它就像Google官方网站上的常规扩展程序一样简单。 在这里,您可以看到我们正在安装的用户脚本的详细信息。 请注意,您可以根据需要查看源代码。 要将用户脚本添加到Chrome,请单击“安装”。

multi-column-search-02

Once you start the install process you will see an intermediary message asking if you wish to continue in the lower left corner of your browser. Click “Continue” to move to the next step in the install process.

一旦开始安装过程,您将在浏览器的左下角看到一条中间消息,询问您是否要继续。 单击“继续”以转到安装过程的下一步。

multi-column-search-03

From this point on the install process is practically identical to the official extensions. You can see the final confirmation window here…click “Install” to finish adding the user script to Chrome.

从这一点来看,安装过程实际上与官方扩展相同。 您可以在此处看到最终的确认窗口…单击“安装”以完成将用户脚本添加到Chrome。

multi-column-search-04

As with regular extensions you will see a post-install message in the upper right corner.

与常规扩展程序一样,您将在右上角看到安装后消息。

multi-column-search-05

So, what does a user script look like in the “Extensions Page”? You can see the user script entry here…outside of an icon it looks rather identical to a normal extension.

那么,用户脚本在“扩展页面”中是什么样的? 您可以在此处看到用户脚本条目…在图标之外,它看上去与普通扩展名完全相同。

multi-column-search-06

After refreshing the search page shown above we now have two columns of search results (default setting). This looks much much better than a single column view and there is little to no page scrolling required now.

刷新上面显示的搜索页面后,我们现在有两列搜索结果(默认设置)。 这看起来比单列视图好得多,并且现在几乎不需要页面滚动。

multi-column-search-07

To switch to a three column view simply use the keyboard shortcut “Alt + 3”. To return to a single column view use “Alt + 1” and for the default two column view use “Alt + 2”. Three keyboard shortcuts for three different views…definitely a good thing.

要切换到三列视图,只需使用键盘快捷键“ Alt + 3”。 要返回单列视图,请使用“ Alt + 1”,对于默认的两列视图,请使用“ Alt + 2”。 三个键盘快捷键可用于三个不同的视图……绝对是一件好事。

Note: On our test system we needed to use the number keys at the top of our keyboard to switch views…this is most likely the result of unique settings on our test system.

注意:在测试系统上,我们需要使用键盘顶部的数字键来切换视图…这很可能是测试系统上唯一设置的结果。

multi-column-search-08

Conclusion

结论

If you are wanting a better viewing experience when conducting searches at Google then this user script will make a very nice addition to your favorite browser.

如果您希望在Google上进行搜索时获得更好的观看体验,那么此用户脚本将为您最喜欢的浏览器增添一抹亮丽的色彩。

For those using Firefox you can add user scripts with the Greasemonkey & Stylish extensions. Using Opera Browser? See our how-to for adding user scripts to Opera here.

对于使用Firefox的用户,您可以添加带有GreasemonkeyFashion扩展名的用户脚本。 使用Opera浏览器? 请在此处查看将用户脚本添加到Opera的方法。

Links

链接

Install the Multi-Column View of Google Search Results User Script

安装Google搜索结果用户脚本的多列视图

翻译自: https://www.howtogeek.com/howto/14266/enable-multi-column-google-searches-with-a-user-script/

启用页面脚本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在 Windows 操作系统上使用 bat 脚本启用所有网卡的巨型帧,可以按照以下步骤进行: 1. 打开文本编辑器,例如 Notepad,创建一个新的文本文件。 2. 将以下代码复制并粘贴到文本文件中: ``` @echo off setlocal EnableDelayedExpansion for /f "usebackq tokens=1,2,*" %%a in (`reg query HKLM\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318} ^| find /i "NetCfgInstanceId"`) do ( set guid=%%c set guid=!guid:{=! set guid=!guid:}=! reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\!guid!\Parameters\TcpIp /v EnablePMTUDiscovery /t REG_DWORD /d 0 /f reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\!guid!\Parameters\TcpIp /v TcpMaxDataRetransmissions /t REG_DWORD /d 10 /f reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\!guid!\Parameters\TcpLargeSend /v EnableTCPChimney /t REG_DWORD /d 0 /f netsh interface ipv4 set subinterface "!guid!" mtu=9000 store=persistent netsh interface ipv6 set subinterface "!guid!" mtu=9000 store=persistent ) echo All network adapters have been configured to use jumbo frames. pause ``` 3. 将文件保存为 .bat 文件,例如“enable-jumbo-frames.bat”。 4. 双击运行 .bat 文件,它会自动为所有网络适配器启用巨型帧。完成后,屏幕上应显示“所有网络适配器都已配置为使用巨型帧”。 注意:在运行该脚本之前,请确保您具有管理员权限。此外,此脚本可能会更改您计算机上的注册表设置,请谨慎使用
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值