Giter VIP home page Giter VIP logo

reddit-enhancement-suite's People

Contributors

aaronjbrown avatar ajedi32 avatar allthefoxes avatar benmcgarry avatar calvinli avatar corylulu avatar cybershadow avatar ddevault avatar dependabot[bot] avatar dhensche avatar elijahpepe avatar erikdesjardins avatar gamefreak avatar githue avatar honestbleeps avatar jewel-andraia avatar joey5755 avatar jonbons avatar kevinji avatar larsjohnsen avatar listentous avatar markekraus avatar matheod avatar patricksnape avatar rapkin avatar sgtfrankieboy avatar thybag avatar umbrae avatar waglik avatar wojtekmaj avatar

Stargazers

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

Watchers

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

reddit-enhancement-suite's Issues

[Option] Add inverse NSFW filter

Possibly allowing more granular filtering of NSFW content, eg using 3 radio buttons 'All', 'NSFW (only)' or 'SFW (only)'.

Requested. Pursuant to this post, amongst others.

Save/unsave doesn't work in multi-reddits

When trying to save/unsave a submission in a multi-reddit (like http://www.reddit.com/r/gifs+gif) an error is shown saying that saving failed. This happens because the subreddit is posted alongside the other parameter if it is present, and, in case of a multi-reddit, reddit seems to choke on the "+" in it.
From my point of view, there is no need to post the subreddit when saving/unsaving, as the normal reddit function (with res disabled) doesn't do this.

Image drag/resize stops when mouse 'escapes' image.

Instead of following the mouse, if you go to fast resizing an image (or go widthwise on a long image), the mouse will escape and as soon as the mouse is off of the image, it stops resizing.

A fix is to have the mousemove function bind to the document or body elements instead of the image. I'm looking at the source now but it'll take me a while to make heads or tails of it.

Use markdown for README

Not booted into Linux right now, otherwise I would do it myself. Plain text looks, to be blunt, really ugly. GitHub has integrated Markdown parsing (many other types too, but most people use Markdown) anyways.

Inline Image Viewer marks only one (image) link

When I use the Inline Image Viewer to open several images/videos, only the first image link turns properly purple. All other links stay blue. After reloading the page, markVisited works again once with one image.

Live "Title" length display

It would be nice if RES added a live display of the number of characters typed in the Title section of a new submission, so it's easy to tell how close you are to the 300 character limit.

Live preview losing focus (Chrome)

Using link, quote, code, bullets, numbers, ಠ_ಠ or promote, results in a loss of focus in Chrome but not Firefox. Opera/Safari untested.

Using a looping document.activeElement in the console, it seems Chrome loses focus to the body, while Firefox loses focus entirely (?).

In Chrome this means that shortcuts (F, shift-F etc) become active unless the user explicitly clicks back into the textarea.

I was able to negate this by adding targetTextArea.focus() at the end of the refreshPreview function, but whether this will have a negative performance impact, I have no idea.

Domain filtering partially broken

Didn't want to post a patch up as you can decide for yourself how to work around it. Pursuant to this thread and a few similar ones, I had a look into why it was working on some and not others.

I think it's to do with the subreddit name being sent to the filterDomain function (~13039) not being converted to lowercase, either from postSubreddit or using RESUtils.currentSubreddit(). When this then gets passed to arrayContainsSubstring as reddit and is compared to applyList, it breaks on subreddits with any capitalization. I only realised when I learned that indexOf is case sensitive.

Usual form - if this is off base then quietly burn the evidence.

Scrolling using 'J' in keyboard navigator module doesn't allow NER to work.

If you scroll down through a list of links using the 'J' key, the page doesn't scroll down enough to activate never ending reddit.

You can scroll down using shift+J as long as you are not already at the bottom of the page (not an ideal workaround!)

This has been tested and proven to occur in production versions of Chrome, Safari and Firefox. Presumed to occur in Opera as well.

[Req] Hide/move comment box

Most users don't comment right away when opening the comments. It would be nice to have the option to collapse/hide the
user comment text box (usertext.cloneable) and/or to move it to the bottom.

Username hider reveals user name post-comment edit

After editing a comment, then saving it, your 'real' name is revealed.

See here for original bug report.

Seems the div that DOMNodeInserted captures is the child of the comment that was just edited, not the edited comment itself. If no child comment(s) exist, then no div is inserted, so the event is never triggered.

Errors when using pay.reddit.com

http://redd.it/rt8mh

RES Version: 4.0.3
Browser: Chrome
Browser Version: 18
Cookies Enabled: true
Platform: Windows
I often use the https://pay.reddit.com site to allow for partial encryption of data, at least to remain private from my ISP or employer being able to intercept. However, when RES is enabled, I can't use the save or hide buttons. I get the error "Error caught: JSON parse failure on the following data:" and an OK button. If I disable the RES plugin the buttons work fine.

No errors in the error console, but the following log line is generated:

there is already an alert open. break out. chrome-extension://kbmfpngjjgdllneeigpgjifpgocmfgmb/reddit_enhancement_suite.user.js:1866

(this is when clicking save)

< with trailing characters breaks live preview

RES 4.0.3
Chrome 18

While writing a comment with the live preview on, if I insert a < and another character after it, those characters and rest of the line do not appear in the live preview.

Example:

noremap <C-c> Esc

appears as

noremap

DeviantArt patch

It looks in 'href' instead of 'srcurl' so the expandos never get created. Even changing that doesn't convert all DA links into expandos, and only some for 'fav.me' (though these invariably don't contain an image).

I just put the edits into a diff rather than pollute the main code as it probably needs other additions.

Live preview doesn't handle escaping well

It does handle it in specific cases like \* but it is not universal. For example, \> will yield \> in the output instead of \.

The correct output would be > not \>

[Req] Option to remove unread count from title bar.

I can't find the comment thread that discusses it, but I believe hb said he would add it to the work stack. Currently one can remove the counter from the orangered, but this doesn't affect the counter in the title bar.

Going to a permalink enables comment navigator even if set to hide by default

If you go to a permalink of a comment, the comment navigator stuff appears at the top of the screen, even if you have comment navigator turned on, but the 'show by default' setting set to 'off' in your RES settings.

A random permalink to show you: http://www.reddit.com/r/Enhancement/comments/rcheo/getting_res_error_click_it_and_it_tells_me_to_set/c476mma

The comments thread itself: http://www.reddit.com/r/Enhancement/comments/rcheo/getting_res_error_click_it_and_it_tells_me_to_set/

Disable ignoreDublicates in Inline Image viewer by default?

I'm sorry if this has been discussed before.

I don't think most people like it. The way I see it, it is a little irritating because you might want to see the image where it's located even though it's a duplicate. It is useful though in that you can know it's a duplicate before you even open it, but this could also be achieved by a small notice by the button saying [dublicate], and then you could open the image well knowing that you'd seen it before.

So I think that option should be disabled by default. But that's only my opinion.

Spam button causing error in JS Console.

  • RES Version: 4.0.3
  • Browser: Chrome
  • Browser Version: 16
  • Cookies Enabled: true
  • Platform: Mac

When trying to report this user as a spammer: http://www.reddit.com/user/tfotilessydney
the spam link fails to work and the following error appears in my javascript console.

Uncaught TypeError: Cannot read property 'href' of null
modules.spamButton.reportPost

I'm guessing the problem is caused by the fact that the spammer hasn't made any posts before, just one comment.

Didn't want to post this on /r/enhancement because I didn't want to highlight the sample spammer too much.

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.