52 Commits

Author SHA1 Message Date
Nicolas Stepien
b3b224a8df Make $.set use the Chrome storage API.
This is about to get really ugly.
2013-03-29 02:59:20 +01:00
Nicolas Stepien
1b9c606f11 Begin working on Chrome's storage API.
Let's start easy with $.delete.
2013-03-29 02:39:02 +01:00
Nicolas Stepien
48457f2712 name, value -> key, val 2013-03-29 02:07:19 +01:00
Nicolas Stepien
f8f9626a7e Forgot quotes. 2013-03-27 18:54:33 +01:00
Nicolas Stepien
50d091c896 Build $.delete, $.get and $.set depending on the extension type. 2013-03-27 18:41:13 +01:00
Nicolas Stepien
f01d6c974b Hardcode the engine. 2013-03-27 18:33:03 +01:00
Nicolas Stepien
0a08e7500d Get rid of $.unsafeWindow. #968
;_;
2013-03-26 23:48:33 +01:00
Nicolas Stepien
ffea1676fd Fix unsafeWindow for the newer versions of Chrome. #968 2013-03-26 02:58:53 +01:00
Nicolas Stepien
0a41f0ae6c Make Chrome ext/userscript/userjs builds. 2013-03-18 01:43:50 +01:00
Nicolas Stepien
b6f7514605 c = console. replaces $.log 2013-03-12 21:54:40 +01:00
Nicolas Stepien
2b2e0b6d16 GM_openInTab only takes one argument. 2013-03-03 17:33:25 +01:00
Nicolas Stepien
68761aac28 Fix $.open. #932 2013-03-03 17:31:07 +01:00
Nicolas Stepien
c8e2b23faf Better menu positioning code. 2013-03-03 04:39:48 +01:00
Nicolas Stepien
737097e46a Make the menus follow their buttons. #932 2013-03-02 21:50:13 +01:00
Nicolas Stepien
cbd28083d5 Prevent MMB or RMB dialog dragging. #932 2013-02-28 04:41:30 +01:00
Nicolas Stepien
df81ea3815 Don't actually use Blob URL'd stylesheets, they don't get cleared automatically when navigating. 2013-02-28 00:45:14 +01:00
Nicolas Stepien
bdfcf60d8b Fix last file input bugs. #932 2013-02-27 16:04:29 +01:00
Nicolas Stepien
70fdb95586 Add support for pasting files. Close #903. 2013-02-27 04:18:39 +01:00
Nicolas Stepien
345263320a Add thumbnailing support for Opera.
Enjoy your >performance.
Also fixed $.open on Opera.
2013-02-26 00:28:53 +01:00
Nicolas Stepien
aafae54e17 Array::slice.call x -> [x...] 2013-02-25 20:55:31 +01:00
Nicolas Stepien
f1359a75fb Review some of the QR's style/CSS.
Make the Name/E-mail/Subject increase in width when hovered/focused.
2013-02-25 01:43:23 +01:00
Nicolas Stepien
bae05a130e Read posts won't be marked as unread after reloading a thread.
Organize changelog.
Interrupt the watch task when a file has been saved.
2013-02-22 20:46:33 +01:00
Nicolas Stepien
a20d9f7e8b do -> 2013-02-17 18:49:59 +01:00
Nicolas Stepien
67c66a2d4c Fix script storage on Opera. 2013-02-17 18:11:05 +01:00
Nicolas Stepien
479ddffd95 rm $.debounce, better Relative Dates. 2013-02-15 18:48:40 +01:00
Nicolas Stepien
7ab661955e add polyfill.coffee 2013-02-14 23:33:03 +01:00
Nicolas Stepien
20ece62290 Merge branch 'master' into v3 2013-02-14 23:30:44 +01:00
Nicolas Stepien
bfffdbee91 God damn coffee. Also that specific title makes chrome shit itself. 2013-02-14 17:50:25 +01:00
Nicolas Stepien
b91d343679 Use link+blob urls for the stylesheet. That'll help me inspect the css.
I wonder if it matters performance-wise.
2013-02-14 17:28:03 +01:00
Nicolas Stepien
76d352f972 A simplification of the last ui hovering improvement. 2013-02-14 15:39:38 +01:00
Nicolas Stepien
90d6a5a90a Fix Fit width for OPs. 2013-02-14 14:37:43 +01:00
Nicolas Stepien
bbb455c0c5 Automatically reposition a quote preview or image hover once the content is loaded. Close #237. 2013-02-14 12:13:24 +01:00
Nicolas Stepien
7326caf438 Add Image Expansion.
Close #314.
Close #481.
2013-02-14 02:32:22 +01:00
Nicolas Stepien
2b8f808b6b Add the catalog links toggler. 2013-02-13 23:09:40 +01:00
Nicolas Stepien
faee3e0d9e Menu fixes concerning flexbox ordering versus dom ordering. 2013-02-13 20:11:51 +01:00
Nicolas Stepien
2d677acad4 Add the CloseMenu event/API. 2013-02-13 18:24:59 +01:00
Nicolas Stepien
4f28b6d2e5 Add ordering to menu entries, using a flexbox layout. 2013-02-13 18:03:27 +01:00
Nicolas Stepien
566b468327 Some QR fixes.
Use notifications for QR errors and successes! Close #562.
Add an entry to open the QR in the Header's menu.
2013-02-12 03:32:45 +01:00
Nicolas Stepien
82249ef3ec Add support for 4chan's various themes.
On the catalog, it allows dialogs to be correctly themed as it didn't have the same stylesheets.
Fix #919.
2013-02-12 00:29:04 +01:00
Nicolas Stepien
9de0342dbd Detect current style and style changes.
doc = d.documentElement
2013-02-11 22:25:04 +01:00
Nicolas Stepien
a70b1ee739 Better ux for header bar hiding. 2013-02-11 16:54:03 +01:00
Nicolas Stepien
f4f53b92f2 add $.event 2013-02-11 15:34:37 +01:00
Nicolas Stepien
84617ba149 Use custom events to add our menu entries.
children -> subEntries
2013-02-11 14:11:49 +01:00
Nicolas Stepien
8b836aec8d Add Notifications.
Add error handling. I don't feel like I did a good job of it, might revisit later.
2013-02-10 23:15:06 +01:00
Nicolas Stepien
b6cf7220c4 Most of the Header is done, see changelog file.
Add 4chan and 4chan X settings links in the header's menu.

Add $.asap.

Add UI.Menu.
The menu API now requires a type ("post" or "header").

Add Get.boardsConfig.
2013-02-09 18:50:21 +01:00
Nicolas Stepien
a7f255fa26 fixes 2013-01-15 15:42:01 +01:00
Nicolas Stepien
3c359bf560 Some sort of catalog support. 2013-01-14 02:52:47 +01:00
Nicolas Stepien
cf55f670c0 Merge branch 'master' into v3
I really need to get back to this.
2013-01-13 19:17:28 +01:00
Nicolas Stepien
2420670104 phantomjs has Function.prototype.bind undefined. 2012-10-17 14:16:57 +02:00
Nicolas Stepien
10f23175cf Fix retuning prematurely when unit testing. 2012-10-17 14:02:57 +02:00