1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00
Commit Graph

2478 Commits

Author SHA1 Message Date
Deathamns
88a7910bcb element-picker fixes, changes
- Include latest changes from gorhill/uBlock/master
- Append the pickerRoot container to document.documentElement instead
  of document.body ("body > div" type CSS selectors are more common, so
  they could overwrite the extension's styling with higher probability)
- Request localized strings from the background script instead of using
  the i18n API in content scripts
- Fuse element-picker.js' message handling into contentscript-end.js', since
  only one messaging channel can live at a time in a content script
2014-11-09 17:39:28 +01:00
Deathamns
f9602fa5a7 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.
2014-11-09 17:39:26 +01:00
Deathamns
775f51a04b Fix "invalid token" exception in Safari
Seems like in older versions the const keyword doesn't play well with the "use strict" directive
2014-11-09 17:39:24 +01:00
Deathamns
1a83d1a753 Move vAPI into .jshintrc as a global 2014-11-09 17:39:22 +01:00
Deathamns
171619506b Remove storage change-event listener from Safari
Earlier, a technique was used to open the extension's Options page when
the user clicked a checkbox input at Safari's extension settings. The method was removed because:
- the Options page can be opened via the extension's toolbar button (which
  cannot be disabled in Safari, so it will be there all the time);
- involved more clicks than opening from the toolbar button;
- the string beside the checkbox couldn't be localized.
2014-11-09 17:39:20 +01:00
Deathamns
7af9805296 Safari shows integers only over the toolbar icon 2014-11-09 17:39:19 +01:00
Deathamns
0886f7e886 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.
2014-11-09 17:39:17 +01:00
Deathamns
4278121f74 Minor changes
- Update assets from gorhill/uBlock/master
- Remove whitespace from element-picker.js
- Simplify code in profiler.js (btw, Date is still needed as fallback
  for older browsers)
- Clarification for Safari's storage where the QUOTA_BYTES came from
2014-11-09 17:39:15 +01:00
Deathamns
723fc6087c Alphabetical order for keys in Safari's Info.plist 2014-11-09 17:39:14 +01:00
Deathamns
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00
gorhill
96c4e2e256 respect newlines 2014-11-09 09:42:06 -05:00
gorhill
7699f255ae more up to date screenshots 2014-11-09 09:12:15 -05:00
gorhill
f4ab059505 update of third-party assets 2014-11-08 08:30:16 -05:00
gorhill
e6a5356b6e new revision 2014-11-08 08:21:30 -05:00
gorhill
775f71ecf3 reimported from Crowdin for proper formatting 2014-11-08 08:20:55 -05:00
gorhill
a9a80354ad missing quotes 2014-11-08 08:11:34 -05:00
gorhill
b4420c1cbc as required by chrome API 2014-11-08 08:08:11 -05:00
Raymond Hill
1464f7c855 Merge pull request #359 from SandeepPinge/master
Added Marathi language translations
2014-11-08 08:01:45 -05:00
SandeepPinge
85b1e62f3d Added Marathi language translations 2014-11-08 18:10:24 +05:30
SandeepPinge
091c9303d5 Added Marathi language translations 2014-11-08 18:05:45 +05:30
gorhill
088e946a87 code review 2014-11-07 10:47:09 -05:00
gorhill
2ebe5dc13a this fixes #356 2014-11-07 10:07:26 -05:00
gorhill
20d790e30d to fix prev/next arrows at http://www.expansion.com (store feedback) 2014-11-06 15:14:03 -05:00
gorhill
19fa0f6e30 slightly better regexp 2014-11-06 11:18:24 -05:00
gorhill
9fa7b2498a this fixes #357 2014-11-06 11:15:53 -05:00
gorhill
7e96cb01bf translation work from Crowdin 2014-11-05 23:22:08 -05:00
gorhill
e3ba09fe05 Merge branch 'master' of github.com:gorhill/uBlock 2014-11-05 10:29:27 -05:00
gorhill
b6374725e6 this addresses one part of #356 2014-11-05 10:29:19 -05:00
Raymond Hill
682bdb17f3 Update README.md 2014-11-04 10:01:13 -05:00
gorhill
a2eed5220f Spanish can now be shipped for Opera 2014-11-03 10:25:54 -05:00
gorhill
f8643af6ac forgot to update checksums 2014-11-03 10:08:27 -05:00
gorhill
8c718d5ef3 this fixes #183 2014-11-03 09:41:12 -05:00
gorhill
86f1cb07ca this fixes #344 2014-11-03 09:28:55 -05:00
gorhill
f18605f45b update of third-party assets 2014-11-03 09:26:15 -05:00
gorhill
a372682c18 new revision 2014-11-03 08:20:40 -05:00
gorhill
6a4759c633 translation work from Crowdin 2014-11-03 08:19:58 -05:00
gorhill
57931035f8 Merge branch 'master' of github.com:gorhill/uBlock 2014-11-03 08:15:39 -05:00
gorhill
bcfd809797 this fixes #351 2014-11-03 08:15:28 -05:00
Raymond Hill
06734680f8 Merge pull request #349 from NewtonCS/patch-1
Fix a few errors in message.json
2014-11-02 12:59:04 -05:00
Pablo Cortez
6df667e6f6 Update message.json
I just added some more "natural sounding" translations and corrected a spelling error.
2014-11-02 09:55:53 -08:00
gorhill
a5ea696cf1 Merge branch 'master' of github.com:gorhill/uBlock 2014-11-02 12:03:20 -05:00
gorhill
8658a29c6d unbreak aliexpress.com 2014-11-02 12:03:10 -05:00
Raymond Hill
b48ab66f16 Merge pull request #348 from ialexsilva/patch-1
Update from crowdin
2014-11-02 11:34:13 -05:00
Alex Silva
2a37156422 Update from crowdin 2014-11-02 14:30:27 -02:00
gorhill
ea338ee038 no longer needed 2014-10-30 16:39:11 -04:00
gorhill
cb47c6e5b6 update of third-party assets 2014-10-30 11:14:29 -04:00
gorhill
eb6ce2dc28 other CDN uses Fanboy-blocked "/twitter-bootstrap/*" 2014-10-30 10:53:17 -04:00
gorhill
54ccd3257d discard possible highly variable query part 2014-10-30 10:04:11 -04:00
gorhill
c1323bcc96 to fix vurb.com 2014-10-28 12:20:57 -04:00
gorhill
c650654062 fix dynamic filters in popup exception for built-in web pages 2014-10-28 02:02:51 -04:00