Chromified All-In-One Prototype:
← Older revision
Revision as of 22:36, 11 August 2013
(includes 1 intermediate revision)
Line 476:
Line 476:
I modified the userscript to work with Chrome (I have version 28.0.1500.95). It's a bit of a hack, but hey-- it works for the most part!
I modified the userscript to work with Chrome (I have version 28.0.1500.95). It's a bit of a hack, but hey-- it works for the most part!
-
I tested the basics, if anyone wants to test it, download it here: http://cl.ly/
QhpJ
/allinone.user.js
+
I tested the basics, if anyone wants to test it, download it here: http://cl.ly/
QkAX
/allinone.user.js
To install:
To install:
1. Download the file (it'll likely complain that you can only use the Chrome App Store, ignore it because it's downloaded anyway)
1. Download the file (it'll likely complain that you can only use the Chrome App Store, ignore it because it's downloaded anyway)
Line 482:
Line 482:
3. Open the URL chrome://extensions in Chrome and drag and drop the allinone.user.js into that window.
3. Open the URL chrome://extensions in Chrome and drag and drop the allinone.user.js into that window.
4. Click Accept/OK/Sure/whatever it says when it asks about security to install it.
4. Click Accept/OK/Sure/whatever it says when it asks about security to install it.
-
[[User:Atarifanatic|Atari]] 02:13, 8 August 2013 (UTC)
+
[[User:Atarifanatic|Atari]] 02:13, 8
August 2013 (UTC), edited 14:58, 11
August 2013 (UTC)
Line 491:
Line 491:
::I wasn't even aware that was a thing, honestly! If anything, I'm just going to keep working on this in case people don't want to download another extension for whatever reason. Also because I find it fun, cough cough. The "|<" is a problem even without tampermonkey, so it must be a Chrome thing. I'll start to look into that, even if just because of cosmetic reasons. Also, gh0st, what's the problem with the navbar/subtitles? I've got this just fine: [http://cl.ly/image/0j361g3C1x2n/i.png screenshot] [[User:Atarifanatic|Atari]] 20:54, 10 August 2013 (UTC)
::I wasn't even aware that was a thing, honestly! If anything, I'm just going to keep working on this in case people don't want to download another extension for whatever reason. Also because I find it fun, cough cough. The "|<" is a problem even without tampermonkey, so it must be a Chrome thing. I'll start to look into that, even if just because of cosmetic reasons. Also, gh0st, what's the problem with the navbar/subtitles? I've got this just fine: [http://cl.ly/image/0j361g3C1x2n/i.png screenshot] [[User:Atarifanatic|Atari]] 20:54, 10 August 2013 (UTC)
:::Hmm... try this:<pre>prevButton.style.whiteSpace = "nowrap";</pre>should fix the wrapping, though I haven't tested it. As for the subtitles, it looks like you're still using GM_xmlHttpRequest to fetch those, so presumably you have something set up that lets you do that... I doubt Chrome has that builtin (and what it does have builtin wouldn't let you make a replacement, since it's cross-site and all). {{User:Phlip/sig}} 23:09, 10 August 2013 (UTC)
:::Hmm... try this:<pre>prevButton.style.whiteSpace = "nowrap";</pre>should fix the wrapping, though I haven't tested it. As for the subtitles, it looks like you're still using GM_xmlHttpRequest to fetch those, so presumably you have something set up that lets you do that... I doubt Chrome has that builtin (and what it does have builtin wouldn't let you make a replacement, since it's cross-site and all). {{User:Phlip/sig}} 23:09, 10 August 2013 (UTC)
+
:::: That bit of code worked out! Although, I'm kinda confused on why Chrome would decide to wrap a button. With the subtitles, I honestly don't know what in my version of Chrome is making it work. Even with only the All-in-one extension added, it works. I tried looking it up and it seems to be implied that it was broken on version 27, but it works on 28 (which is odd in the first place because GM_ is GreaseMonkey, not Chrome), as referenced by [https://code.google.com/p/chromium/issues/detail?id=242890 this issue in the bugtracker]. [[User:Atarifanatic|Atari]] 14:58, 11 August 2013 (UTC)
what if you made it a plugin in the chrome store possibly easier to update?? and philip are you back to help code it to work again?
what if you made it a plugin in the chrome store possibly easier to update?? and philip are you back to help code it to work again?
+
:I decided to work on this one and came up with this buggy little .crx: http://cl.ly/Ql2w/HRAIO.crx It's got some problems with the scaling that I couldn't figure out (if anyone could help, that'd be great; I just have to wait for tomorrow to upload the source). I'm much better with making my own code than editing that of others', so I wouldn't be surprised if I made a mess out of it. But hey, now the button's in the Chrome toolbar! [[User:Atarifanatic|Atari]] 22:36, 11 August 2013 (UTC)