Commit Graph

324 Commits (cf5143e876793af3fa1e5ccbabc56d1e8b3c96a9)

Author SHA1 Message Date
gorhill aea695bf8b code review 10 years ago
gorhill 568ad296a3 this should fix #194 10 years ago
gorhill ae701d9aff this fixes #191: loggin every ua-str rotation is overkill 10 years ago
gorhill 6f4257bb2a this fixes #189 10 years ago
gorhill 73ed896a85 this fixes browser history quirk on Chromium 10 years ago
gorhill 535a46db37 this fixes warning/error entries in browser console 10 years ago
gorhill 2f075c71e2 translation work from https://crowdin.com/project/umatrix 10 years ago
gorhill 438a7dca0a minor code review 10 years ago
gorhill 83cc6053eb more minor details fixed 10 years ago
gorhill 4ba4d55e6b fixing small details 10 years ago
gorhill 4d4837924c translation work from https://crowdin.com/project/umatrix 10 years ago
gorhill b65fd71012 minor css edit 10 years ago
gorhill 9d245c0510 logger: "bts" keyword to filter behind-the-scene events 10 years ago
gorhill 7dcfdf9e08 improved cookie emphasis in logger 10 years ago
gorhill c8f162d0bb punycode scope selector 10 years ago
gorhill 8aaadb8fc0 toward a release: general code review, polishing, removing obsolete stuff 10 years ago
gorhill 257334b4c2 importing rp rules 10 years ago
gorhill 3d3160efdf minor code review 10 years ago
gorhill 9afbbae8cf minor css tweaks 10 years ago
gorhill 9a40eb17a0 fixed i18n mistake 10 years ago
gorhill 3384a7614a do not count own inline script 10 years ago
gorhill 6bc728f8b8 refactoring of inline script blocking + improving AMO validation 10 years ago
gorhill 57de4fdf14 code review 10 years ago
gorhill 1cc471bd39 reset minimized state 10 years ago
gorhill 5155b87ca9 translation work from https://crowdin.com/project/umatrix 10 years ago
gorhill 486183cbe6 this fixes popup matrix position/resize issues 10 years ago
gorhill 04f160efba this addresses #171 10 years ago
gorhill 186c649984 thsi fixes #170 10 years ago
gorhill 654821f101 translation work from https://crowdin.com/project/umatrix 10 years ago
gorhill 52540c1a9a various fixes 10 years ago
gorhill 05089dc370 preparing for i18n + better defaults 10 years ago
gorhill a313e4653d use textContent, not innerText 10 years ago
gorhill 8f2b473928 filtering in logger + various small fixes 10 years ago
gorhill 4142551c13 fixed controls broken by incremental rendering 10 years ago
gorhill f8c38177e2 this fixes sticky dirty state 10 years ago
gorhill 0211bcec64 regression: fixed broken polling 10 years ago
gorhill e025afe8ea allow cleaning up voided rows 10 years ago
gorhill 7c8a8cdf64 better incremental rendering of the matrix 10 years ago
gorhill af57d6d9e7 one pulling if needed is better than always pushing to many + polishing logger 10 years ago
gorhill 1d8243583c more work on matrix popup integration within logger 10 years ago
gorhill 1901b9c6e8 allow access to toolbar controls 10 years ago
gorhill 6f786635f4 extremely early draft of matrix integration within the logger 10 years ago
gorhill b518ab5573 minor fixes 10 years ago
gorhill 89a2610ab1 various fixes 10 years ago
gorhill 13c03d802d oops 10 years ago
gorhill 4a86eb0525 https://xkcd.com/1296/ 10 years ago
gorhill c18db8cc7f a few css fixes 10 years ago
gorhill a49340b57a firefox: cookie and browser cache management 10 years ago
gorhill 4ad7c65362 various fixes 10 years ago
gorhill 33b5ac1a57 minor css changes 10 years ago
gorhill 5b513a005f committing missing files 10 years ago
gorhill b4254db51c refactoring: many changes throughout -- not close to be done 10 years ago
gorhill b7e5a7bd44 fixed content script's clean shutdown 10 years ago
gorhill 818a3db9e4 code review: easier to maintain 10 years ago
gorhill fb639870df code review 10 years ago
gorhill d32137ced0 code review 10 years ago
gorhill 622d0a7e9d provide iframe URL in placeholders 10 years ago
gorhill 3fe5d48c05 this addresses 44f1a61c42 (commitcomment-11015041) 10 years ago
gorhill dac3bab44f 1st step of refactoring request logger 10 years ago
gorhill b4fb58891d oops 10 years ago
gorhill 4e76965155 remove useless code 10 years ago
gorhill be3e86e055 user is responsible to reload + fixed cleanup of stale tabs 10 years ago
gorhill d47d8bf0bf this fixes #158 10 years ago
gorhill 44f1a61c42 placeholder styling gone: it's bloat-ish 10 years ago
gorhill cd13d2870b this fixes sticky popup on FF 10 years ago
gorhill ddaa948cf4 new way of handling blocked documents 10 years ago
gorhill e751a5403b code review 10 years ago
gorhill 0e77cbd15d this fixes #45 + revised color-blind mode + support shutdown of content script 10 years ago
gorhill 1583a3edc6 no longer needed 10 years ago
gorhill dbe14694c8 code review 10 years ago
gorhill eb42375215 code review 10 years ago
gorhill c472e23c7d assets updater, hosts files pane, etc. 10 years ago
gorhill f4807b6b29 code review 10 years ago
gorhill 37331b1ef2 various fixes re. behind-the-scene scope 10 years ago
gorhill b01964db9b more fixes for rule edit mode 10 years ago
gorhill 171fef784e this fixes rule rendering in edit mode in FF 10 years ago
gorhill f815223f27 https://github.com/gorhill/uBlock/issues/150 needs to be fixed here too 10 years ago
gorhill 1c05281183 comments 10 years ago
gorhill 1f4ff9c809 more refactoring, code review 10 years ago
gorhill 8ae33e9c12 FF: this fixes availability of response headers for when item pulled from cache 10 years ago
gorhill 7cd060a15f refactoring, fixing script/frame blocking on FF, etc., more to do 10 years ago
gorhill cb29f10173 fixed matrix css 10 years ago
gorhill c1314e496b support ping request type explicitly 10 years ago
gorhill 595de33e83 sanitizing outgoing headers (drafty) 10 years ago
gorhill 5106c4bc44 this fixes rendering of toolbar icon 10 years ago
gorhill 0b1ddfa17b code review 10 years ago
gorhill 5f177a2e30 this fixes reload button 10 years ago
gorhill 2d4431fe0c punycode: use non-minified version 10 years ago
gorhill 9340975606 a whole lot more left to do, at least popup shows 10 years ago
gorhill 19ddf588fb i18n work 10 years ago
gorhill ed67045360 first pass 10 years ago
Deathamns e54c09da8a Ports cleanup
- Remove duplicate platform specific (from src/) and other unnecessary
  files
- Fix and update vapi-*.js files for Safari
- Add tools/make-safari.sh
- Move js/vapi-appinfo.js to meta/ (so, every vendor specific file will be
  at the same location)
10 years ago
Deathamns e6e3868080 Building extension files
Adds possibility to build extension files (Chrome and Safari) from
command line.

To run from the project directory:
python tools/build.py [meta]

If the optional `meta` argument is set, then only the manifest and
language files are uptated.
Without that everything is being built (extension files too) into the
`dist/build/version_number` folder.

For Chrome there will be two files, a crx, and a .zip file which
includes the key.pem private key (so this must not be shared,
it's just a bit help for publishing it to the Chrome Web Store).

Beside the extension files, update-files are generated too (for self
hosting - Safari needs it).
10 years ago
Deathamns 9f23b45651 Site-patching possibility for Safari
Safari's extension API doesn't provide a way to intercept requests
initiated by plugins, so those cases need special care (or at least the
popular sites).

This commit adds a new JS file (sitepatch-safari.js), which will store the
patches (if it's possible to create one) for specific sites.

As an example, this commit includes a technique for removing in-video ads
from YouTube videos.
10 years ago
Deathamns 686403af38 Avoid using Chrome's @@bidi_* type i18n messages
... for the sake of portability.

When including vapi-common.js in an HTML file, then the body element there
will have a "dir" attribute filled with the current locale's direction
(ltr or rtl).

The following languages are considered right-to-left: ar, he, fa, ps, ur.
Everything else is left-to-right.

After the "dir" attribute is set, we can decide in CSS which elements
should have different styling for rtl languages (e.g., body[dir=rtl] #id).
10 years ago
Deathamns 358ec2c644 Fix download URL for the fallback method 10 years ago
Deathamns da0e62dff6 Use HTML5 download instead of extension API
Benefits:
- Cross browser solution (however only for relatively new browsers)
- Doesn't need extra permission in Chrome

If the browser doesn't suppor the download attribute, then a new tab will
be opened with the exported data.

Other changes:
- Start the download only if the data is not empty (previously the
  download started anyway)
- Reorder code in vapi-client.js for Safari, so unnecessary code doesn't
  run on extension pages
10 years ago
Deathamns 25caa9241c Set default dimensions for Safari's popup 10 years ago
Deathamns 2216b7f32e Implement popup autoresizing for Safari
By default, Safari doesn't resize the popup to its content, but it's
possible to set the size pragmatically.
The popup will be resized every time when a change happens in the DOM tree.
10 years ago
Deathamns db83931fb7 Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.

In order to force strict coding, "use strict" directive was added into
every .js file.
10 years ago