Giter Club home page Giter Club logo

4chan-js's People

Contributors

cyggy avatar desuwa avatar fission-aad avatar king-jaffe-joffer avatar mootykins 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

4chan-js's Issues

Yotsuba Catalog Integration

For instance, the option of having the board navigation links point to the catalog of each board rather than page 0 or a link to the catalog of a board when on the thread index.

Scroll position after closing an inline image expansion

If you close (clicking on an inline expanded image) a big image that was inline expanded you end up at the same scroll depth you were at when the image was still expanded. This has the effect for example if the image was taller than the screen height you scrolled a bit downwards while the image being expanded, you suddenly are several posts deeper than before closing.

Can't delete post when posting from China

(hope I'm leaving this in the right place) Posting from China using a 4chan pass but for some reason I'm not able to delete my posts. However I can report people, so it's not all that bad.

Any way around this or is it impossible to fix this?

[Feature Request] 4chan pass functionality

Since expanding all images would waste too much bandwidth as a default setting why not add it to 4chan pass?

Make it a second tier pass for $25 to cover the bandwidth use.

[Feature request] Persistent QR

A QR window that stays open all the time, like 4chan X.

Related requests: make post ID links add to the QR text edit when it's open, option to hide post form (and make links open QR instead consequently)

To be honest I would try to do some of this myself, but the single-file-source style development of these extensions really punches me in the balls.

Custom spoilers

The API repo's issue tracker is still closed, so I'm posting this here.

/vg/ uses /v/'s spoiler image (http://static.4chan.org/image/spoiler-v.png), but the custom_spoiler is set to "0". plz fix etc

Post builder incomplete

emailEnd  + capcodeStart + emailEnd

WTF

You set capcode but never end up using it?

data.sub.replace(',', ',');

First of all: WTF, 4chan
Second: that replaces only the first instance of ,.

    if (data.filename.length > 40) {
      shortFile = data.filename.slice(0, 35) + '(...)' + data.ext;
    }

OPs have a +10 filename length threshold.

container.className = 'postContainer replyContainer';

Even for OPs?

Cumon @desuwa, step it up.

Saving Pictures With the uploaded Filename

Is there anyway to enable that, cause my pic folder is just a swath of meaningless numbers. I know 4chanPlus had that for a while, but since this extension is on the site itself I thought it might be possible. Hell I'd be fine with 1350273866784-(original filename).

Minimum browser requirements

As the title says - what are the "official" minimum browser requirements for the inline extension? Quickly skimming through the code, I figure it'd probably work on IE8 (but not earlier, due to the usage of localStorage), but I'm not seeing any official mentions in regards to this anywhere. You should add a note about this on the site itself, since with the extension being native to the site means that it's available (but not necessary working) for any browser out there, not just the few (generally non-terrible) browsers that support userscripts.

Filtered Post Stub/Tag Labeling

I'm selfishly asking for a feature that may be only wanted by me but it might be useful for other 4channers.

I'd like for the stub/tag to tell why the thread/comment is filtered instead of just the showing the usual user id, date, and post number which is mostly just useless when it's just anon.

Filtering a post is like making it a spoiler currently and the way spoilers work sucks as you really have no idea what's inside of it until you click it which is probably intended. Finding out why a post is filtered could be difficult if the filter made was too generic and/or if your filter list is considerably long. Making an easy way to group filters might make this search easier.

Also, perhaps directly from the filtered thread/comment itself, the rule in effect can be disabled or deleted or changed.

Also, in a thread, there could be a pop-out window on what filter rules are being used in the thread though is not as important to me as the previous ideas.

Perhaps we can choose what the 'thread/comment tag' says like a general title or something.
Grouping filter rules so they can be commonly identified with them same identifier might be good too.
This was a feature of another 4chan filter that no one probably uses any more plus some of my own ideas. It was called chan monkey or something and was made by this filipino dude or something.
Some of these are ideas are also similar to features of adblock plus.

That is mostly what I had in mind about this topic and I'll maybe make another thread concerning the design of the filter itself with drawings which might be stupid and horrible. Thanks for reading this through if anyone bothers.

Trouble with Thread Watcher Settings tab, and quoting.

Hi there. Having some strange problems. One of them is that I cannot have access to the Settings link to disable TW, it only shows a "javascript void" and nothing happens when I click on it. I have disabled 4chanX 2.34.10 to see if that was the problem, but the latter remains; not 4chanX's fault. THis happens both in the latest versions of FF and Opera (where no scripts are used at all).
The Settings links appear like this:

http://i45.tinypic.com/729lhe.jpg

The other problem is that I cannot quote posts in FireFox anymore (I can in Opera); it seems to be another javascript problem. Now I have to select, copy, and paste the post number and then add the ">>"

So, what do you make of this? Thanks!

[Feature Request] Hide boards I don't visit in left frame

I browse 4chan with frames and it'd be awesome if I could choose which boards are visible on the left for easier access to my favorite ones. Kind of like the current "Show Worksafe Only" feature. I can't be the only person who would find that useful...

Mobile device detection causes tablet devices (iOS) to be blocked from the extension

The way that mobile device detection is done right now is causing (at the least) my iPad to not be able to use the inline extension. If I change the user agent, the extension works fine, so the device detection needs to be tweaked so users are not unnecessarily blocked from using the extension. I think this was caused by @b2351efa5c33ca4bcb09d88be21e92be486a9d3e since it worked fine before around that time.

[Feature request] More auto update options

The auto update feature needs a few additions to truly be useful:

  • Custom timer
  • Always auto update
    Beyond that, these features could be specified for each individual board.

Document API text formattings

The API's issue tracker is closed so I'm posting this here.

The name or email values, for example, are in HTML, when the email should just be rawurlencoded.
So could you indicate that?

Click Update --> New post appears --> Click post number of that post --> Nothing

When you click the update button, and if a new post appears, if you then try to click the post ID/Number of that post, so to add

">>[postnumber]" to your reply-field, nothing happens. You have to hard-refresh the page before clicking matters.

Using Opera
Version 12.01
Build 1532
Platform Linux
System x86_64, 3.3.8-gentoo-test=w=

Double closing </h3> tags on index page

I'm not sure if this is the right place, but I've noticed that around the NSFW markers on the main page a double </h3> tag is been used. (See w3 validator.) The only thing this affects is strict parsers like Expat for people who are trying to pull a live list of boards.

4chan Pass

Once purchasing a 4chan Pass it isn't allowing me to quick reply.

Ability to hide hidden thread stubs

Rather than having a stub for hidden threads, the ability to completely hide threads would be a useful feature for those who want to hide threads for good.

Minor enhancement suggestion for the report system

The majority of posts I report are spam/advertising, and I figure it's the same for everyone.

So, how about making the default selection on the report window "Spam"? This would be a minor change, but would save a lot of clicks per day.

Wrong spoiler image when updated

When a post containing a spoilered image gets added by the thread updater it shows the default spoiler image (spoiler.png) instead of a board specific spoiler image (e. g. spoiler-a.png).

Disable it on /mlp/

Like hell, no one likes ponies and allowing ponies to use this extension is anything but right. There is no reason why they should use 4chan JS, it just makes their browsing experience easier and they will continue to shitpost.

Just make it harder for them, they deserved it. It's the only right choice and you know it.

[Feature Request]Do not embed links when quoted

This kind of bugs me everytime I am browsing, as it ruins the layout of some posts, especially with youtube embeds spawning rather large embed boxes inside of an otherwise well formatted piece of greentext.
Could be optional, but should at least be a possible feature.

Support and document `Parser.parsePost` and similar.

Extensions/userscripts want to use Parser.parsePost, Parser.parseThread and similar for inserted posts, ideally using custom events.

Support includes not changing the name of variables without prior notification.

Save Settings

Using Firefox I have all the history/cache/settings etc wiped when I close the browser, so I was wondering if there was a way to permanently save the settings for the inline extension, at all?

It's not a big deal, I was just curious to whether there was a way to do this.

Thanks moot!

Lack of quotes in /f/.

The API repo's issue tracker is still closed, so I'm posting this here.

The HTML has the quotes, but not the JSON API.

Active XSS vulnerability in embedding

Using html attributes that specify event handlers one can attach js code to an event that will fire eventually if user has embedding enabled.

I.E. http://youtube.com/watch?v=ID"onload="alert('xss')

Can be fixed by adding quotes to filter RegExp as a quick fix.

[Feature request] More image expansion options

As with the auto update feature, image expansion seems to be a bit basic. Proposed additions:

  • Expand all
  • - Always expand
  • Fit screen
  • - Width, height, or a set max of either (e.g. up to 2000 px wide and/or 1000 px high)
    These are the essentials.

Fix Opera Mobile

I tap the settings link, but nothing happens.

Opera Mobile 12.00.ADR-1207201819

[Feature request] Show reply/quoted post on backlink/quote click

Instead of switching to the specified post when clicking on quotes/backlinks, open the post inline, quote pyramid style. Refer to extensions such as 4chan X, which had this feature for a long time.
Probably the main reason to use such extensions in the past, this feels like an essential addition to the list of features.

offline mode

the ability to apply this to script to offline 4chan saved pages.

i save long threads to read later on, and inline navigation is something that i would really love

[api] questions

https://github.com/4chan/4chan-API

1 You may not use "4chan" in the title of your application, product, or service.
2 You may not use the 4chan name, logo, or brand to promote your application, product, or service.

will 4chan x have to change its name

5 You may not clone the live site and its functionality. This means don't suck down our JSON, host it elsewhere, and throw ads around it.

can archivers use the api

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.