942 questions
1
vote
3
answers
136
views
How to block the page from loading in an inline script until async operations finish
I have this embed script that needs to be placed in the head of websites:
<script src="https://www.example.com/track.js?wid=123”></script>
It needs to execute before the page body ...
0
votes
0
answers
130
views
How to safely load a blocking script in the head without risk of being slow
I’ve made some A/B testing software which requires website owners having to place a script in the head of their websites. This script must block the page from loading until it finishes executing, ...
1
vote
2
answers
293
views
Bootstrap 5 Carousel will not autoplay after page load
This standard Bootstrap 5 carousel code...
<div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner&...
0
votes
1
answer
87
views
Scroll up section in React with page load
How can in react typescript I move the scroll of a section of the page to the first section in page on page load?
I want to scroll a part of the page on page load to the first part
Only the desired ...
0
votes
0
answers
32
views
Send json Success message while keep sending Email
ı have code something like below. I m trying to send emails with some limits, for example if i have 10 email accounts in 'to_emails[]' i have to wait 210 seconds for finis of loading page and after ...
0
votes
1
answer
152
views
delay in page load when moving from client slide page to ssr page in nextjs
so in my e-commerce application the homepage is ssr page(getserversideprops). and when i click on any product it open a client side product detail page. and when i click back there is certain delay in ...
1
vote
2
answers
73
views
How can I stop slideout on subsequent page load?
For my website, I have the mmenu configured to open fully on larger screens but collapse down on smaller screens. However, one somewhat annoying aspect is that the menu slides out on each new page ...
0
votes
1
answer
712
views
Calling a stored procedure on page-load in ASP.NET webforms using VS 2019
Very new to this. I have the .aspx code basically done. I know the data source connection info, just trying to run and display output of a stored procedure on page load. This will be a report that ...
0
votes
1
answer
158
views
Setting a component's variable to localStorage / global variable value on the initial render
I'm using Svelte + SvelteKit.
I'd like to set the initial value of a variable in my component based on the user's previously saved value in localStorage. I can get it to load after the initial load ...
0
votes
1
answer
94
views
Website flashing for a few frames when navigating between subpages while logged in wordpress
The website makes a "flash" when navigating and by that I mean for like two frames when the website reloads, the background is the only thing that remains while the rest of the content is ...
0
votes
1
answer
49
views
How to disable css transition load with given script
I am new to jQuery and need to figure out how to disable the transition on load for my navigation bar. Currently, when you load a page, the navigation bar transitions in with a big white bar and then ...
0
votes
0
answers
45
views
How to start sound after page load and change by click function
What works :
On my page I have several buttons (by divs: b1, b2, b3) and when I click them they fadeIn their own sound loop smoothly. If I click on the back home button, the played sound fadeOut ...
2
votes
3
answers
1k
views
Selenium unable to stop page loading
I do not face this problem with other websites but on this specific website:
1- I want to get my internet speed while using speedtest website by Selenium but the page cant stop loading. Because of ...
0
votes
1
answer
31
views
Disable button if dropdownlist is null
I am trying to disable a button on page load.
my current code is the following, but when I open the page the button is active.
protected void Page_Load(object sender, EventArgs e)
{
if (...
0
votes
1
answer
92
views
React Pages Load white page
My react app loads from github with the screen being all white with some of the home page visible like a silhouette once I click the home nav link the page loads the actual homepage properly. I'm not ...