Author Topic: Calculator Stuff (Google Chrome extension)  (Read 19588 times)

0 Members and 2 Guests are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Calculator Stuff (Google Chrome extension)
« on: December 12, 2011, 12:26:09 am »
Because I have so many things I need to do right now, I figured I'd waste a few more hours by learning how to make Google Chrome extensions. After I read through Google's little tutorial on this stuff, I thought to myself "this is fun, but what's the point?" Well, remember that post notifier tool SirCmpwn made a few months (over a year) back? I figured that since not everyone is on a Windows computer with C# runtime installed, and since Chrome is quickly becoming the most popular web browser out there, I'd make that sort of thing into an extension.

It currently checks for new posts on Omnimaga and Cemetech every thirty seconds, but I can easily add more forums, as long as they have an RSS2 feed. Click on the tabs to switch between the two feeds, and click on the topic titles to open the link. There's an occasional problem with Cemetech's feed sometimes randomly generating only one recent post (instead of five), but that's something I can't deal with.

Download version 1.4

It now has a lot of other stuff too, not just feeds!

One thing it adds is context-menu items for special characters. Right-click in any text box to quickly insert a character like theta or the store symbol.

It also adds a custom address-bar function for instant information on TI-BASIC commands—just type "basic" in the URL bar, press Tab, and start typing a command name, and it'll show you syntax and description for that command!



« Last Edit: January 29, 2012, 10:49:07 am by Deep Thought »




Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #1 on: December 12, 2011, 12:31:16 am »
Nice! I'm downloading this.

And I downloaded it and it looks nice :)
« Last Edit: December 12, 2011, 12:31:56 am by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #2 on: December 12, 2011, 12:43:14 am »
By the way, the only quick fix I've found to the Cemetech issue is to go to http://www.cemetech.net/forum/rss.php?c=5 and refresh a couple dozen times until the scrollbar becomes smaller. Then wait half a minute for the notifier to reload ;D
« Last Edit: December 12, 2011, 12:54:37 am by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #3 on: December 12, 2011, 12:46:05 am »
Seems nice. I wonder if it could be uploaded direclty in your post or the server so it can be added on Omni's front page, along with the SirCmpwn's notifier already there? :)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #4 on: December 12, 2011, 12:53:49 am »
Seems nice. I wonder if it could be uploaded direclty in your post or the server so it can be added on Omni's front page, along with the SirCmpwn's notifier already there? :)
The file is just a download—all extensions are saved in your local Chrome folder. Anyone can upload the CRX file to Omni for me, but I might update it often and I need to go to bed now.




Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #5 on: December 12, 2011, 01:17:49 am »
You should upload it to the Chrome Web Store. Oh wait it needs a credit card agggggghhhhhh D:

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #6 on: December 12, 2011, 05:24:48 pm »
This is so cool!  Excellent work, Deep!  It seems to work very well for me.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #7 on: December 13, 2011, 08:42:18 pm »
Huge update with lots of new features!

The new version (new URL, still in the first post) now remembers what tab you were on last time, and adds some really useful options.

Switch between "New posts" and "New topics" to subscribe to either the newest posts or the most recently created topics.

Check "Show only news" to subscribe to only posts or topics in the News forum. For Cemetech, this also implies the "New topics" option.

Use the drop-down menus to select the number of posts to fetch from each feed, and the delay between fetches. Delay ranges from 15s and 3m; if you don't need to check too often, I recommend choosing a higher value to avoid spamming the two sites with requests. Default is 5 posts every 60 seconds.

Unfortunately, I was stupid enough to delete the extension key file Google Chrome specifically told me not to delete, so you must uninstall the previous version before downloading the new one. You can do this either from chrome://settings/extensionSettings or by right-clicking on the extension's toolbar button and selecting Remove.




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #8 on: December 13, 2011, 09:14:08 pm »
A suggestion I got would be to make it so it's possible to disable certain sub-forums. For example I don't check the spam section very much and on Cemetech I rarely ever check the Blockland/Minecraft stuff, so it would be nice if we could disable those.

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #9 on: December 13, 2011, 09:27:11 pm »
This is giving me a reason to download Chrome.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #10 on: December 13, 2011, 09:46:45 pm »
This is giving me a reason to download Chrome.
Or wait for a Firefox version. :P
Vy'o'us pleorsdti thl'e gjaemue

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #11 on: December 13, 2011, 10:36:37 pm »
Very cool, I won't really be able to use this until I get more RAM on this box (Chrome is a RAM-beast :P), but it looks pretty sweet.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier
« Reply #12 on: December 19, 2011, 01:47:07 pm »
Update (1.2)

New featuresChanged features
  • Now uses Atom feeds instead of RSS for greater board support
  • Minimum delay between fetches raised from 15 seconds to 60




Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier extension
« Reply #13 on: December 19, 2011, 01:49:50 pm »
Maybe I should read the firefox docs and see if I can make a clone of this...



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [GOOGLE CHROME] Omnimaga and Cemetech notifier extension
« Reply #14 on: December 19, 2011, 01:56:01 pm »
Glad to see more feeds added. :)

Back then we had the post notifier bot do that in #omnimaga channel including UTI and Cemetech, but some feeds were buggy and both Cemetech and Omni combined averaged at so many posts a day that it made the channel pretty much unuseable for regular chatting. Not to mention the fact it was kinda one-way, as #cemetech didn't have Omnimaga notifications for example (except for a few weeks, but some ppl complained non-stop).