Coder Social home page Coder Social logo

Comments (9)

Ndragomirov avatar Ndragomirov commented on August 24, 2024

Hello,

this was done on purpose, to speed up the popup opening, otherwise the popup shows very slow
I guess Chrome waits for "Complete" event(waits for all scripts, images, frames to be loaded before going on) on the document object to show the popup

from twitch-now.

OlsonDev avatar OlsonDev commented on August 24, 2024

Would a workaround like setTimeout(loadImages, 0) actually work?

from twitch-now.

Ndragomirov avatar Ndragomirov commented on August 24, 2024

Added new branch with setTimeout workaround: https://github.com/Ndragomirov/twitch-now/tree/image-load-set-timeout-test

Can you please checkout it and test it ?

from twitch-now.

OlsonDev avatar OlsonDev commented on August 24, 2024

Sure; it may take a few as I apparently don't have anything I need on this box.

from twitch-now.

Ndragomirov avatar Ndragomirov commented on August 24, 2024

Here is the link to builded chromes version https://drive.google.com/file/d/0BykW-NfUUzm5UkJQN29ydnZGQ0E/view?usp=sharing

from twitch-now.

OlsonDev avatar OlsonDev commented on August 24, 2024

Indeed, it works and loads rather fast; it still has the same SVG issue though.

from twitch-now.

Ndragomirov avatar Ndragomirov commented on August 24, 2024

sorry i forgot to add settimeout function : )

here is the correct version:
https://drive.google.com/file/d/0BykW-NfUUzm5SVZYUXB3WUFUNkE/view?usp=sharing

from twitch-now.

OlsonDev avatar OlsonDev commented on August 24, 2024

Both versions from Google Drive worked (and both had the same SVG issue). I'm inclined to believe the setTimeout version pops up slightly faster but I also think my eyes are playing tricks on me... either way, they're both in the same order of magnitude as the Chrome Web Store version.

from twitch-now.

ExorcistF1 avatar ExorcistF1 commented on August 24, 2024

Есть возможность в настройки добавить эти изменения?

from twitch-now.

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.