Coder Social home page Coder Social logo

4cs's People

Contributors

dnsev avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

4cs's Issues

HTML injection vulnerability in inline_replace_urls

In inline_replace_urls the script does this:

var text = tags[i].text();
[...]
full_text += text;
[...]
tags[0].before(full_text);

which has the effect of inserting the text from posts into the document as HTML.

Add order value to menu entry

To keep it close to the other submenus when there are scripts like OneeChan, 4chan X Name Sync, and ExLinks that add links to the bottom of the header menu.

Somewhere between 105 and 111 (higher value placing it lower) OneeChan has an order value of 120, and the other two have values of 112.

QR Overlap

Since the 3.8.0 4chanX update the "Choose files" button overlaps the "Sounds" checkbox in the QR, making it unusable

issue

Youtube conflicts with appchanx

Appchan X loads youtube videos inline with the thread, which I personally like better than the 4chan media player's youtube handling. It's probably a personal opinion. Is there a way to disable this? Right now, Appchan X's youtube feature doesn't work since 4chan media player works first.

I'm guessing it's the same with soundcloud. I really like it to be inline with the thread.

Sound player not working

When I go to load a sound by clicking on the sounds button, rather than loading the sound (sounds does change to loading... but nothing ever actually loads) it just takes me to the top of the page. I am also unable to open the Media Player by going to Media Player->Open Player but I can open the Settings page. I'm using Scriptish 0.1.8 with 4chan Media Player 4.7.0.2 on Firefox 22.

If more details are needed let me know.

Firefox/Greasemonkey Speed Issues

This has been an annoyance for Firefox users/myself when using 4cs to play sounds files. Greasemonkey's Javascript seems to run significantly slower than Chrome, and even embedded Javascript code.

This issue is going to be used to:

  • Let people know that yes I'm aware this problem exists
  • Perform some tests and put their results in here

This way, I can see if there's anything that can be done to make this less of a problem.

The userscript can be found here. It runs exclusively on this page.


4chanx V3 is now official

Time to upgrade!
Not really though, just need to move the settings/menu link to somewhere accessible. (On main board pages)

Script breaks upon encountering deleted image

I hit load all sounds at the top and it successfully loaded all the sounds in a thread up to a deleted image, after that all the sounds had a ... after the sounds link, and did not load automatically and did not load when clicked, had to refresh the page to enable them again. An exception needs to be made in the script for deleted files for this case.

Youtube won't play on player

When I try to load a link from Youtube it brings up the player but doesn't load automatically, and is unresponsive when I click the play button. I have not had any problems loading embedded sound images and the audio tag test worked fine for me too. Other sites such as Vimeo work fine. I've disabled my adblock and other scripts but that didn't fix anything.
4chanmediaplayer

Appchan X Compatibility

Yo, your script has interoperability issues with mine (https://github.com/zixaphir/appchan-x/). I could fix it on my side, but it'd be considerably easier to patch on yours. Essentially, I'm asking a favor (please!). My script strips 4chan's default CSS by removing all style elements and link elements with a Style/CSS ref, providing they don't have an ID. If you could just add an ID to any style elements your script inserts, mine would simply ignore them.

I've tried writing in workarounds and various checks to try to prevent non-4chan default CSS from being removed on my side, but unfortunately they're very inconsistent, partially due to the inline extension's insistence on adding its CSS whether or not it's enabled.

This would be a huge favor to me and our users. Thanks.

Cannot post my own embedded images, and posting others is very difficult

I followed the guide on the download page and got my embedded image, but when trying to post the image on 4chan, it still knows I have an embedded image. What's more, is that whenever trying to post an embedded image that I saved from another poster, I have to put in the captcha on avereage about 20 times.

I have 4chanx V3, 4cs 4.5.2 , and I used Ogglify. 4chanX is on Greasemonkey, and 4cs is on scriptish, though.

edit: changing the 4cs install to greasemonkey didn't help

Batch Downloading Mass files

Doesn't seem work on with very large playlists, 50 or so seems fine, but 100+ just doesn't do anything. Clicking it has seemingly no effect. Is it a loading time, or can it not handle large playlists?

4chan X recent changes

I'm assuming this change messed up sound uploading with the sounds form open

Upload Error
An error occured while attempting to submit your post.
This may happen due to script incompatability. If you want to use this feature, submit an issue request, or disable this feature and install a different upload script.
You can try to submit your post by closing the sounds panel.
Errors
Submit form key "name" could not be found.
Submit form key "email" could not be found.
Submit form key "sub" could not be found.

CSS annoyance

.MPMenu.MPMenuClosed.MPHighlightShadow2px.reply.post

Do you really need the .reply.post?

Conflict with Oneechan style script.

Whenever I have Oneechan enabled, a few things get in the way. One would be that whenever I use Hover preview for videos, it doesn't go away, and the second would be that the [media player] button at the top of the screen covers the filename for OP's image.

Media Player won't embed Youtube videos on frontpage with newest Appchan X

Since the Appchan X 2.6.4 update (and also in 2.7), the 4chan Media Player has stopped embedding YT links on the frontpage. Inside of threads everything is still fine.

4535

Firefox 26.0
Greasemonkey 1.13
Appchan 2.7.0 (the issue was also in 2.6.4)

(I didn't know whether to post this here or on the Appchan issues page so I posted it on both)

Re-encoding errors (and some feature requests)

Ok, I just got done with converting all .jpg and .png files. Took about a day.

-Some .png files came out completely corrupted. The majority of them (not sure if all) seems to be .jpg files that were converted into .png by the program.
Original:
choo choo TETSUMUSU
Encoded:
choo choo TETSUMUSU -embed

-Some of them came out slightly corrupted, like these:
Cirino
Cirino-embed
1342617019189
1342617019189-embed

-Why does the re-encoder resize small images into huge ones? Some of them are so expanded that they look horrible. Is this a bug or an optimization feature?

Feature request (When you have time):
1.Have the program automatically move re-encoded images into a new folder and take out "-embed" from the name.
2.Support for images with unicode names (Japanese)

Hope this helps. I'm running .gif files right now. If I notice anything else, I'll update this.

Again, thanks for working on this. It's awesome.

Load all and change/hide the uploader

The load all sounds feature seems to be removed, or it's hidden; and the uploader is causing the 4chanx QR on onee-chan to stick out from where it's supposed be hidden

Youtube embedding fails to work with adblock plus

Using AdblockPlus with the greasemonkey extension stops the embed from working.
I haven't explored options to exclude it from the filter, but if anyone runs into issues with the embed, take a look at adblock.

Misplaced sounds link

I'll fix this after it seems like 4chan's not undergoing any more changes. Possibly when other userscripts are fixed too, so I can maintain some compatibility.

player not working

i'm using chrome with tampermonkey, have no other scripts besides this one and sound uploader
when i'm clicking on embedded youtube links they just opens in another tab and refuses to play in the media player. sound files works perfectly though.
have tried resetting the settings, refreshing the page and re-installing the script.

Playing video from older steganographic format

Would it be possible to have the media player play .webm videos that have been embedded in the pixel data of an image with the old embed.exe encoder rather than with Videncode? It seems like it would be relatively easy to add, and it could be a valuable fallback in the likely eventuality that 4chan starts using slightly better filtering.

issues with 4chan

After following the guide here http://dnsev.github.io/4cs/#guide?tips&video
At step 7 I encountered problems when I tried to upload image-embed.jpg, which I was promptly interrupted with a message informing that the image file has a embedded file. Therefore preventing me from using it.

This happened in /v/ board

Ajax Error

Keep getting Ajax Error, I'm on Firefox 18.0.1.

hotkey?

Any chance for us to specify a hotkey that opens the media player instead of having to scroll up all the way to click [Media Player]?

Very slow to put sounds into Media Player list

I am going to assume it is related to the Firefox update (23.0) that was released recently as that is when I began to notice the issue, but other users have not had the issue. Basically, when I load an embedded sound, it loads fairly quickly. However, it takes about 15+ seconds to be put into the media player list and begin playing the actual sound. When it is loading into the media player list, it makes my browser so laggy so when I type text, it takes a few seconds to appear and scrolling is also delayed.

Tried reinstalling Greasemonkey and Media Player but still get the issue. Videos load fine in the media player and play with no delay, only sound in images. I disabled my other scripts in Greasemonkey but that did not help.

Can you add support for 38chan?

Do you think you could add in support for 38chan? Right now, the script works if you have a hotkey bound for opening the player and included boards.38chan.net/* in the script; you just have to drag images in the player itself.

I was wondering if you could make a minor adjustment to the script so we could see the media player script button on 38chan and have [tags] working

Player won't recognize youtube links when the ?v=XXXXXXXXX has _ or - in it.

Title, I recently noticed in a post that only two links weren't working with the media player and it turned out they were the only ones with a _ and a - in them.
So basically any youtube link with special characters is fucked.

Edit: I really should have tested it before I posted.
That doesn't seem to be the issue.
So fuck me backwards.
Just ignore this.

4cs blocked by javascript?

It seems my 4cs wont load and tampermonkey gives me an error saying that my javascript settings or a scriptblocker is blocking it, but I've both disabled my script blocker and set javascrip to allowing java to run on all websites.

Firefox muted

I have the latest versions of the 4chan Media Player, Firefox, Tampermonkey and 4chan X running on my computer. When I click the "sounds" link next to the images with sound in them, the player loads the sound file and image and the player registers that the music is being played (like it has the specific playtime and everything like usual). The problem is that no sound actually plays even though the player thinks it is, like the sound has been muted or something. Even when volume is at 100% it still does this.

Batch program error

I get a "System cannot find path specified." Error when I try using the batch program to re-encode old files.

moot blocked some sounds!

Apparently moot made some changes to the embedded archive filter, of four sounds i've tried, only two could be uploaded, the rest get embedded image errors.

Any way you can update the mask dnsev?

Sounds Uploader "Where is my submit button?" and more くそ。

You have #qr > form:nth-child(2) > div:nth-child(4) (also known as the submit bar) go display: none !important; when opening the sounds section, but on closing the sounds section and revealing the submit button, the file and the sounds set up in the section below information is lost on dechecking the sounds button.
Even with custom CSS, your js overrides anything I do to save it.

Sounds masked with http://cornarx.6te.net/mask.html won't play

I just switched from https://userscripts.org/scripts/show/154526 to your script, but now none of the masked files will play. I click them, and it loads, but the script's "window" won't display the image and nothing will play. Old files using older masks play correctly (such as the images in http://archive.foolz.us/a/thread/77601296/), as do images using stego, but new masks won't (such as most of those in https://archive.foolz.us/a/thread/78653026/).

For example, http://www.pictureshack.us/images/84179_440_-_La_Pucelle_-_sm7862914.jpg does not work (new mask), whereas http://www.pictureshack.us/images/64902_Stego.png does (stego).

You've updated your script recently, so I find it hard to believe that your script does not support the only working mask, but I installed the script and made no changes to it, so I don't think I'm doing anything wrong either.

This is really confusing... Does this really not support the most recent mask?

I'm using Chromium 25.0.1323.1 (Developer Build 167142) Ubuntu 12.10.

Multiple sounds in masked format

Currently when the userscript loads a masked multi-sound file such as

http://archive.foolz.us/a/thread/77601296/#77603712

it misses the magic numbers of all but the first Ogg file and therefore only sees one sound.

The problem appears to be the line

i += magic_strings_ui8[s].length;

which skips magic_strings_ui8[s].length bytes without properly updating the mask state. Commenting out the line causes all sounds to be loaded.

4cs is incompatible with Appchan X, no way to enter the captcha

While, or any time after, a sounds image is selected with "browse" and it's info shows up, I am unable to enter the captcha, I have to reload the page for it to work. The only way I can post sounds with Appchan X is to enter the captcha, then select the sound image and press "submit", then reload the whole page (breaking any sound that's playing), and repeat for each image. Is there any way to disable the Appchan X/4cs "fusion"?

http://www.pictureshack.us/images/49803_borked_player.png

Conflict with Foolz Archive

It's the same as the conflict with Oneechan. Previews for videos viewed in the foolz archive stay on the screen after taking your mouse off.

Compatibility issue with 4chan-x

On longer threads which aren't loaded all at once, it seems that the "sounds" link is added, but 4chan-x parses it back out.

Fix this.

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.