The below codes are examples on how to prevent Loop from freezing the browser by using either Real or Fake Multi-Thread.
Since Real Multi-Thread is faster than Fake Multi-Thread, always use Real Multi-Thread if possible!
Test codes below (Click here)
Real Multi-Thread (Async Function with Web Worker):
Fake Multi-Thread (Async Function with Sleep):
Straight Tips
- Alcatel (6)
- Android (6)
- Blogger (10)
- Calculators (1)
- Facebook (1)
- Games (4)
- GitHub (1)
- Html-Css-Js (46)
- Illustrator (2)
- InfoSec (13)
- Photoshop (4)
- PHP (11)
- Unicode (2)
- Windows (2)
jQuery
elevateZoom (Requires jQuery)
Microsoft Store (Donation)
Facebook Messenger (Donation)
Many donors of this blog prefer to donate their money through Facebook Messenger!
Click here to go to this blog's Facebook Page!
Thank you!
Click here to go to this blog's Facebook Page!
Thank you!
Request Web\PHP\JavaScript\HTML Project !
Contact us if you want us to develop a Web\PHP\JavaScript\HTML project for you!
Advertise On This Blog!
If you want a Product\Service\Event to be advertised on this blog, feel free to contact us!
Ads (Reserved)
Monday, April 21, 2025
Saturday, November 16, 2024
Friday, November 15, 2024
Thursday, November 30, 2023
Wednesday, November 1, 2023
[JavaScript] Save and Load File. (Text, Image, Audio and Video)
v1.0 Save - v1.2 Load:
- Audios and Videos can be loaded now.
v1.0 Save - v1.1 Load:
- Added "Shrink" option to reduce the image base64 data by using CSS "max-width" or "max-height" properties.
Test code below (Click here)
Sunday, September 17, 2023
[JavaScript] Get Locale HourCycle (Hour Format)[ChatGPT]
Wow! ChatGPT helped me create a JavaScript code that I couldn't find while searching on Google!
The code returns the locale HourCycle (Hour Format).
This is Fantastic indeed!
Test code below (Click here)
Friday, September 15, 2023
[HTML - CSS] Prevent Table Cell Width To Fit Its Content!
Test code below (Click here)
ABCDE_12345
ABCDE_12345_ABCDE_12345_ABCDE_12345 ABCDE_12345_ABCDE_12345_ABCDE_12345_ABCDE_12345
ABCDE_12345
ABCDE_12345_ABCDE_12345_ABCDE_12345 ABCDE_12345_ABCDE_12345_ABCDE_12345_ABCDE_12345 |
Subscribe to:
Posts (Atom)