Giter Site home page Giter Site logo

Comments (2)

Issung avatar Issung commented on May 25, 2024

Hi there, I've actually been thinking about both of these features for a while:

  1. I would like to do this, I know how to make the cell text change, but don't know how to change the color, which I have wanted to do, just need to look into it.
  2. I've also been thinking about this for a while too, the current html saving method is terrible, and I don't really pay attention to it at all (e.g. the image links, etc are broken). But it's been good in the meantime just to save the text.

Currently I've been working on adding 8kun.top support (currently working! 😁) and 8chan.se support (started today).
And also adding some auto-update checking functionality that automatically installs the latest version for you with the click of a button.

Thanks for letting me know your suggestions, please keep them coming if you have anymore! And thanks for finding the bug too, I will definitely fix that in the next release.

Also glad to hear that you get lots of use out of my program, that helps motivate me greatly :)

from gchan.

EVA-x-3 avatar EVA-x-3 commented on May 25, 2024

For the record i am "eva1-x-3" but i forgot my password for both GitHub and email so i can't get the previous account back.

I can't wait for GChan to work with 8kun/8chan too! Good luck! 😁
I have some other suggestions, and another small bug i found but is it better to open an issue for them separately, or write it all in one issue like i did last time?

By the way here is some information i found regarding changing cell background color and a possible dirty fix for checking if threads are deleted/archived:

I'm not sure if these links help due to my lack of programming skills, and these solutions may be dirty or impossible to optimize etc but maybe they are of help.
If information like this is not needed or helpful don't hesitate to tell me! I'm simply looking for it because i know it takes time to look stuff up and thought it might be helpful.

I opened the project and saw you using DataGridView. Visual studio was very confusing so i might have looked at the wrong part of the project.

Here is a way to change background colour in cells made with DataGridView in C#:
https://www.csharp-console-examples.com/winform/change-datagridview-cell-color-programmatically-in-c/
https://stackoverflow.com/questions/16105718/datagridview-changing-cell-background-color

Regarding detecting if the thread is Deleted (resulting in 404 redirect on 4chan) or archived:

  • If the thread url results in a 404 redirect (is deleted):

https://stackoverflow.com/questions/2538895/c-sharp-detect-page-redirect

  • If the thread is archived (and not resulting in redirect) one can read the html file for a specific string:

https://social.msdn.microsoft.com/Forums/en-US/0ffab121-570e-4b94-8bc6-0fe86c1634fb/how-to-read-specific-text-from-html
And look for the <div class="closed">Thread archived.<br>You cannot reply anymore.</div> or simply the <div class="closed"> which are only present in archived threads.

from gchan.

Related Issues (9)

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.