Elvenware

Browsers

Table of Contents

Browsers

Searching on Google

Few skills are more important for computer professionals than knowing how to conduct a good search. I use to think this subject was entirely intuitive and did not need to be taught. Then I began to see that there were a number of rules that I was using implicitly, without conscious thought. They can be taught. Then I realized that there some tricks that I knew that I hadn't bother to teach. Then I realized there were tricks that I did not know. The result is this page.

Let's start by thinking about how to search on Google. Below you will find a number of examples of how to conduct searches.

Use only the KeyWords

The main secret is learning to search on the right keywords. Don't pose a question in a sentence as you would when asking a human being. Instead, just list the keywords. Or else, use keywords and some Google "tricks."

For instance, don't write this: "What are the first five presidents of the United States?" Instead, write this: "Presidents US". If that doesn't work try playing with your keywords: "USA Presidents", "American Presidents", "Presidents American List." Finding the write permutation is the key. If you do it enough, there will come a time when you will just intuit what keywords to use in a search. Or conversely, you will intuit why a search you composed didn't work, and how to alter it to make it work.

There are rules here:

Ignore Punctuation

Google ignores punctuation in a search. It doesn't hurt to put it in, but don't waste time fretting over it.

Search only on a Particule Site

Search for JavaScript loops on Elvenware:

Finds -- in theory -- all the other search engines on the web and the second search finds all news sites. At least in theory. But it can be helpful. For instance:

Search for an Exact Phrase

Put searches for exact phrases in quotes: "the midnight ride of Paul Revere"

"the midnight ride of Paul Revere

Exclude Words

Use a dash to negate. All words but tea:

All words but tea party:

If you want to see who links to a web site or a page on a site, you can use the link operator.

Wildcards

Search on a phrase, but omitting certain words or phrases. Suppose you remember part of the Gettysburg address, but not all of it:

Filetype

Page Titles

Search only for the title of a page

Define a Word

Use the word define:

Compose a Google URL

Sometimes you want to search not for a page, but for a Google Search page. In other words, you want to take a user to the Google search page, and show them the results of a particular query. To do that, write the Google URL, then a slash character, then the word search. After that place a question mark and the letter queue = your search. Like this, where the first examples shows how to see what Google comes back with when you search for jetbrains and students:

More Search Tips

Emulate a Mobile Device

In both the Chrome and FireFox desktop browsers you can emulate a mobile device. Here is device emulation in Chrome:

DevEmChrome

Here is the responsive device mode in FireFox:

DevEmFF

In Chrome, press F12 or Ctrl-Shift-I to bring up the developers tools. Notice the toolbar:

Chrome

  1. Icon 1: Search
  2. The icon numbered 2 let's you toggle device emulation mode
  3. Icon 3: This shows there is an error in the source code for the page. Click it, and the drawer opens on the console page.
  4. The icon numbered 4 opens the drawer. You can use drawer to see the console while on the Source or Elements tab.
  5. Icon 5: The gear opens the settings page.
  6. Icon 6: Change the docking. You can dock the developer tools on the left or right. You can also float the developer tools in the own window. Long hold the developer tools icon to choose between docking on the left and right.
  7. Icon 7: Close the developer tools

In FireFox you can open the Web Developer tools by choosing F12 or Ctrl-Shift-I. Here are the main toolbar in the FireFox Web Developer Tools:

FireFox

Reset Chrome

Some trouble shooting tips to use if Chrome is misbehaving. Only do these things if your browser is completely breaking down and not acting rationally.

Are you on the latest version of Chrome? Go to this page and make sure you are completely up to date:

chrome://chrome/

Another thing to try is to completely clear the history and remove all extensions. Press Ctrl-H and then choose Clear Browsing Data and clear everything. You will lose your passwords, your history, absolutely everything, but clearly something is wrong, and we need to find what it is. Try again whatever it was that made you want to reset the browser.

Then go to chrome://extensions/ and make sure everything is disabled. All extensions except Secure Shell. Try again. If that doesn't work, then remove all the extensions except Secure Shell. Try to connect again.

if it still doesn't work, go to chrome://settings/. Select the advanced options and choose reset settings. Try again. There are more details on this here:

https://support.google.com/chrome/answer/3296214?hl=en

Try again. If it still doesn't work, a next step might be to completely uninstall Chrome and then reinstall it.

Let me know if you can make any progress.

Clear the Cache

I have been burned a number of times by this issue. My current policy is something like this:

It only takes a few seconds to clear the cache, and more than once it has made problems magically go away.

The link on the site about how to clear the cache is good, but I think there is a faster way in Chrome/Chromium:

You can also use this shortcut in Chrome: