Git Product home page Git Product logo

Comments (9)

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

Bruh. I didn't really get it. Why would anyone need this when the project literally has the open source code?

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

Just believe me, digging through unminified Webpack exhaust is not much nicer than digging into minified one. And there's no need in it: you can just modify the sources and run npm run build, that's it.

Or better yet, you can simply create a feature request here ¯\(ツ)

from github-defreshed.

StaticPH avatar StaticPH commented on July 27, 2024

I suppose... as far as actual changes I might have wanted to make, I'm talking about things like changing delays or shifting offsets; it probably wouldn't make sense to include such user-specific tweaks in the upstream.
By the way, I know it's not relevant to my initial question, but is it normal for your script to hang for several seconds while loading a user's profile page if you try to scroll just after the page loads, with the old css config setting enabled?

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

I think, it would be much easier for you to make a fork, cause you still need to keep the script in actual state, and if you or your userscript manager will update GitHub-Defreshed, you'll just lost everything you've manually edited

is it normal for your script to hang for several seconds while loading a user's profile page if you try to scroll just after the page loads

Hm. Can not reproduce this. Could you provide an example?

from github-defreshed.

StaticPH avatar StaticPH commented on July 27, 2024

With Chromium 72 Portable, using ViolentMonkey as my userscript manager.
Note first the difference in the time spent on scripting during page load.
In both cases, I immediately started using the scroll wheel on my mouse upon refreshing the page. You can see purple segments on the input graph starting to appear when the page first responds to the scroll wheel movement.

Without old css setting
image

With old css setting
image

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

@StaticPH, well, it's something really strange and case-specific, and I don't think that I can even reproduce it by myself cause I can't even find Chromium 72 Portable binaries or sources. It seems like it's an outdated version since 84-86 versions are mentioned everywhere currently.

I have a hunch that this is caused by the preloader, but it's made in pure css, which should not affect site usability at all. All that the "Use old css styles" setting does is inject an extra <style> block into the page, this shouldn't affect performance in any noticeable way. And it works fine for all popular browsers I know (from Safari to Firefox)

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

Try GitHub-Defreshed 2.0.5, it's currently broken a little bit, but this should help to understand if the preloader is the root of the problem.

from github-defreshed.

stale avatar stale commented on July 27, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from github-defreshed.

Kir-Antipov avatar Kir-Antipov commented on July 27, 2024

Well, I needed a build that would preserve names of classes and functions for some debug purposes and just remembered this issue. I think this is exactly what you asked for.

I still do not understand why it's easier for you to make changes to the messy webpack build rather than to the project itself, but from now on the newest debug build will always be available here

from github-defreshed.

Related Issues (20)

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.