Giter Site home page Giter Site logo

hill / tldr-chrome Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 4.0 362 KB

Simplified and community-driven man pages for chrome!

Home Page: https://chrome.google.com/webstore/detail/tldr-chrome/nnmlddkpgoecicoallmimonoboialpap

License: MIT License

JavaScript 95.44% SCSS 4.56%
chrome-extension man-page docs

tldr-chrome's Introduction

This repo is not maintained.

Please use this fork by @piraces instead. Thanks :)

tldr-chrome

๐Ÿ“š A chrome extension for tldr-pages.

๐Ÿšง The Roadmap

(feel free to contribute ๐Ÿ˜„)

Download

Get the extension here

Loading Extension

  • The extension is yet to be released to the chrome webstore.
  • To load the extension, download the repository and open extension preferences in chrome (go to chrome://extensions). Click the box marked developer mode and click the button load unpacked extension... after which you can navigate to the project directory and load tldr chrome
  • Ensure you compile styles/main.scss to styles/main.css

How it works

  • Highlight and right click a command on your webpage and select tldr in the drop down - a tooltip should appear with information fetched from tldr-pages

tldr-chrome's People

Contributors

hill avatar ljqiii avatar owenvoke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tldr-chrome's Issues

Refactor to a consistent syntax

A couple of things for this, but mainly picking which type of JavaScript syntax to use.

I noticed that there is a use of let at the top, which is ES2015 and then var throughout the script, which is standard JavaScript.

Which syntax would you prefer to use?

External stylesheet with unique id

In Chrome extensions, you can specify a stylesheet which I think may be a better way of managing the files. (see content_scripts)

In v0.2.0 it mentions to remove inherited styles from the document, it may be worth applying a unique id to the main popup (as you will only have 1 at a time) such as #tldr-chrome-popup, and then apply the styles under this.

I've tested this locally and it seems to work fine. It would also mean that the styles wouldn't be applied dynamically as in main.js#L8 and throughout main.js.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.