Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Forum FAQ and Information Forum Talk 
Thread started 24 Jan 2015 (Saturday) 20:25
Search threadPrev/next
sponsored links (only for non-logged)

Chrome browser extension for POTN (unofficial)

 
this thread is locked
btweller
Member
213 posts
Likes: 43
Joined Nov 2011
Location: Hickory Hills, IL
     
Jan 24, 2015 20:25 |  #1

I've been working on a Chrome browser extension to customize POTN for the last week or so and thought I'd throw it out there for anyone who might be interested in giving it a try. I've added keyboard shortcuts similar to Gmail to allow me to navigate through the forum (at least the parts that I use most frequently), and I've overridden the color scheme of the site to make it dark.

For anyone that's interested, here's the github repository:

https://github.com/btw​eller/potn-extension (external link)

It isn't packaged up for release, so you'll have to load it as an unpacked extension...the README.md in the repository has all of the details. I'm going to leave it like that for the time being since things are still changing fairly regularly and I fix little things as I notice them. For those unfamiliar with Git, you can just use the Download As Zip link on the repository page...then unzip the folder on your computer and follow the usage instructions in the README.md file starting at the second bullet point.

For anyone technically inclined, feel free to add functionality and submit pull requests with new features.

Here are a couple screenshots that show the updated color scheme:


HOSTED PHOTO
please log in to view hosted photos in full size.



HOSTED PHOTO
please log in to view hosted photos in full size.


Enjoy!

-Brian



  
  LOG IN TO REPLY
Chet
showed up to keep the place interesting
44,018 posts
Gallery: 132 photos
Likes: 2462
Joined Sep 2007
     
Jan 24, 2015 20:34 |  #2

Hmmm... -?




  
  LOG IN TO REPLY
btweller
THREAD ­ STARTER
Member
213 posts
Likes: 43
Joined Nov 2011
Location: Hickory Hills, IL
     
Jan 24, 2015 20:46 as a reply to  @ Chet's post |  #3

Hmmm indeed. :-) Your skepticism serves you well, but I assure you there's nothing malicious in the extension. It doesn't even work on any other domain than https://photography-on-the.net/ per the manifest.json file.

Hopefully someone knowledgeable in javascript will be by shortly to review the code and provide some feedback.




  
  LOG IN TO REPLY
jocau
Goldmember
Avatar
1,838 posts
Gallery: 11 photos
Likes: 338
Joined Mar 2012
Location: Belgium
     
Jan 25, 2015 03:16 |  #4

I like the thought of it, but there are some readability problems with it because of the chosen (font) colors.

  • Forum Threads List (screenshot 1): below each thread title the text "by <username> (xx hours ago)" can be seen. The font color and the background color are too similar.
  • Forum Threads List (screenshot 1): at the end of the thread title the page numbers are listed. Some are in grey (e.g. thread "POST YOUR HEADSHOTS! [page 1, last page: page 21]"). The font color and the background color are too similar.
  • Thread Posts List (screenshot 2): the font color of the info below the user's avatar is grey (e.g. "1,787 posts Joined Mar 2005"). The font color and the background color are too similar.
  • Thread Posts List (screenshot 2): the font color of the post number (in the upper right corner of a post) is grey (e.g. "#47"). The font color and the background color are too similar.
  • Thread Posts List (screenshot 2): the green border around the first post feels out of place (and it doesn't fit the other colors used).

550D | EF-S 18-55mm F/3.5-5.6 IS | EF 50mm F/1.8 II | EF 70-200mm F/4L IS | Speedlite 580EX II | LumoPro LP180 | Gitzo GT3541XLS | Arca-Swiss Monoball Z1 SP | ONA Bowery (black, non-leather) (external link)

  
  LOG IN TO REPLY
btweller
THREAD ­ STARTER
Member
213 posts
Likes: 43
Joined Nov 2011
Location: Hickory Hills, IL
     
Jan 25, 2015 16:40 as a reply to  @ jocau's post |  #5

Thank you for the feedback...I knocked out most of the items you listed. The green was lifted from the default style's current page indicator in the pagination area...I'm a programmer and I suck at design, so I really have no idea what a better color would be. :-/ It basically provides context as to which thread/post is currently selected...the main reason for this is that if you press the 'o' key, it opens the selected thread...without a visual indicator, you would be guessing as to which thread would be opening.

I use the extension primarily for the keyboard shortcuts that it adds for me...I spend most of my days in IDEs, terminal windows and text editors, and I've grown accustomed to having light text on dark background, so that's where I'm coming from with the color scheme. I put in the ability to disable the CSS styles by using the t+d combination (toggle dark)...it stores your choice so that any subsequent tabs that you open retain your choice, and whenever you come back to the site it remembers your last setting.

At some point, I'd like to add an options dialog to enable/disable functionality (keyboard shortcuts are always on, for example, and you can't pick and choose which shortcuts to use, short of commenting them out in the code), but I've got a ton of other things demanding my attention.

Anyway, thank you for the feedback...here are some updated screenshots:



HOSTED PHOTO
please log in to view hosted photos in full size.



HOSTED PHOTO
please log in to view hosted photos in full size.




  
  LOG IN TO REPLY
rrblint
Listen! .... do you smell something?
Avatar
23,088 posts
Gallery: 84 photos
Best ofs: 2
Likes: 2889
Joined May 2012
Location: U.S.A.
     
Jan 26, 2015 21:50 |  #6

Has Pekka authorized this?


Mark

  
  LOG IN TO REPLY
jocau
Goldmember
Avatar
1,838 posts
Gallery: 11 photos
Likes: 338
Joined Mar 2012
Location: Belgium
     
Jan 27, 2015 04:56 as a reply to  @ rrblint's post |  #7

I don't see how this requires authorization. It's something that happens on the client side, it has no effect on the POTN forum (server side). It's comparable to people who use Adblock or a custom CSS file.


550D | EF-S 18-55mm F/3.5-5.6 IS | EF 50mm F/1.8 II | EF 70-200mm F/4L IS | Speedlite 580EX II | LumoPro LP180 | Gitzo GT3541XLS | Arca-Swiss Monoball Z1 SP | ONA Bowery (black, non-leather) (external link)

  
  LOG IN TO REPLY
Tom_D
Goldmember
Avatar
1,425 posts
Gallery: 8 photos
Likes: 15
Joined Aug 2005
Location: Napa ~ on the edge of retirement.
     
Jan 27, 2015 08:23 |  #8

Interesting. I'll follow this and see how it progresses.


Gallery (external link)
7DMkII, 40D, 17-55, 70-200 f/2.8 IS and more...
More Wag, Less Bark

  
  LOG IN TO REPLY
Pekka
El General Moderator
Avatar
18,381 posts
Gallery: 36 photos
Best ofs: 7
Likes: 2428
Joined Mar 2001
Location: Hellsinki, Finland
     
Jan 27, 2015 15:27 |  #9

jocau wrote in post #17402165 (external link)
I don't see how this requires authorization. It's something that happens on the client side, it has no effect on the POTN forum (server side). It's comparable to people who use Adblock or a custom CSS file.

Just remember: bad Javascript can mess things up (I'm not saying you have that, but still), and untouched DOM is an integral element for bug-free functionality.

So here's the official disclaimer: any AMASS bugs reported by people using this (or any other similar) extension will be ignored.


The Forum Boss, El General Moderator
AMASS 2.5 Changelog (installed here now)

  
  LOG IN TO REPLY
jocau
Goldmember
Avatar
1,838 posts
Gallery: 11 photos
Likes: 338
Joined Mar 2012
Location: Belgium
Post edited over 8 years ago by jocau.
     
Jan 27, 2015 16:33 |  #10

Pekka wrote in post #17402931 (external link)
Just remember: bad Javascript can mess things up (I'm not saying you have that, but still), and untouched DOM is an integral element for bug-free functionality.

So here's the official disclaimer: any AMASS bugs reported by people using this (or any other similar) extension will be ignored.

Yes, that's true, but it would mess things up on the client side as far as I know. No harm would be done to the server side. I'm not using the extension by the way (and also a Firefox user here). Also a logical official disclaimer from your side.


550D | EF-S 18-55mm F/3.5-5.6 IS | EF 50mm F/1.8 II | EF 70-200mm F/4L IS | Speedlite 580EX II | LumoPro LP180 | Gitzo GT3541XLS | Arca-Swiss Monoball Z1 SP | ONA Bowery (black, non-leather) (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

2,496 views & 2 likes for this thread, 6 members have posted to it and it is followed by 4 members.
Chrome browser extension for POTN (unofficial)
FORUMS Forum FAQ and Information Forum Talk 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Niagara Wedding Photographer
1078 guests, 123 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.