Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30560

Re: Nofollow javascript

Newsgroups comp.lang.javascript
Subject Re: Nofollow javascript
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <7ebd3760-9d9f-426a-a59a-c3e2f1024f40@googlegroups.com> <306b086a-28f6-4b70-a3c5-ddee949816e0@googlegroups.com> <86992b77-b9f8-4662-a0dd-e7aadfce8b39@googlegroups.com> <490fd6da-25cf-4aaf-8961-bc37adb628b7@googlegroups.com> <456626ea-3400-49bc-9581-eec0d7073e0d@googlegroups.com>
Date 2016-05-26 12:55 +0200
Message-ID <XnsA6148379B5DBBeejj99@194.109.6.166> (permalink)

Show all headers | View raw


"Michael Haufe (TNO)" <tno@thenewobjective.com> wrote on 26 May 2016 in
comp.lang.javascript: 

>> I suspect your entire JavaScript file doesn't need to be generated.
>> Just some variables 
> 
> If that is the case, 

But is it?

> then simple generate those variable elsewhere. For
> example: 
> 
> <script type="text/javascript" src="myFile.js" data-var1='<?php echo
> "foo"; ?>'></script> 

Why not:

<script type="text/javascript" src="myJsFile.php"></script> 

and then inside that myJsFile.php file:

var fooVar = '<?php echo "foo"; ?>';

Do you realy think Google will extract urls from a js-variable?


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Nofollow javascript Andre Trevas <andretrevas@gmail.com> - 2016-05-24 23:11 -0700
  Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-25 09:23 +0200
    Re: Nofollow javascript Andre Trevas <andretrevas@gmail.com> - 2016-05-25 10:32 -0700
      Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-25 21:08 +0200
        Re: Nofollow javascript Andre Trevas <andretrevas@gmail.com> - 2016-05-25 15:09 -0700
          Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-26 00:39 +0200
          Re: Nofollow javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-27 18:27 +0200
            Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-28 11:48 +0200
  Re: Nofollow javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-25 06:10 -0700
    Re: Nofollow javascript Andre Trevas <andretrevas@gmail.com> - 2016-05-25 10:36 -0700
      Re: Nofollow javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-25 16:44 -0700
        Re: Nofollow javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-25 16:50 -0700
          Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-26 12:55 +0200
            Re: Nofollow javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-26 05:14 -0700
              Re: Nofollow javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-26 14:20 +0200
                Re: Nofollow javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-05-26 05:55 -0700
  Re: Nofollow javascript Andre Trevas <andretrevas@gmail.com> - 2016-06-09 08:29 -0700

csiph-web