Skip to main content

Questions tagged [javascript]

JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages. Use this tag for questions regarding ECMAScript and its dialects/ implementations: JavaScript, JScript, etc., excluding ActionScript.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

I'm just starting JavaScript and I can't declare a variable. Possible that it is being declared but when I use the variables in a math equation there is no output from that equation. For example: ...
selectstart's user avatar
1 vote
1 answer
116 views

I inherited a website which has an embedded tracking script like the following: <script type="text/javascript" src="https://secure.smart-enterprise-52.com/js/144709.js" ></...
WackGet's user avatar
  • 121
0 votes
0 answers
20 views

I have a client that wants to update and add properties and property details including images via an excel spreadsheet. They are using Wordpress as a CMS but I want to keep the property section ...
Justin's user avatar
  • 23
0 votes
0 answers
29 views

I have been loading GA4 by loading two external scripts, one <script async src="https://www.googletagmanager.com/gtag/js?id=[TAG-ID]"></script> as (in Wordpress) ...
Chris Pink's user avatar
0 votes
1 answer
92 views

I'm trying to add structured data to my product page on Shopify in a json+ld file But when it comes to the reviews, I'm using stamped.io and to get all reviews array I needed to fetch data from their ...
Hiba abdel karim's user avatar
0 votes
4 answers
58 views

I used the demo version of PowerMapper tools online to scan my pages and it presents the following issue to a page I'm about to explain. Basically, a page that I have is a fall-back page for clients ...
mike_s's user avatar
  • 149
2 votes
1 answer
34 views

We have a category page with linked products. Linked products are usual a href links to pages like Category: /category Product: /product1 After clicking /product1 there is a Javascript redirect to /...
Evgeniy's user avatar
  • 10.2k
1 vote
2 answers
38 views

I have a website in React, and it's a E-commerce website. On SERP when a catagory page renders, it shows images of popular products. What can I do ? Nothing is wrong with the website; all images are ...
Krishna Murari's user avatar
0 votes
1 answer
105 views

The webdriver read-only property of the navigator interface indicates whether the user agent is controlled by automation. Source I couldn't find anywhere if it includes indexing crawlers such as ...
Destroy666's user avatar
1 vote
1 answer
182 views

I am building a dashboard with ChartJS and OpenLayers installed through NodeJS, so I install packages locally with npm. OpenLayers also must be installed locally through npm, as there is no CDN link ...
Jinglelocks's user avatar
1 vote
1 answer
138 views

I have an back button on each page and subpage on my website. I always takes the user to the previous page, no matter how many posts and redirects etc. happened on the subpage the user is on Now I'm ...
mowgli's user avatar
  • 321
0 votes
1 answer
46 views

My client previously had issues with their self-referring canonicals not set up correctly. After they implemented the corrections, I verified the changes through a combination of methods. I conducted ...
Tony's user avatar
  • 1
1 vote
0 answers
28 views

I am sending custom event through code to Google Analytics. gtag("event", "my_custom_event", { field1: "value1", field2: "value2", }); I am unable to ...
EresDev's user avatar
  • 111
0 votes
1 answer
144 views

The content on my site is primarily PDFs. I would like to get more accurate information as to whether actual humans are accessing them. I thought to add a javascript click handler on the links that ...
KevinHJ's user avatar
  • 147
0 votes
1 answer
68 views

I'm not sure anyone has asked this but here goes. I made a website where the goal is to sell tickets. The pages are as follows: The main page that's loaded contains the event name, location basic ...
mike_s's user avatar
  • 149
1 vote
0 answers
184 views

I've added schema markup (ld+json formatted) for some pages of my website. I've validated the generated schema markup script manually through the Google Rich Result tool and it' ok. My problem is, ...
Martin AJ's user avatar
  • 415
0 votes
1 answer
34 views

I'm working on a website for a client who owns a restaurant. I've just finished developing it and I'm working on the part relating to the privacy policy and related cookies. The cookies used by the ...
fmerighi's user avatar
2 votes
1 answer
1k views

Google is currently indexing query strings URLs of my website. Google has currently indexed almost 112k URLs that all are duplicate version of other URLs causing my website to slow down and negatively ...
mehtab fatima's user avatar
4 votes
2 answers
442 views

I have single page application, which I would like to add different meta description tag depending on URL. Application does initial data loading from server via fetch (which is needed for description),...
Somnium's user avatar
  • 143
1 vote
0 answers
39 views

I have a website that displays data from external files. But there is a problem with the display as in the attachment. How can I control the page size to display the full data without compression ??
OmarDev's user avatar
  • 21
3 votes
1 answer
332 views

So I have a one-page website with multiple sections and IDs. Right now, in the nav, I have it going to #about to jump them down to a section with ID=about But I want the user to be able to go to ...
Josh Holly's user avatar
2 votes
0 answers
378 views

I'm doing some Google lighthouse analysis on my site and the tool is complaining about our "add to cart" links. We use a pre-fab PayPal cart system called Vibracart, which is great but is ...
Raseone's user avatar
  • 61
2 votes
1 answer
76 views

Here is my dilemma: I have quite a complex e-reader single page application. It uses rewrites to route say /book/page/2 to /index.html for processing behind the scenes. The JS payload is quite heavy, ...
Pete's user avatar
  • 123
2 votes
0 answers
30 views

Intro: I use Ezoic to show ads on my site. It uses many ad exchanges such as Google Ad Exchange to real-time bid against my Adsense ad inventory, and the winner will be shown on ad placements. Problem:...
SpaRex 's user avatar
4 votes
1 answer
115 views

Being documentation for my charting software, I have a lot of pages on my website that have SVG and/or canvas tags on them. I recently learned from a Google video that during indexing, the JavaScript ...
Richard's user avatar
  • 321
2 votes
0 answers
35 views

I'm setting up Google Tag Manager on e-commerce store where is a lot of brands. I need to make trigger on Floodlight script when is specific products in purchase. So I made trigger where is detected ...
Matúš Rebroš's user avatar
2 votes
1 answer
143 views

I want to move a small working website to my Mac for testing and experimenting. There is a small database with the website that will need to be accessed locally as well. The website is currently ...
J Bree's user avatar
  • 21
18 votes
1 answer
13k views

I have couple of websites recently created (~8 months) and Google is marking them as "Duplicate without user-selected canonical" or "Page with redirect" errors How I implemented: ...
hasanac's user avatar
  • 283
1 vote
0 answers
299 views

This is an issue that im bringing over from the general stackoverflow because I was told it should be asked here instead. The original issue is moreless gone now. The issue now is that when I am ...
pk550's user avatar
  • 11
3 votes
1 answer
515 views

I have a page that uses HTML <template> tags. I don't know the page length like this. <template>Some Html</template> <template>Some Html2</template> <template>Some ...
Arman Oganyan's user avatar
3 votes
1 answer
425 views

I'm working on a website and I want to use AJAX for some content, but I'm worried about search engines crawling my site, and I know Google and other search engines only see contents that are currently ...
HOSSEIN's user avatar
  • 33
1 vote
0 answers
89 views

I'm driving traffic to a website with PPC on Twitter. AWS CloudWatch is reporting that 80% of my visitors are experiencing JavaScript errors — but 100% of those errors are happening in the on-device/...
philolegein's user avatar
3 votes
1 answer
292 views

It looks like all the sites who use Prismic get a terrible score at Page Speed Insights. Questions: Is Prismic really slowing down all the sites that use their CMS? List of sites using Prismic Score ...
Tasksme's user avatar
  • 31
0 votes
0 answers
32 views

I have a website with many links on it. Some of the links are user generated. For instance: example.com/?some_information example.com/?some_other_information The page will utilize the parameter to ...
AGamePlayer's user avatar
1 vote
0 answers
36 views

In my JavaScript file, I create a "fake" tag (Like this): <fake-tag> <another-fake-tag></another-fake-tag> <self_closing-fake_tag /> </fake-tag> These ...
user11247237's user avatar
3 votes
0 answers
36 views

I made a new firebase project and web app, and i want to use firebase hosting on it. I have a directory set up on replit with html, js, css, but how do i host it on firebase? I have tried looking at ...
lolBOT V9.17's user avatar
1 vote
0 answers
72 views

This is something I've been struggling to wrap my head around for the past few days. Tried to keep the rambling to a minimum but concise questions are at the bottom. As I understand it, utilizing JS ...
PrestigiousAd9972's user avatar
1 vote
0 answers
40 views

I want to plot colour coding from .tif file into the map with the help of react-leaflet. How can this be done? I am open for other better suggestions. My core goal is to display color coding given in ...
piyush kasturi's user avatar
0 votes
1 answer
305 views

I'm trying to add the Comodo Trust Seal on my site but it gives this error in chrome: Refused to execute inline script because it violates the following Content Security Policy directive: "...
TravelWhere's user avatar
3 votes
0 answers
3k views

I set up a single page application using Vue.js and Firebase. It works fine but when I search for the website in Google Chrome, this is what pops up : I expect to see a proper description, instead of ...
psch's user avatar
  • 31
2 votes
1 answer
195 views

How does Google Analytics calculate the Browser Size metric that it reports for user sessions? Another thing that would be helpful would be a way to modify a browser to replicate the "(not set)&...
Alex Houghton's user avatar
1 vote
1 answer
545 views

We want to build the website with mind-blowing animations, but SEO is also important for us and I am wondering about the SEO effects in the case of CSS and JS animations. Let's say we want to build ...
Maksymilian Konarski's user avatar
2 votes
1 answer
158 views

My website is built using Angular. The frontend pages are built using Angular SSR (server-side rendering). My checkout pages are using Angular, but not SSR. The issue is that once a user lands on an ...
three3's user avatar
  • 139
2 votes
1 answer
499 views

I am working for an online casino, and the blog page is deemed Duplicate without user-selected canonical to the main casino page? The two pages are completely different and have nothing to do with ...
Gordon Strachan's user avatar
3 votes
1 answer
1k views

A lot of sources mention that LCP is measured only above the fold, and stops measurements after a user action like scroll or key press. Though, I am able to get LCP for an image which is lazy-loaded ...
Inderpartap Cheema's user avatar
2 votes
0 answers
228 views

On what basis is SEO checked? When I examine my page, an H1 tag is present. However, when I look at the page source, an H1 heading is not present because it is generated via JavaScript (CMS in the ...
iSaBo's user avatar
  • 21
4 votes
1 answer
128 views

There are about 12-15 Ads:Images(mostly GIFs, self hosted on same server and domain) and appear on all the pages. Since the file size of GIFs are relatively larger(some upto 2 MB), they have started ...
Sandesh Yadav's user avatar
5 votes
3 answers
734 views

Does Googlebot call every link separately (with a new request) or does it follow all links by JavaScript (for example by click event)? I have a vue-js website which contains all the links and of ...
Maisen1886's user avatar
2 votes
2 answers
2k views

Is it possible to disable Google indexing of some web page if this is placed to head tag <meta name="googlebot" content="noindex" /> using only JS? Or is it all a hoax and ...
BlackStar1991's user avatar
2 votes
1 answer
639 views

I am observing a strange problem related to Core Web Vitals, I have same website for both mobile and desktop(same server/same page/same DOM size) but I when I look into search console I get different ...
Awais fiaz's user avatar

1
2 3 4 5
17