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!

Activation Code - Donation (Multiple Options)



Donate

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)

Showing posts with label Html-Css-Js. Show all posts
Showing posts with label Html-Css-Js. Show all posts

Monday, April 21, 2025

[JavaScript] Real and Fake Multi-Thread. (Prevent Loop From Freezing The Browser)

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):






Saturday, November 16, 2024

[JavaScript] Wait Return Value from Async Functions



Test code below (Click here)




Friday, November 15, 2024

[JavaScript] Wait Sleep() Function



Test code below (Click here)




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)


More examples on getting src (source):

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)

Tuesday, July 18, 2023

[HTML - CSS] Vertical Center (Center Vertically)



Test code below (Click here)

Thursday, September 15, 2022

[JavaScript] Random Codes Generator! (Function)








www.StraightTips.blogspot.com


Length =

Random_Code(Function) v1.0: Test code below (Click here)



Friday, September 9, 2022

[JavaScript] Drag-Move and Resize any element with jQuery!



Test code below (Click here):



Tuesday, September 6, 2022

Simple Online HTML Editor with Note Box!



For a more advanced "Note Boxes + Offline Html Editor" (Click Here)







Thursday, August 25, 2022

Online Text Crypter - Encrypt\Decrypt Messages In Real Time!







"Cryption Key" can either be Password, Passphrase, Passcode, etc!









Thursday, December 16, 2021

[HTML] Hide Elements From Print!






Monday, May 24, 2021

[JavaScript] Date Time Zone (Function)





Download v1.1 (Changelog Note file included):
https://www.mediafire.com/file/7cia0vmekbkgnsu/Date_Time_Zone%2528Function%2529_-_v1.1.zip/file

Download v1.0:
https://www.mediafire.com/file/8rsq0tzofhgggzv/Date_Time_Zone%2528Function%2529_-_v1.0.html/file







Friday, March 26, 2021

[PHP\JavaScript] Date, Time and Timezone (Test Script)




(Type\Paste a "Date" or "Timestamp" in the input box above!)

IANA TimeZone Name = ()!

Timezone Offset = minutes! (Timezone Offset / -60 = )


Download the complete php\javascript script from the video here (v1.1):
https://www.mediafire.com/file/g3454kwh1lyttzi/PHP-JavaScript_-_Date-Time-Timezone_%2528v1.1%2529.php/file

(v1.1) Change Log:
- [hourCycle:"h12"] in use instead [hour12:true]
- [hourCycle:"h23"] in use instead [hour12:false]

(v1.0):
https://www.mediafire.com/file/r1diygunxqgkc2g/PHP-JavaScript_-_Date-Time-Timezone_%2528v1.0%2529.php/file




Keywords:
#php #JavaScript #html #css #Timezone #date #time #utc #gmt #iso8601

Tuesday, February 2, 2021

[Tor] Create "New Circuit" for a Domain at every given time!


First of all, the code to create a "New Tor Circuit" for a domain was found in the gitlab page of Tor! (See line 516 <Click Here>)

Secondly, the code only works in "Browser" console (Shift + Ctrl + j), it does not work neither in "<script>" tag nor in "Web" console (Shift + Ctrl + k)!

Thirdly, in order to run codes in "Browser" console, "devtools.chrome.enabled" from "about:config" must be set to "true"! (See the image above for more details!)

 Below is the code to Create "New Tor Circuit" for a given domain:


Change "w3schools.com" to any other domain you want! (It must be "Domain.com", not "www.Domain.com"! For example, "www.w3schools.com" does not work!)

After executing the code, open "w3schools.com" in a new "tab", or just reload the current open tab, and you will notice that the "Tor circuit" was changed!

Below is the code to create "New Tor Circuit" for a Domain at every given time (Copy and paste the code in "Browser" console):



ADS - Multi Share Calculator

https://windowsportableapps.blogspot.com/2019/03/multi-share-calculator.html