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.

learn more… | top users | synonyms (2)

3
votes
1answer
28 views

Googlebot encountering JavaScript errors due to rendering outdated HTML files with newer JS files

We recently encountered an issue where we added a JavaScript variable (e.g. var GLOBAL_VAR = true;) to an HTML page (e.g. /Search/Index) and updated the separate JS file (e.g. ...
0
votes
0answers
9 views

Webpage cost price [on hold]

So guys, i'm new in webpage development, and I'm thinking to start my own business making these things, but I have no idea how much I should charge for it, what I do is: Design a custom webpage or ...
-1
votes
0answers
11 views

My contact form wont send me mails [on hold]

My problem is that my contact form wont send me mails, and i dont know what to do?!
0
votes
0answers
11 views

Extract CSS and JS off a site [closed]

I have an old one page site that I want to use. The problem is that I don't have the code on my computer and lost access to the server. I want to know if there is an easier way to get the old pages ...
-1
votes
0answers
4 views

How to replace text in a “li” [migrated]

I have about 100 pages all with an - the problem is, I need to wrap each list item in a . I've added the code below <ul style="list-style-type: disc; margin-left: 40px; ...
1
vote
1answer
34 views

Angular JS website (use of pre-render.io)

Hi ProWebmasters Community, Considering a move to build a highly Angular JS website with around 3 million pages. One of the questions that is constantly coming up is to use https://prerender.io in ...
2
votes
0answers
31 views

How should the back button behave when a site is built with AJAX and JavaScript?

I have made several websites and web applications, and still not sure of what the behaviour of the browser's back button should be. In some cases where AJAX and JavaScript technology is used, hitting ...
0
votes
0answers
15 views

Facebook and Twitter server side API limit

Reading the Facebook and Twitter API limit usage, confuse me, does anybody know which is the real limit of requests per second for each user token and for all the users tokens summed? For example if ...
0
votes
0answers
6 views

Recommended post slide out post widget not working on blogger [migrated]

I have got a problem on my blog. I installed "Recommended Post sliding out" widget but it is not working for me. My code for HTML <style> .ht-title-one {border-bottom: 1px solid ...
1
vote
0answers
16 views

Why does Apache on Windows 7 not run a Joomla Javascript Gallery? It runs OK on Linux! [closed]

The JavaScript offers a short child quiz. Therefore it creates 2 Links to check the child's answer. One link displays the correct picture (true). The other link displays the incorrect answer picture ...
1
vote
1answer
47 views

Does a script tag really need a color defined?

I went to achecker.ca to test my website for accessibility issues. While it found no actual problems, it found about 100 potential issues. One of them is this: 1.4 Distinguishable: Make it easier ...
0
votes
0answers
11 views

Does processing content dynamically using Javascript or PHP have an effect on SEO? [duplicate]

Does it effect my Google organic search ranking whether my html content is dynamic or static? Let's say that I'm using Javascript to display html code dynamically based on some user behavior, or ...
0
votes
0answers
9 views

adsense making ip report all wrong with resubmittion page and generating random ips

I have a google ad on my website, but I just found out today, that it's resubmitting the page with a random IP, that changes from time to time, mostly when submitting a form. It happens too, but ...
0
votes
1answer
25 views

How to allow selecting texts on the posts that are disabled from selecting?

Let me make clear. I added a html/javascript code on my blogger for disabling copying of contents. The code is : <script ...
0
votes
0answers
24 views

Can I move google adsense block to another div element?

In homepage of website I have 3 categories with their corresponding posts. And I have one google ad in every section. Also in homepage I have same categories as menu and when you click on one of ...
4
votes
1answer
32 views

Can I declare a duplicate page via javascript for google?

Most sources of documentation state that one can declare a webpage a duplicate of another by applying this tag on the duplicate page: <link rel="canonical" href="(absolute URL to original ...
0
votes
0answers
21 views

RegEx in Google Tag Manager for Exclusions by Referer

When I set up my Google Analytics tags in GTM the standard firing rule (trigger) is RegEx page matches .* I then add exclusions to prevent GA from firing for known spam referers (and yes, I know all ...
0
votes
0answers
42 views

Why is hidden content not always indexed?

I've read several blogs discussing the 'hidden content' issue. This article experimented with several options. It concludes that Google DOES index hidden content. The issues is also discussed here. ...
3
votes
1answer
22 views

Spitting server side request into HTML to be used in JavaScript bad practice?

I am working with an API which essentially provides me with image urls that are hosted on a CDN somewhere. I can simply pass it a number and it will give me the right image and it also provides me ...
1
vote
1answer
18 views

Javascript page load time calculation returns negative

<script type="text/javascript">//<![CDATA[ // jQuery has already been loaded but this could be equivalent to // a function in <body onLoad=""> $(function(){ var ...
2
votes
1answer
47 views

Will Baidu spider understand an infinite scrolling page?

My team is looking at implementing an infinite scrolling page while maintaining good SEO. We're following Google's advice for infinite scrolling SEO from this article: ...
1
vote
0answers
41 views

Googlebot only seems to crawl my front page even when provided a different URL

I'm new to the webmaster world and trying to get my site SEO ready. It runs on javascript (AngularJS) and I set up all the things you'd need so that crawlers can read the site. I have the <meta ...
0
votes
1answer
23 views

Can generating static links via javascript be legal and recognized?

I have a page of photo thumbnails on my site. On the page, a large number of links are grouped together consecutively, and the links take up at least 1/2 the HTML code size. Here's an example: ...
0
votes
0answers
92 views

SEO on ui-router states of AngularJS SPA

I have a simple SPA created with AngularJS, you can see it running here: www.consami.com.br. I was using Prerender.io to load a pure HTML version for crawlers, however some pages were not indexed by ...
0
votes
0answers
23 views

How should I render a widget with many links inside a blog so google don't penalize the blog?

We run a service (will not mention the URL, as this is not a pitch) and need advice on Google-viewing-links matters. The service is for bloggers and allows them to create a "linkup" inside their blog ...
0
votes
2answers
45 views

How should I access a variable after an async script is loaded?

I have a setup tag for a Tracking service called Clicky that loads asynchronously on every page. I need to access "clicky" variable from another tag, which is only accessible after setup async script ...
0
votes
1answer
58 views

Does Google bot crawl dynamically created iframes? [duplicate]

The situation looks as followed: User includes Javascript snippet into his page. Javascript creates iFrame dynamically and appends it to page. iFrame has static content. Is Google bot smart enough ...
3
votes
2answers
130 views

How bad is JS redirects for SEO?

I have a domain with different markets/languages on different URL paths, like example.com/fr for France and example.com/se for Sweden. This way we gets all our pages indexed for each language - great! ...
0
votes
0answers
23 views

Google INDEED crawls ajax? [duplicate]

I don't understand how this didn't make a bigger BOOM online. It is well known in the industry that google does not index AJAX (just google-search "google crawls ajax") and see dozens of articles ...
0
votes
2answers
17 views

How to pass the Page filename to Google Analytics trackEvent()

I want to easily view Events for a particular page in Google Analytics. Is there a way to pass in the page filename to the event call? e.g., _gaq.push(['_trackEvent', 'ACTION-DESCRIPTION', ...
1
vote
0answers
36 views

Undefined variable in a Javascript for a Google Chrome Extension [closed]

I am a complete newbie in Javascript and I have altered an already existing Javascript. However, when I run it through JSLint and JSHint, I get the same error, which is this: JSLint: Undeclared ...
0
votes
2answers
25 views

Videos on homepage using JS will this effect SEO?

My website has videos on the homepage that open up in JavaScript without navigating to another page. Many other websites host videos on separate pages, will this effect my SEO?
2
votes
0answers
80 views

Cookie consent messages required on websites - how will adsense work?

I ended up watching this video: https://www.youtube.com/watch?v=H5xVSXTn41Y It states that publishers have until September 30th, 2015 to add a visible message indicating about the use of cookies on ...
2
votes
1answer
183 views

Will Google/Bing crawl my website both with and without Javascript, or with only?

We have put a lot of work into our website, to try and make it as SEO-friendly as possible, while also providing a great UX. If you visit with JavaScript enabled, you get a slick AngularJS SPA, which ...
2
votes
1answer
61 views

Duplication of menu through javascript or PHP: Which is better for SEO and page performance?

I have a site with a typical desktop dropdown menu. For the mobile menu (and on touch devices), I am using javascript to slide it out onto the page from the right side by touching a menu button. The ...
6
votes
1answer
117 views

Do loading screens positioned above site content harm SEO?

I use a white div covering all screen before the page loads on a website. Will this hurt my Google Search position? It's not like I'm hiding links on purpose, and I've seen loading screens on many ...
1
vote
0answers
36 views

404 error - page loads fine. OSCommerce - Seperate WP install on blog.

I have looked over other peoples posts but I cant find anything to fix this specific error. On my site, I have 2 CMS - one for the main site which is OS Commerce and I have Wordpress installed on the ...
1
vote
1answer
68 views

Will JavaScript influence my search position in Google?

I have a script which does some position fixes within my site - things like $(".slider_text").css("paddingLeft", procentaj_stdr); $(".slider_text").css("paddingTop", procentaj_slider/12); There are ...
2
votes
1answer
60 views

Can writing a floating navbar's HTML at the bottom of the page increase SEO?

In my entry into SEO (and admittedly the subject is in constant change) I had read SEO Warrior. In that book it explained the concept of increasing a page's SEO value by placing navigation at the ...
0
votes
1answer
48 views

Do I really need to support older browsers?

When an automatic update hits Windows, it updates all software to the latest, stable version. When you update Linux, it does the same. Why should I worry about writing code for older browsers when ...
0
votes
1answer
44 views

What technologies do i need to learn to make a blog? [closed]

I am making my first website which will be my personal blog. My main purpose to make this is to learn website development. I know a fair amount of HTML, CSS and JavaScript. I understand these are all ...
0
votes
0answers
12 views

Does jQuery affect Google Search Ranking? [duplicate]

I'm using jQuery for some adjustments like setting the padding and height of some elements on the page. I'm also displaying a white screen before the content loads (the white screen is displayed ...
0
votes
0answers
28 views

What kind of attack causes a JavaScript 'out of memory' on the attackers device?

We experienced a strange attack yesterday. Our error log picked up the same 'out of memory' JavaScript error from a single IP address every 10 seconds. The requests came from 6 client ports on the ...
0
votes
2answers
882 views

How to trace origin of script injected in my webpage

I was looking through a static site I created on my local server, in my web browser, and found a curious call to an external script <script ...
1
vote
2answers
117 views

Embed Facebook Page Plugin

I've been following facebook instructions in order to embed their "page plugin" in my website, and failing. (See instructions here.) Would you please take a look at my code and help me out? thanks in ...
0
votes
1answer
25 views

Is it possible to change a page given its URL?

I have an HTML page. There is a link to another page. When I load this other page, it has a header which I do not want to appear. I do not have access to edit the source code for the existing HTML. ...
2
votes
1answer
436 views

Does Bing execute Javascript when crawling and indexing web pages (like Google)?

Some content on some web pages is only displayed with Javascript when a button is clicked (for example). We know that Google executes Javascript and is (very likely) to find this content, but what ...
1
vote
1answer
207 views

For how long does the google bot wait after document ready before taking a snapshot of the webpage?

As the google bot lets the JS do its work on the page while crawling, for how long does it wait to let the javascript execute after document ready ? Suppose I have an AJAX response that takes longer ...
2
votes
1answer
108 views

Does e.preventDefault on link prevent the page from being crawled?

I have a couple of links in navigation on homepage that lead to new pages. When clicked on link, i want to prevent going on that page (e.preventDefault()), and instead load that page in popup with ...
1
vote
0answers
125 views

regular expression to match numbers separated by commas [closed]

I want to build regular expression to match this pattern 1, 2, 3, 4, 5, 16 The answer I came up with is (\d+,\s)+ but that would not allow me to have a space at the end of the string. I don't want ...