16 Browsers/Internet

16.1 Google

This section contains google-related code that I have googled more than once

16.1.1 Search Operators

Source

16.1.1.1 cache

Description: Returns the most recent cached version of a web page

cache:

16.1.1.2 filetype

Description: Restrict results to those of a certain filetype. e.g., PDF, DOCX, TXT, PPT, etc.

filetype:

16.1.1.3 site

Description: Limit results to those from a specific website.

site:

16.1.1.5 intitle

Description: Find pages with a certain word (or words) in the title.

intitle:

16.1.1.6 Proximity

Description: Proximity search. Find pages containing two words or phrases within X words of each other.

AROUND(X)

16.2 Javascript Bookmarklets

A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser. (Source: Wikipedia)

16.2.3 Google Translate

Description: Autodetect language and translate into English

javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection &&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=’‘){location.href=’http://translate.google.com/translate_t?text=’ t ‘&hl=en&langpair=auto|en&tbb=1&ie=’ e;}else{location.href=‘http://translate.google.com/translate?u=’ escape(location.href) ‘&hl=en&langpair=auto|en&tbb=1&ie=’ e;};

Source: Online Techtips

16.2.4 Not Otherwise Specified

16.2.4.1 Waybackmachine

Description: “If the webpage you’re wanting to read is no longer available, is throwing an error, or the website as a whole has been taken down, you might still have luck finding it on Wayback Machine.”

javascript:location.href='https://web.archive.org/web/*/'+location.href

Source: Online Techtips

16.3 Userscripts

What are user scripts?

User scripts put you in control of your browsing experience. Once installed, they automatically make the sites you visit better by adding features, making them easier to use, or taking out the annoying bits. The user scripts on Greasy Fork were written by other users and posted to share with the world. They’re free to install and easy to use.

(Source: GreasyFork)