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
28 views

GTM datalayer.push not sending GA event because of redirection code in JavaScript only in Firefox

I have come across this peculiar behaviour of GTM's dayaLayer code. The below issue happens to me only in firefox browser and all other browsers work fine - (Edge and Chrome). I have a dataLayer.push ...
Annas's user avatar
  • 405
0 votes
0 answers
22 views

Google Maps logging "This site overrides Array.from() with an implementation that doesn't support iterables ..."

Since a few months my previously trouble-free working Google Maps static map display shows this in the browser console: This site overrides Array.from() with an implementation that doesn't support ...
Thomas's user avatar
  • 39
1 vote
0 answers
40 views

How to say google wait until the ajax call response then crawl?

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
22 views

Custom "cookie solution" [closed]

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 ...
emmeelite's user avatar
1 vote
0 answers
122 views

Google is accidently indexing query string URL parameters and causing my website bandwidth increase

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
0 votes
0 answers
15 views

Dynamic imports in Next js

I would like somebody to explain me dynamic imports in Next js. Using dynamic imports in my app lowers the First Load js by 50% and that's huge. My only concern is can I use dynamic imports on all ...
Djela Srca's user avatar
4 votes
2 answers
336 views

How search engines detect when Javascript is finished execution?

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
0 votes
0 answers
112 views

How exactly Inertia.js solves SEO concerns in the case of SPA?

I've just read the paragraphs under the subheading "SEO Concerns" in the article "The Ultimate Guide to Inertia.js" But I don't comprehend them. So, when Inertia is involved, the ...
stckvrw's user avatar
  • 247
1 vote
0 answers
14 views

Display data on Html page [closed]

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
4 votes
1 answer
221 views

Handling # uri fragments as regular requests

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
200 views

How to add something crawlable to JavaScript links in order to satisfy Google Lighthouse

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
40 views

What is the impact of using edge workers to serve static versions of a dynamic application before loading JS?

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
27 views

Monitor ads showing on site by their URL

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
80 views

Do I have too many pages with canvas/svg tags on them?

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
  • 279
2 votes
0 answers
29 views

Use Google Tag Manager to detect if a specific brand is being purchased by triggering when it is included in the order

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
47 views

How can I copy a website from GoDaddy cPanel to my Mac

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
11 votes
1 answer
4k views

Do search engines perform JS rendering while crawling?

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
  • 113
1 vote
0 answers
225 views

Fetch doesn't seem to work in Heroku deployed app

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
233 views

Will search engines understand the HTML template tag with client side rendering?

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
2 votes
1 answer
169 views

Is it OK for SEO to make content available via AJAX when users click, but also to load that content on its own URL?

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
  • 23
1 vote
0 answers
21 views

How to view my promoted tweets in the Twitter app to debug JavaScript?

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
199 views

How to improve page speed of a site built with Prismic

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
23 views

How do I improve the client-rendered content for SEO?

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
32 views

Do Dynamically-Generated Custom Tags Harm SEO?

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
25 views

Start hosting with firebase

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
39 views

Exposing content from client-side headless CMS API to web crawlers

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
24 views

How to plot .tif file colour coding onto the map using javascript? [closed]

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
187 views

Refused to execute inline script with Comodo Trust Seal

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
2k views

SEO | VueJS | Why do I see "We're sorry but desk-app doesn't work properly without JavaScript enabled. Please enable it to continue." in web browser?

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
125 views

How Does Google Analytics Calculate Browser Size?

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
318 views

Does onclick animation affect SEO?

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
122 views

Google Analytics reporting all traffic as organic

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
416 views

Why are two completely different pages considered Duplicate without user-selected canonical?

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
432 views

Is Largest Contentful Paint (LCP) measured only above the fold?

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
167 views

SEO test tool doesn't see my H1 generated by JavaScript, will Google?

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
79 views

Is it black hat SEO to add content (self hosted ad images) after window onload

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
4 votes
3 answers
380 views

Does Googlebot call every link separately (with a new request)?

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
1 answer
603 views

Is it possible to disable indexing through JS?

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
1 vote
1 answer
296 views

Core Web Vitals - Field data difference Mobile vs Desktop

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
2 votes
1 answer
124 views

Can I create a custom 404 page with a parameter value?

I have a very basic website https://myappname.example with only a home page that allows users to go and download my app from Apple store or Google play. I have a use case when user can click on ...
RAITON's user avatar
  • 121
4 votes
1 answer
372 views

Core web vitals - LCP is being recounted on element outside viewport

I have been trying to control LCP on my website but unfortunately a strange phenomenon is continuously occurring, An element which is not in viewport is considered to be an LCP. Opposite to that ...
Awais fiaz's user avatar
2 votes
2 answers
135 views

Is it a no-no to have two sites with the same HTML and modify the content with JavaScript?

Let's say I have 2 sites /MergePDF?csharp and /MergePDF?java. They have the exact HTML, CSS and JavaScript. The only difference is the difference in content provided by the JavaScript. Is is it ...
trinalbadger587's user avatar
1 vote
2 answers
71 views

Does HTML Document style affect SEO?

Does a non-styled HTML Document affect SEO negatively? Which of these examples is better for SEO? Example 1 Example 2 Here is a lighthouse result for both examples Example 1 Example 2 As you can ...
Liam's user avatar
  • 113
2 votes
1 answer
47 views

Should I statically generate an internal search result page rather than rely on JS rendering?

I have a Nuxt app which utilizes a headless CMS and static site generation to generate the landing page and all article pages at build time. On my landing page I'm displaying the latest articles which ...
DaDo's user avatar
  • 123
2 votes
1 answer
297 views

How JSON works in HTML Script Tag regarding SEO Search availability?

I know this topic already all over the forum. But still, I'm confused if there is no exact example of what they mean with dynamic render using Javascript. so here is the background of my question: I ...
Rakis Friski's user avatar
4 votes
2 answers
296 views

Google Bot seems to often fail at loading jQuery?

I am using Google Search Console's "Test Live URL" function to see if Google crawler can correctly read my pages. I find out that for a single page 3 out of 5 tests will return a lot of ...
Wen Shenk's user avatar
  • 505
1 vote
1 answer
138 views

Using Google Analytics on a Javascript widget

I've built Javascript widgets that have been installed on other websites. How can I use google analytics on my widgets like I would use analytics on a web page to track the traffic? FYI, the ...
user avatar
4 votes
1 answer
67 views

Are there best practices to embed c3.js charts seo friendly?

We have a website with a large amount of inline svg charts made with c3.js. Is there a best practice how to embed them user- (links effects on hover etc.) and search engine (indexable in image search)-...
BeDo's user avatar
  • 41
2 votes
0 answers
240 views

Best way to ensure Google indexes a video iframe that is dynamically injected upon user interaction?

I work on a publishing site and sometimes we use Youtube videos instead of a hero image at the top of articles. When Core Web Vitals rolled out, we noticed that the YT video became the LCP element and ...
A Wafers's user avatar
  • 311
4 votes
2 answers
615 views

Is email obfuscation with JavaScript still valid in 2021?

We built a website with all our team members and their email addresses displayed on our About page. Now the question arose if bots will be able get their email addresses and send spam using those. ...
public9nf's user avatar
  • 289

1
2 3 4 5
17