tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c31dc2af8 
							
						 
					 
					
						
						
							
							installer: show action buttons for installed styles ( #1322 )  
						
						
						
					 
					
						2021-08-26 22:10:08 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50717465b9 
							
						 
					 
					
						
						
							
							show config for usercss vars in installer ( #1302 )  
						
						... 
						
						
						
						* simplify messageBox code
* also bind events correctly in case messageBox is called when a messageBox was already shown 
						
					 
					
						2021-08-12 14:40:03 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6650a37194 
							
						 
					 
					
						
						
							
							tidy up USW-related UI and code ( #1285 )  
						
						... 
						
						
						
						* shortened the title to "Publish" and fixed the compact mode
* made collapsed <details> share the same line in compact mode
* made hard-coded strings localizable
* IIFE modules instead of generically named globals
* unified and sorted the names of localized messages
* adjusted spacing of header items
* center auth popup to current window
Co-authored-by: Gusted <williamzijl7@hotmail.com> 
						
					 
					
						2021-07-30 15:44:06 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdbfb23547 
							
						 
					 
					
						
						
							
							API groups + use executeScript for early injection ( #1149 )  
						
						... 
						
						
						
						* parserlib: fast section extraction, tweaks and speedups
* csslint: "simple-not" rule
* csslint: enable and fix "selector-newline" rule
* simplify db: resolve with result
* simplify download()
* remove noCode param as it wastes more time/memory on copying
* styleManager: switch style<->data names to reflect their actual contents
* inline method bodies to avoid indirection and enable better autocomplete/hint/jump support in IDE
* upgrade getEventKeyName to handle mouse clicks
* don't trust location.href as it hides text fragment
* getAllKeys is implemented since Chrome48, FF44
* allow recoverable css errors + async'ify usercss.js
* openManage: unminimize windows
* remove the obsolete Chrome pre-65 workaround
* fix temporal dead zone in apply.js
* ff bug workaround for simple editor window
* consistent window scrolling in scrollToEditor and jumpToPos
* rework waitForSelector and collapsible <details>
* blank paint frame workaround for new Chrome
* extract stuff from edit.js and load on demand
* simplify regexpTester::isShown
* move MozDocMapper to sections-util.js
* extract fitSelectBox()
* initialize router earlier
* use helpPopup.close()
* fix autofocus in popups, follow-up to 5bb1b5ef 
						
					 
					
						2021-01-01 17:27:58 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							54b1f218e0 
							
						 
					 
					
						
						
							
							Enhance: promisify chrome into browser, drop promisify ( #866 )  
						
						... 
						
						
						
						* promisify `chrome` into `browser`
* comment
* comment
* comment
* Add: a naive browser polyfill
* Fix: polyfill doesn't detect content script env correctly
Co-authored-by: eight04 <eight04@gmail.com> 
						
					 
					
						2020-08-14 20:16:01 +08:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4bbce7cb9f 
							
						 
					 
					
						
						
							
							fix and simplify .user.css URL installer ( #856 )  
						
						... 
						
						
						
						* fix and simplify .user.css URL installer
* Refactor: pull out tab-manager and icon-manager
* fixes/cosmetics
* usercss installer url check
* extract downloaders
* simplify tabManager
* rework/split openInstallerPage
* use a simple object instead of map
* trivial bugfixes
* cosmetics
* fixup! updateIconBadge in styleViaAPI
Co-authored-by: eight <eight04@gmail.com> 
						
					 
					
						2020-02-23 10:43:26 -05:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							b40849acad 
							
						 
					 
					
						
						
							
							Refactor: rewrite style injector ( #664 )  
						
						... 
						
						
						
						* Refactor: style injector/docRootObserver/docRewriteObserver
* Fix: minor
* Fix: disabled state
* Fix: use evade
* Fix: apply.js is broken in our pages
* Fix: transition patch is broken
* Fix: also check elements after the last userstyle
* Fix: remove outdated FIXME. styleInjector.toggle now toggle all styles
* Fix: call Object.keys twice
* Add a fixme
* Fix: typo
* Add a fixme
* Fix: don't argue for mutations generated by other extensions 
						
					 
					
						2019-03-09 20:58:17 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							8d6c88e377 
							
						 
					 
					
						
						
							
							Support Chrome 49 ( #561 )  
						
						... 
						
						
						
						* Add: polyfill to support chrome 49
* Fix: fetch text in Chrome 49
* Add: polyfill element method
* Update usercss-meta
* Fix: buggy destructuring
* Fix: dialog position?
* Fix: unneeded warning
* Fix: getChromeVersion
* Fix: don't cache tab icon in old chrome
* Fix: static -> relative
* Fix: use XHR as fallback 
						
					 
					
						2018-11-29 19:35:21 -06:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6aaff7aa12 
							
						 
					 
					
						
						
							
							Fix usercss install error.  Closes   #589  ( #592 )  
						
						... 
						
						
						
						* Fix usercss install error. Closes  #589 
* Cleanup
* Disable input & hide icon 
						
					 
					
						2018-11-29 19:33:54 -06:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3d3604afc 
							
						 
					 
					
						
						
							
							Refactor the entire storage system and the section editor ( #518 )  
						
						... 
						
						
						
						* Squashed commit of the following:
commit d84c4dc3fe46027120ecf85d4de39b81f3e69574f9dc04558ffea04d591f2aff14e213d4ddfcc71385e70491e47acb131642a39405ac4c14c2fdbb58fb1b49b8bb2c2d849fa4f133c3e67a05a6208f5c05a87ed00f576f73f333e93819deb439b11685b49dd3cd43c190aadfd728838c21e3b393a4cdf5958e75871b9bad06551440cb5cbb4d1053efd78b897d005f3eaafc53bed3de14e321d25801bdd529bcb9968830d3ff3bf6f52d39d21c3d29ecb622c93c7c3d49c0053fd8d937f3859afc8ee9fbe77a8d15a4fc3e91627e0eddeb8f8b4ab47d897d340d62dcd286997d6ad60db9dbef43afa31fa0f08faea1494d06435486c55675912e86ea846a89831ca07c2de67b7f4f3636e13f88f0f6ce78f55b5ae95a1ad91a5a206fe68016346035fa080d1913e0b064115d405b7f8f061b2c88f926a8131fc9c53ae0c4dd130ea7ada48f04c2d6bbf6f0c0bc4d6a4d42765d6c99626e4a48a57b3b27165cfea3933f25fd3a1c2bbdae1c3697bd4a453f45c1bf9f59058c06c1bf9f57e9fd5eeb4b813e38810a49c657d7e55c7ed39ab6ef30e494eda9510a886e14c7f81662c4f3a103645dd4436cde2043db875fd8dc491e9be3ba64b955757eba890a21d2b36a181e4823d2b36a168e22d476751100687983f0ff6fd8cad3c23f315c524419c5dc1e6494985b5037e1f43f75d26ce3238e15a1f552f6ba6159e067fd9ab5d6e506e22d0d1830e866294647b2b4fc497b5e7c96d515efafff3ca38558ef78582e9078aff4651da8d80489fb3b2f02f471f077057111b17169cae02381c5d41529d95b3b4e680fb5107b78a5e7ef4948cd1c635b5bc175f2561154583ca31d971cf6008514450cd60aeb196b6aac633122d28c1ae594b8ccb11f18b13a92fedf844ddd095998f07cfa3127d98805d582c726171339f7103a618aca2abb1cb580242472e91f5734497ebe16f1639cc33e81e4823f46dc5f3e209f2328cf623a7be6a1cba9630725196f0d0e1b4dc05c0288e9ba56b737b65a829a134ed1d35f92250e8a6e8ac03a10f9449144dd2b8ed0913af310c341874a2da33ec01f93f62c6d32ffb76b0f148eac32282bdf770624b1eea8a48a6011d5cbe8a8https://github.com/openstyles/stylus  into dev-exclusions
commit 5cbe8a8d78#507 )
commit 9058c06c541f2d116aae918e47b1ed81a7bb9ac9f47d57aea85778d5c858268e1716b4cc2980b64708adcb60f26909c732fd531ee4135ce35d39a6d1909f6909c73c6979833d8bbaa849fd6ddad5ee31a0807b959af3e3fefa987c4d2abbf670d81fe0586b29ab0ef239cfd5ade807f04f5337e51d29b8f51292a7cfeb22e49713c6a3be3c30bc3eb03d32b0428b7d75dd8754a4df641b968028a3529fba5d6cc31ab853be13f8a3e79151995d07a8cd4ea004bc3c7d41ac66a137ffb13bf1db42e97ef15364aa9fcf53b0e407e98f7a24547e098a6011de8c4fcb1a88d7bfe54ab4c4983a7bc2193950482f34e94c7edb382b4a1a56359f75b69cd868dfa0153cCloses  #113 
* Revert: exclusions
* Fix: pass eslint
* Fix: the style is injected twice
* Fix: don't load script async
* Fix: styleCodeEmpty returns true for empty string
* Fix: drop array selection
* Fix: the config dialog is broken
* Fix: popup doesn't use getStyle/getStylesByUrl correctly
* Fix: keep disabled state in setStyleContent
* Fix: allow live-preview to assign newest vars
* Fix: transition fix is broken because setStyleContent becomes async
* Fix: typo, TypeError in styleExists
* Fix: use new API
* Fix: pass linter
* Fix: LICENCE -> LICENSE
* Fix: remove unused distroy function 
						
					 
					
						2018-11-07 14:09:29 +08:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							c61d34d053 
							
						 
					 
					
						
						
							
							Update libraries ( #440 )  
						
						
						
					 
					
						2018-07-21 20:58:54 +03:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
						
						
							
						
						
							70b8a1172f 
							
						 
					 
					
						
						
							
							Responsive layout ( #410 )  
						
						
						
					 
					
						2018-07-16 19:37:01 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							e354a4af94 
							
						 
					 
					
						
						
							
							add indent-fold.js for stylus preprocessor  
						
						
						
					 
					
						2018-05-06 13:17:39 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							75aee2085a 
							
						 
					 
					
						
						
							
							load storage-util in all pages  
						
						... 
						
						
						
						prefs::doSyncSet uses it now, there'll be more in the future when we convert all direct chrome.storage calls 
						
					 
					
						2018-01-19 15:14:09 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							807ea6aa70 
							
						 
					 
					
						
						
							
							extract colorconverter.js  
						
						
						
					 
					
						2018-01-07 11:52:43 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							2ca702c976 
							
						 
					 
					
						
						
							
							show color swatches on usercss installer page  
						
						
						
					 
					
						2018-01-04 13:36:56 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a339b50e27 
							
						 
					 
					
						
						
							
							allow live-reload without reinstalling  
						
						
						
					 
					
						2018-01-04 13:36:27 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							f337e18515 
							
						 
					 
					
						
						
							
							recognize usercss @updateURL  
						
						... 
						
						
						
						* installation URL is preferred - same behavior as before
* @updateURL is used when the style was drag'n'dropped into the manage page
  because there's no real URL in this case
* install-usercss page shows the new update URL, which is set as per the above,
  under the checkbox that enables updates 
						
					 
					
						2017-12-06 22:35:19 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a6f63d096e 
							
						 
					 
					
						
						
							
							extract checkboxes to global.css, fixes  
						
						
						
					 
					
						2017-12-05 04:39:29 +03:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
						
						
							
						
						
							7339643ec3 
							
						 
					 
					
						
						
							
							Custom checkbox and select elements  
						
						
						
					 
					
						2017-12-05 04:39:29 +03:00 
						 
				 
			
				
					
						
							
							
								Rob Garrison 
							
						 
					 
					
						
						
						
						
							
						
						
							3c0b14a477 
							
						 
					 
					
						
						
							
							Install usercss ( #269 )  
						
						... 
						
						
						
						install-usercss: restyle "Install style" button 
						
					 
					
						2017-12-02 02:43:01 +03:00 
						 
				 
			
				
					
						
							
							
								narcolepticinsomniac 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95ebe96bc2 
							
						 
					 
					
						
						
							
							Proper IDs like other pages  
						
						
						
					 
					
						2017-11-25 20:53:21 -05:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							978e5ca9f0 
							
						 
					 
					
						
						
							
							sendMessage()  
						
						... 
						
						
						
						Promise mode [default]:
  - rejects on receiving {__ERROR__: message} created by
    background.js::onRuntimeMessage
  - suppresses chrome.runtime.lastError
    by browserAction.setText which lacks a callback param in chrome API
Callback mode:
  - enabled by passing a second param
  - doesn't suppress chrome.runtime.lastError 
						
					 
					
						2017-11-25 18:00:38 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							55360c731a 
							
						 
					 
					
						
						
							
							move helpers and defaults to the end when everything is ready  
						
						
						
					 
					
						2017-11-24 13:19:17 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							a30ef3ed14 
							
						 
					 
					
						
						
							
							restore the original match-highlighter and monkeypatch it  
						
						
						
					 
					
						2017-11-24 13:19:14 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							8c5471092c 
							
						 
					 
					
						
						
							
							rework install-usercss: CSS, layout, warnings  
						
						
						
					 
					
						2017-11-24 13:19:10 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							d767ad7a8c 
							
						 
					 
					
						
						
							
							autoLoadMode -> loadScript; chain to avoid flicker on load  
						
						
						
					 
					
						2017-11-24 13:19:08 +03:00 
						 
				 
			
				
					
						
							
							
								tophf 
							
						 
					 
					
						
						
						
						
							
						
						
							0ded91d987 
							
						 
					 
					
						
						
							
							apply extension userstyles to install-usercss page  
						
						
						
					 
					
						2017-11-18 12:04:12 +03:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							ecc306dd1f 
							
						 
					 
					
						
						
							
							Change: move header to the top  
						
						
						
					 
					
						2017-11-11 13:30:34 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							4a8894de2e 
							
						 
					 
					
						
						
							
							Add: use messageBox in install page  
						
						
						
					 
					
						2017-11-09 12:26:50 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							fa1c55bc2a 
							
						 
					 
					
						
						
							
							Fix: EOF  
						
						
						
					 
					
						2017-11-09 09:12:13 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							13ca45a104 
							
						 
					 
					
						
						
							
							Fix: reorder global comment  
						
						
						
					 
					
						2017-11-01 11:16:46 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							098dc10f85 
							
						 
					 
					
						
						
							
							Fix: pull out runtimeSend  
						
						
						
					 
					
						2017-11-01 11:15:11 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							c2eadda708 
							
						 
					 
					
						
						
							
							Add: live-reload  
						
						
						
					 
					
						2017-09-25 20:01:50 +08:00 
						 
				 
			
				
					
						
							
							
								eight 
							
						 
					 
					
						
						
						
						
							
						
						
							cb7aaa7111 
							
						 
					 
					
						
						
							
							Fix: move to root  
						
						
						
					 
					
						2017-09-24 17:18:38 +08:00