947 questions
0
votes
0
answers
19
views
I want a specific Tooltipster tooltip to be open on page load
I have inherited a website to update. It is using the Tooltipster jQuery plugin. The page has a number of tooltips but I would like to set a specific tooltip to be open when the page is loaded.
This ...
1
vote
2
answers
71
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
84
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
26
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
93
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
61
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
481
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
0
answers
64
views
Page not opening but URL is entered in browser in Selenium Java with Cucumber Automation
I am able to open a URL manually in CHROME and FIREFOX.
But, Unable to open the Page in Automation using Selenium Java with Cucumber.
Page opens once in like 10 attempts.
URL is getting entered in the ...
0
votes
1
answer
120
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
83
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
46
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
39
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 ...
1
vote
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
28
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
41
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 ...
0
votes
0
answers
23
views
Why my element undefined in code but defined if I run the code in console js? [duplicate]
I'm trying to add a button to an element on YouTube with the following code:
document.addEventListener('DOMContentLoaded', function() {
let elm = document.getElementsByClassName("style-scope ...
0
votes
1
answer
166
views
Yii2 Page doesn't always load content properly until refresh
When first accessing a page, I don't always see the proper content. Upon refresh, the page loads properly.
In the initial incorrect load, it displays a breadcrumb navigation to the page it came from (...
1
vote
1
answer
85
views
Bootstrap script locking up page
After a while, so I don't know what starts this off, my browser will have the following problem with my net 3.1 MVC site while in Visual Studio 2022 (debug or release), I switched from Chrome to Edge ...
2
votes
1
answer
3k
views
Sentry Issues "Large Render Blocking Asset" and "Uncompressed Asset" suddenly appearing
Large Render Blocking Asset /
New Issue
/static/js/main.779fa2a0.js
Large render blocking assets are a type of resource span delaying
First Contentful Paint (FCP). Delaying FCP means it takes more ...
0
votes
1
answer
898
views
Cypress visiting an URL is not loading content of the site
When I set baseUrl and try to visit URL, the content of the URL is not getting loaded.
Here is config file.
const { defineConfig } = require("cypress");
module.exports = defineConfig({
...
0
votes
2
answers
1k
views
addEventListener "click" - starts on page load
I can't understand, why addEventListener("click") starts after page loading, not waiting for "click". What is worse - it does not work on click again. Below you can find script:
...
1
vote
3
answers
2k
views
How can I have the page reload to the top of the screen? Right now it reloads to wherever they were before the reload
I am creating a website where I have to large content boxes that are absolutely positioned -- one at the top of the screen and one below off screen. I have the <body> element set to overflow-x ...
1
vote
2
answers
797
views
Wix custom javascript fires only on page refresh
Working with Wix webite, i added a custom code with some javascript to change some elements.
Basically strip commas and transform words to links.
Code works fine in my simple test page.
The wix ...
-2
votes
1
answer
55
views
google sheets clear some cells on page load
Is there any way to delete the values of some cells in google sheets when the user opens the sheet?
In fact I am using google sheets as a form and want the form to do some calculations. But when the ...
0
votes
1
answer
141
views
Applescript access Safari's "Reload this page" button update
Classic problem: Wait until the webpage has fully loaded and rendered in Safari.
Most snippets I found date years back and of course macOS and Safari have been upgraded, so I am looking how to TARGET ...
0
votes
1
answer
230
views
Find when a page finished loading in xamarin.forms prism
I am trying to create an optimized Event Tracker for my Xamarin.forms prism application. I would like to know whether there is any method to find out when the page load is finished. If someone could ...
-2
votes
1
answer
896
views
Chrome randomly does not load localhost
I've been using Chrome to work on my localhost for a while now.
Since a Chrome update (Version 107.0.5304.110 (Official Build) (arm64)) without even switching projects, sometimes it loads without ...
1
vote
1
answer
52
views
Hash URL on pageload in jQuery
I really hope to find a solution here.
Need to load specific elements highlighted first on the pages based on url hash.
I have already set up "click" and "hover" functions for ...
0
votes
1
answer
393
views
Hide div on page load with JS. Problem with code
I want to show the top menu to users depending on their login status. The difference is like below:
Zaloguj - non logged in users
Wyloguj - logged-in users
I need the code to work when a page is ...
1
vote
1
answer
32
views
How to autosubmit Grafity Forms on pageload but try only once if submission is not possible?
I want prefill a form using parameters and autosubmit on pageload. I'm using the following code:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('form#...
0
votes
2
answers
2k
views
cURL or wget for measuring page load time?
What's the best/most accurate way to measure a pages load time that would include the time to load all of the pages resources? (Basically trying to get a load time that a real end user might have).
Is ...
1
vote
0
answers
365
views
Why is the LCP so high?
I'm having trouble with the Largest Contentful Paint (LCP) on My website when I analyze it with Google PageSpeed Insights. I've cleaned my CSS and asynchronously loaded the CSS that is not on the ...
0
votes
1
answer
34
views
The information is not displayed after the first load of the page, only after rerendering the second time. Why?
The information from openweathermap API is not displayed after the first load of the page, only after rerendering the second time. I can't understand why.
const [latitude, setLatitude] = useState('')
...
0
votes
0
answers
142
views
Automatically start JS on page load IF
I would like to know how one of this option would work - doesn't matter which one.
Option 1: If its possible to make a JS automatically work if a value is (lets say in id="field2") stored in ...
0
votes
1
answer
1k
views
Banner video increasing site load time Next JS
I am working on a Next js website with a 12mb banner/nav bar video which I am prefetching from an S3 bucket URL using get static props. In a normal browser window the website loads in less than 5 ...
0
votes
0
answers
100
views
Wait for pageload in new page
After I clicks on the URL to order, the page is not response after clicks
I do normally and the step redirects to new URL for continue Order button on cypress it cannot be
Please help
1
vote
2
answers
5k
views
How to delay an script on page load?
I need to delay my auto slider during page load. I need to help bc I’m not into JS that much.
Can someone help me?
<script>
// User Settings
var transitionDuration = 1000; // set this to ...
1
vote
1
answer
759
views
How to call function when page loaded odoo-14
I was trying to call a function when the page is loaded, I made some changes to the XML but none worked, for example:
<field name="code">action = env['res.config.settings'].set_values()...
0
votes
0
answers
133
views
c# webview2 serialize loadings of a few pages with waithandle
folks. I want to crawl data from a few pages with webview2. I am about to load and extract data from the pages one by one. I wrote some codes but they didn't work. I am stuck. Here are the core codes:
...
0
votes
0
answers
120
views
Iframe always needs to be loaded at the top in firefox
I have to make the iframe to go to the top when page loading or reloading the iframe. At the first time of page loading it is correctly loading. I scroll down the iframe and at that point. If I close ...
0
votes
1
answer
671
views
Python Selenium: Switch tab without waiting for page to load
I am trying to change the browser tab while the current tab I am in is loading some javascript. When I try to do that, my program stops in the driver.switch_to.window(x)
line and stays there until the ...
0
votes
0
answers
78
views
Load Javascript only on first pageload
I have a javascript which fires on pageload.
How do I change the code that this javascript only fires on the first pageload?
The script:
<script type="text/javascript">fetch('URL');<...
0
votes
1
answer
44
views
Opera Bug When Charging A Page
I have a bug which started fex days ago :
you can see an image of the bug here
It's like my browser needs to be refreashed (sometimes 5 times in a row)
I've tried to clean with cc cleaner and I don't ...
1
vote
1
answer
8k
views
logged In user redirects to login page when entering URL manually (React.js)
I restrict access to certain routes using below function
function RequireAuth({ children, redirectTo }) {
const { user, setUser } = useContext(UserContext);
return user?.LoggedInStatus === "...
-2
votes
1
answer
75
views
Github pages made with create-react-app + react-routers doesn't load in iOS devices
I just finished working on a website project and shared it with some people for them to try, website doesn't render at all in the iOS device, but I can't locale the issue since I don't "own" ...
0
votes
2
answers
454
views
Page load time in jmeter
How to get the page load time of an application which has n number of CSS, js, images, etc? How to do the configuration in JMeter?I have tried integrating selenium, but I can only find the scenario ...
5
votes
2
answers
2k
views
Can I use content-visibility on all elements?
So, with content-visibility improving the page load time by skipping content that are not in the viewport, is there a real reason preventing its usage across all DOM elements?
Rather than use
.card {
...
1
vote
1
answer
266
views
Is there a possibility with javascript to show a scroll hint only at the first pageload?
I have created a simple scroll hint which disappears by mousedown. My goal is that the hint is only displayed the first time. When I reload the page, it should not be displayed again. Only again when ...
1
vote
1
answer
182
views
Using one function to handle multiple Ajax requests - returning same results on page load
I'm writing some code where there will be one function (doAjax) to handle all the requests for different functionalities. This is working fine when used in the normal sense (clicking buttons, etc), ...
0
votes
2
answers
449
views
Wait for specific image resource to be downloaded/loaded and not execute any following javascript code until the resource of the image is loaded?
I have some <img> tags and some <div> tags with 'background: url('example.jpg');
And I want to wait until these images are downloaded and not execute any following javascript code ultil ...