Giter Site home page Giter Site logo

antrikshy / x-poster Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 156 KB

Safari extension that adds an 'xpost' button on a post's comments page, which allows you to share content across subreddits with a single click

License: MIT License

JavaScript 100.00%

x-poster's Introduction

x-poster

A small, lightweight Safari extension that enables an xpost option on reddit's comment pages.

When you normally want to share content from one subreddit to another, you copy the link, open a new submission page, paste the URL, copy-paste or compose a title, add "x-post from /r/blabla", type in the subreddit name and hit submit. Phew! Even typing that was hard. With x-poster installed, you can simply click the newly added xpost button (next to the other buttons, like share, hide, save) under the post title on the comments page. It redirects you to the submission page with the title already filled in (with an x-post message), URL copy-pasted etc. You just need to type in the subreddit and submit.

Contribute

Just fork, clone to your computer, make changes (I don't think you need to have a Safari developer account), test thouroughly, send me a pull request.

What to contribute? Here are some ideas:

  • Open submission page in new tab (really simple, I'll add this anyway when I release a version with significant changes).
  • Get around the '?resubmit=true' URL parameter without taking the user to an already-submitted page. Or at least find a way to notify the user that their xpost will force a resubmission even if the link has been posted to the new subreddit (inject non-intrusive CSS/JS/div?).
  • Somehow handle self posts more elegantly.

Report Issues

If you run into any problems with this extension, write in the Issues for this repo (in the right sidebar) or message /u/Antrikshy on reddit.

x-poster's People

Contributors

antrikshy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.