diff --git a/README.md b/README.md index 6330a1ec8..3777e5085 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ uBlock Origin

- + pronounced you-block origin (/ˈjuːˌblɒk/) — you decide what enters your browser.
diff --git a/docs/tests/static-filtering-parser-checklist.txt b/docs/tests/static-filtering-parser-checklist.txt index e7b5b5496..c77baf2ee 100644 --- a/docs/tests/static-filtering-parser-checklist.txt +++ b/docs/tests/static-filtering-parser-checklist.txt @@ -7,7 +7,7 @@ ! invalid cases, by typically adding the list to uBO, disabling the list, ! and viewing it in uBO's asset viewer. ! -! Feel free to add more entries to more throughly validate the static +! Feel free to add more entries to more thoroughly validate the static ! filtering parser, submit the changes in your fork of uBO by opening an ! issue at https://github.com/uBlockOrigin/uBlock-issues/issues diff --git a/src/css/fonts/Metropolis/README.md b/src/css/fonts/Metropolis/README.md index 1dc4d5313..ce01464d3 100644 --- a/src/css/fonts/Metropolis/README.md +++ b/src/css/fonts/Metropolis/README.md @@ -1,6 +1,6 @@ # Metropolis -A modern, geometric typeface. Influenced by other popular geometric, minimalist sans-serif typefaces of the new millenium. Designed for optimal readability at small point sizes while beautiful at large point sizes. +A modern, geometric typeface. Influenced by other popular geometric, minimalist sans-serif typefaces of the new millennium. Designed for optimal readability at small point sizes while beautiful at large point sizes. ![Metropolis](./Specimens/Metro-1.png) diff --git a/src/js/cachestorage.js b/src/js/cachestorage.js index 798f7f1af..78a87e207 100644 --- a/src/js/cachestorage.js +++ b/src/js/cachestorage.js @@ -140,7 +140,7 @@ const selectIDB = async function() { // property was already set, so this means uBO can detect here whether // the database can be opened successfully. A try-catch block is // necessary when reading the `error` property because we are not - // allowed to read this propery outside of event handlers in newer + // allowed to read this property outside of event handlers in newer // implementation of IDBRequest (my understanding). const getDb = function() { diff --git a/src/js/commands.js b/src/js/commands.js index c70b6ce28..1a8986586 100644 --- a/src/js/commands.js +++ b/src/js/commands.js @@ -31,7 +31,7 @@ import { hostnameFromURI } from './uri-utils.js'; µb.canUseShortcuts = vAPI.commands instanceof Object; // https://github.com/uBlockOrigin/uBlock-issues/issues/386 -// Firefox 74 and above has complete shotcut assignment user interface. +// Firefox 74 and above has complete shortcut assignment user interface. µb.canUpdateShortcuts = false; if ( diff --git a/src/js/contentscript.js b/src/js/contentscript.js index f2dcd1467..2c6cdcd72 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -95,7 +95,7 @@ The domFilterer makes use of platform-dependent user stylesheets[1]. [1] "user stylesheets" refer to local CSS rules which have priority over, - and can't be overriden by a web page's own CSS rules. + and can't be overridden by a web page's own CSS rules. */ diff --git a/src/js/cosmetic-filtering.js b/src/js/cosmetic-filtering.js index 3634a80ef..f3bbde054 100644 --- a/src/js/cosmetic-filtering.js +++ b/src/js/cosmetic-filtering.js @@ -180,7 +180,7 @@ SelectorCacheEntry.junkyard = []; // High-medium generic: [href^="..."] // High-high generic: everything else // Specific -// Specfic hostname +// Specific hostname // Specific entity // Generic filters can only be enforced once the main document is loaded. // Specific filers can be enforced before the main document is loaded. diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index a4344f6b2..c67e2fd9d 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -344,7 +344,7 @@ const processLoggerEntries = function(response) { /******************************************************************************/ const parseLogEntry = function(details) { - // Patch realm until changed all over codebase to make this unecessary + // Patch realm until changed all over codebase to make this unnecessary if ( details.realm === 'cosmetic' ) { details.realm = 'extended'; } @@ -490,7 +490,7 @@ const viewPort = (( ) => { vwContent.style.top = `${lastTopPix}px`; }; - // Coallesce scroll events + // Coalesce scroll events const onScroll = function() { if ( scrollTimer !== undefined ) { return; } scrollTimer = setTimeout( @@ -1384,7 +1384,7 @@ const reloadTab = function(ev) { return; } - // Hightlight corresponding element in target web page + // Highlight corresponding element in target web page if ( tcl.contains('picker') ) { ev.stopPropagation(); messaging.send('loggerUI', { diff --git a/src/js/messaging.js b/src/js/messaging.js index f76a3e25d..f5bc636ec 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -73,7 +73,7 @@ import './benchmarks.js'; /******************************************************************************/ // Default handler -// priviledged +// privileged { // >>>>> start of local scope diff --git a/src/js/popup-fenix.js b/src/js/popup-fenix.js index 0cc68f198..9d8e00239 100644 --- a/src/js/popup-fenix.js +++ b/src/js/popup-fenix.js @@ -914,8 +914,8 @@ const gotoURL = function(ev) { /******************************************************************************/ -// The popup panel is made of sections. Visiblity of sections can -// be toggle on/off. +// The popup panel is made of sections. Visibility of sections can +// be toggled on/off. const maxNumberOfSections = 6; const sectionFirewallBit = 0b10000; @@ -1366,7 +1366,7 @@ const getPopupData = async function(tabId, first = false) { }; // The purpose of the following code is to reset to a vertical layout - // should the viewport not be enough wide to accomodate the horizontal + // should the viewport not be enough wide to accommodate the horizontal // layout. // To avoid querying a spurious viewport width -- it happens sometimes, // somehow -- we delay layout-changing operations to the next paint diff --git a/src/js/popup.js b/src/js/popup.js index 48d570fbe..76c4a0a70 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -697,7 +697,7 @@ let renderOnce = function() { if ( document.body.classList.contains('responsive') ) { return; } // For large displays: we do not want the left pane -- optional and - // hidden by defaut -- to dictate the height of the popup. The right pane + // hidden by default -- to dictate the height of the popup. The right pane // dictates the height of the popup, and the left pane will have a // scrollbar if ever its height is more than what is available. // For small displays: we use the whole viewport. diff --git a/src/js/static-filtering-parser.js b/src/js/static-filtering-parser.js index 126de5f2c..78da0744c 100644 --- a/src/js/static-filtering-parser.js +++ b/src/js/static-filtering-parser.js @@ -2500,7 +2500,7 @@ const NetOptionsIterator = class { if ( lval === 0 && hasBits(bits, BITEqual) ) { lval = i; } i += 3; } - // Check for proper assignement + // Check for proper assignment let assigned = false; if ( good && lval !== 0 ) { good = assigned = slices[lval+2] === 1 && lval + 3 !== i; diff --git a/src/js/storage.js b/src/js/storage.js index a43af608e..7c505ab0e 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -1492,7 +1492,7 @@ self.addEventListener('hiddenSettingsChanged', ( ) => { /******************************************************************************/ // https://github.com/gorhill/uBlock/issues/2344 -// Support mutliple locales per filter list. +// Support multiple locales per filter list. // https://github.com/gorhill/uBlock/issues/3210 // Support ability to auto-enable a filter list based on user agent. // https://github.com/gorhill/uBlock/pull/3860 diff --git a/src/lib/lz4/README.md b/src/lib/lz4/README.md index 2f6ba7483..8061e80e4 100644 --- a/src/lib/lz4/README.md +++ b/src/lib/lz4/README.md @@ -16,7 +16,7 @@ https://github.com/gorhill/lz4-wasm The purpose is to instanciate a WebAssembly- or pure javascript-based LZ4 block codec. -If the choosen implementation is not specified, there will be an attempt to +If the chosen implementation is not specified, there will be an attempt to create a WebAssembly-based instance. If for whatever reason this fails, a pure javascript-based instance will be created.