Foros del Web » Programación para mayores de 30 ;) » Programación General » Visual Basic clásico »

entraer variable js por medio de WebBrowser?

Estas en el tema de entraer variable js por medio de WebBrowser? en el foro de Visual Basic clásico en Foros del Web. tenemos un sitio [URL="whatismyipaddress.com"]whatismyipaddress.com[/URL] el cual nos localiza mediante la ip, la cuestion es sacar los puntos cardinales: linea 175 -> @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); Código Javascript ...
  #1 (permalink)  
Antiguo 01/02/2012, 22:04
 
Fecha de Ingreso: enero-2012
Mensajes: 4
Antigüedad: 12 años, 2 meses
Puntos: 0
Pregunta entraer variable js por medio de WebBrowser?

tenemos un sitio [URL="whatismyipaddress.com"]whatismyipaddress.com[/URL] el cual nos localiza mediante la ip, la cuestion es sacar los puntos cardinales:

linea 175 ->
Código Javascript:
Ver original
  1. <script type="text/javascript">
  2.   function initialize() {
  3.     var myLatlng = new google.maps.LatLng(-38.587502,-57.672501);
  4.     var myOptions = {
  5.       zoom: 5,
  6.       center: myLatlng,
  7.       navigationControl: true,
  8.       scaleControl: false,
  9.       mapTypeControl: false,
  10.       mapTypeId: google.maps.MapTypeId.ROADMAP
  11.     }
  12.     var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
  13.     var image = '/images/marker_sq.png';
  14.     var beachMarker = new google.maps.Marker({
  15.         position: myLatlng,
  16.         map: map,
  17.         icon: image
  18.     });
  19.    
  20.     var populationOptions = {
  21.         strokeColor: "#990000",
  22.         strokeOpacity: 0.5,
  23.         strokeWeight: 1,
  24.         fillColor: "#FF0000",
  25.         fillOpacity: 0.15,
  26.         map: map,
  27.         center: myLatlng,
  28.         radius: 25000
  29.     };
  30.     cityCircle = new google.maps.Circle(populationOptions);
  31.    
  32. }
  33. </script>

la idea es extraer "-38.587502,-57.672501"; alguna idea de como hacerlo?

Etiquetas: javascript, js, webbrowser
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 10:30.