Commit Graph

57 Commits

Author SHA1 Message Date
Tamius Han
081f8e968f added auto-disable if autodetection takes too long 2018-05-04 00:27:40 +02:00
Tamius Han
cdd533e093 think this should be good for release 2018-05-02 17:52:25 +02:00
Tamius Han
9a5f586eaf Fixes to aspect ratio detection: guardline/black line now works properly-ish. By accident also managed to correct the bug where aspect ratio detection was mildly screwed in theater mode? 2018-05-01 23:09:58 +02:00
Tamius Han
9e044ac66f added a debug canvas for ArDetect to draw on in debug mode 2018-04-26 00:40:09 +02:00
Tamius Han
eebed0e1c4 turned on logging in debug.js 2018-04-22 17:10:36 +02:00
Tamius Han
77e1f711fd enabled logging for player dimensions 2018-04-11 19:59:00 +02:00
Tamius Han
59d741b8a5 Tried implementing some checks that would prevent aspect ratio from changing if our edge candidate is text on black background. 2018-04-11 00:19:44 +02:00
Tamius Han
44828b3ecf Tried to fix aspect ratio autodetection on netflix but ended up watching the entire Altered Carbon instead.
Just kidding, I also fixed the autodetection on netflix. And the bit where key for netflix in SitesConf.js was wrong.
2018-03-18 15:14:57 +01:00
Tamius Han
61a3b07c6b Fixed some issues with detecting player size changes (esp. on youtube), where switching from normal player to full screen player wouldn't be handled correctly. 2018-03-14 23:51:13 +01:00
Tamius Han
c35774c36f Chrome kinda works according to 1 beta tester. Fixed few other chrome-specific bugs I've noticed. Fixed the font inclusion (hopefully) 2018-03-14 21:19:15 +01:00
Tamius Han
e6efaf52d8 Split settings between Settings.js (handles loading and saving) and ExtensionConf.js (actual configuration). All settings are now handled in background script (content scripts get ExtensionConf from background script). Saving seems to work. 2018-03-13 23:55:38 +01:00
Tamius Han
13a928b90e ar fixed, disabling/enabling sites roughly works. 2018-03-11 18:00:47 +01:00
Tamius Han
d079a84005 Sitesconf comeback complete. Need to implement adding and changing settings for sites in the popup and the background script. 2018-03-11 00:49:29 +01:00
Tamius Han
15aeefbd8c retiring whitelist/blacklist arrays in Settings, SitesConf is making a comeback instead 2018-03-10 23:25:30 +01:00
Tamius Han
7db22fb466 RAM leak issue should be fixed for the most part. We did it ~~reddit~~github! (NOTE: there's still other things that need fixing before I let this into prod) 2018-03-08 22:22:42 +01:00
Tamius Han
93d3b064da end of the day commit. multiple concurrent instances seems to be at least somewhat under control, but other parts of extension still need modifications and testing. 2018-03-07 23:49:43 +01:00
Tamius Han
18f1ea26a7 The memory usage situation improved but still far from ideal, both in terms of memory usage as well as polling frequency and video resolution we settled for. 2018-03-05 23:55:14 +01:00
Tamius Han
4f37fe059f tried and failed some more at getting solution to garbage garbage collector 2018-03-04 23:07:11 +01:00
Tamius Han
6c9f3c537c The more I try to fix ArDetect, the more broken it is :/ 2018-03-03 23:58:29 +01:00
Tamius Han
3bd28842e1 Tried my hand at fixing memory leak. ArDetect — no dice. Ghetto watcher for changes in player size now saves the HTML element that's deemed to be the player frame and uses said node for size tests in subsequent iterations (as opposed to searching for player node on every frame). Also hopefully fixed the bug with custom settings for individual sites not
getting saved.
2018-02-26 22:38:17 +01:00
Tamius Han
a33c3656ad Merge branch 'stable-ytfix' 2018-02-25 21:41:44 +01:00
Tamius Han
724c856f0c Disabled imgur. 2018-02-25 21:38:42 +01:00
Tamius Han
6edcd4f0fb fix for #22 — reddit should be blacklisted by default now 2018-02-22 22:20:15 +01:00
Tamius Han
728fa0a0b3 fixed #24 and prolly #23 2018-02-22 22:14:52 +01:00
Tamius Han
3896bff39b fix for youtube screwy that happened this week 2018-02-22 22:10:13 +01:00
Tamius Han
aa30ebaa88 committing some stuff before hotfixing #24 2018-02-22 21:06:57 +01:00
Tamius Han
28014f5ff1 Of course ArDetect was bugged. Fixed most of those bugs. 2018-02-16 00:19:08 +01:00
Tamius Han
8c59faa25c New ArDetect almost finished. Not tested and no console.logs yet tho. 2018-02-15 22:59:31 +01:00
Tamius Han
90b1d8935c Started rewrite of autodetection. 2018-02-15 00:17:58 +01:00
Tamius Han
4daa054169 Fixed a series of small bugs with autodetection. 2018-02-12 23:28:31 +01:00
Tamius Han
f284c8b48a enabled logging 2018-02-06 19:51:31 +01:00
Tamius Han
1ceca7c293 Debug mode off, updated readme, manifest.json is now written for Chrome 2018-02-06 00:48:13 +01:00
Tamius Han
fc4f073e5d fix for #20 2018-02-05 22:46:38 +01:00
Tamius Han
2c0f0ed607 Release v2.1.0 (sans readme) 2018-02-04 17:39:26 +01:00
Tamius Han
b13eff44e3 Reworked popup warnings. Chrome doesn't work again. 2018-02-02 00:21:29 +01:00
Tamius Han
174c987690 Keyboard shortcuts get loaded in popup, fixed 'reset' button in popup. 2018-02-01 00:26:16 +01:00
Tamius Han
7e848332ce Fixed keyboard not working in Firefox/twitch. 2018-01-30 23:36:03 +01:00
Tamius Han
e51faaf934 New comms between [uw.js <==> uw-bg.js <==> popup.js] established. Working in Firefox, not in Chrome — potentially due to Promise.all() (try replacing with for(promise of promises) await promise) 2018-01-26 00:09:08 +01:00
Tamius Han
85a6a680b9 Optimizations and changes. 2018-01-20 22:59:31 +01:00
Tamius Han
3b3430ddce Merged FullScreenDetect into PlayerDetect. Youtube: switching between theater mode, full screen and normal mode works properly. Vimeo still broken. 2018-01-18 22:34:42 +01:00
Tamius Han
9265a336bc Trying to add blanket support for theater mode. Changing aspect ratio works in youtube theater mode, but only when manually launched. Chaning to full screen mode stops it. This commit breaks vimeo support. 2018-01-18 00:11:03 +01:00
unknown
7175db885e Updated README.md 2018-01-12 23:31:03 +01:00
Tamius Han
33acbe5015 Okay then. Turns out background script might not be necessary. (Even though not yet removed from the projects, popup now communicates directly with the tab as opposed to background page which forwards everything to the tab. I think. But this means even Chrome — as shit as it is — might be able to do the popup stuff without me having to maintain another
version of code that does the same thing.)
2018-01-10 23:16:07 +01:00
Tamius Han
45c986d66d Chrome is fucking cancer and its sendMessage() (both in chrome.tabs as well as chrome.runtime) sucks major ass. 2018-01-08 22:48:45 +01:00
Tamius Han
4b61325c58 Attempt at fixing Chrome's UI. Not successful because Chrome documentation is TL;DR 2018-01-06 22:58:31 +01:00
Tamius Han
d8ee278491 Fixed bug with popup buttons for forcing aspect ratio not always working. Autodetection can no longer get triggered by small changes in aspect ratio (but will get triggered if change is a small amount over the treshold still) 2018-01-02 03:36:29 +01:00
Tamius Han
5ad7144e67 Version 2.0! Woohoooo! 2017-12-31 18:28:03 +01:00
Tamius Han
ec6dfadb41 Some basic settings for keyboard shortcuts. 2017-12-30 20:53:15 +01:00
Tamius Han
82dd71eb5b Keyboard settings work (modifiers untested) 2017-12-30 12:55:58 +01:00
Tamius Han
de2677fdd6 Added ui/popup window (and it kinda works) 2017-12-29 23:34:40 +01:00