forberg / imgur-Extension

imgur Chrome Extension

Home Page:https://chrome.google.com/webstore/detail/imgur-extension-by-metron/ehoopddfhgaehhmphfcooacjdpmbjlao

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imgur Extension by Metronomik

Licensed under BSD License

This is the repository for the imgur Chrome Extension.

Any questions flick me an email or tweet

A note about full page screen capture

This is flakey due to Chrome not exposing a way for developers to grab the whole page. It's currently achieved by scrolling down the page capturing each visible area and then stitching it all together into a single image.

This means that sites with parallax, fixed headers, infinite scroll etc don't capture very well and there's not a whole lot that can be done about it.

For more info you can read here: https://code.google.com/p/chromium/issues/detail?id=45209

The screen capture code is from an extension utilities library: https://github.com/williamparry/Chrome-Extension-utils

New features in 2.1.0

See above for information about full page screen capture.

For any issues please email william@metronomik.com with your version of Chrome, or tweet @williamparry

Slideshow

You can enable this under "options" by clicking on the cog on the top right.

  • View your favourite images in a slideshow
    • View comments inside the slideshow
  • View your favourite albums in a slideshow
  • Option to view inline images and webm inside comments
  • Option to have your images open in a slideshow context instead of a new tab

Notifications (experimental)

You can enable this under "options" by clicking on the cog on the top right.

Receive desktop notifications for messages and replies. Scheduled to check every 5 minutes.

Changes under the hood

  • Background page is now non-persistent
    • Using chrome.alarms
    • Static context menu handling
  • GifV fix
  • App notifications reimplemented
  • Various other code improvements

How to set up locally

  1. Clone/download the repository
  2. Go to chrome://extensions
  3. Make sure "Developer mode" is checked
  4. Click "Load unpacked extension..."
  5. Navigate to the repository and choose the src folder

While debugging it's a good idea to disable the released version of the extension.

How to submit a bug

  • Disable the existing imgur extension while running this one.
  • Please include what operating system you're using, what version of Chrome and any console errors from the Developer Tools.
  • Some bugs may cascade and break other functionality, so when something is logged as fixed please reload the extension (refresh the chrome://extensions page) before retesting.

Developers

The project is open source, so if you want to fix bugs or implement new features flick me a message and I'll show you the ropes. It's pretty straightforward with abstracted calls such as:

model.authenticated.fetchUserImages().addEventListener('EVENT_SUCCESS', function (images) { } );

Similarly, if you're an extension developer and would like to hook your extension up with mine for extra imgur awesomeness, let me know and we'll work out the interop.

Partners

Lloyd from glyphlibrary 4 will be supplying the icons and screens for the extension.

About

imgur Chrome Extension

https://chrome.google.com/webstore/detail/imgur-extension-by-metron/ehoopddfhgaehhmphfcooacjdpmbjlao


Languages

Language:JavaScript 86.5%Language:CSS 10.8%Language:HTML 2.7%