473,395 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Automatic popup ads in JavaScript

Hello, I'm trying to build a file, that will Pops up automatically ad's on some web site;
in the site it wirte somthing like javascript:void(0)
this is what im trying to do
Expand|Select|Wrap|Line Numbers
  1. start "~\chrome.exe" javascript:location.href='/MyYad2/MyOrder/CartradeDetails.php?CarID=720724&Up=u
i bulit it in .bat file but im not enught profiessional to bulid it in javascript or AJAX call
The problem it does not work, would love if someone would help me Thanks in advance. :)
Mar 24 '12 #1
1 1895
Dormilich
8,658 Expert Mod 8TB
it’s not going to work because JavaScript is forbidden to access the client file system (a security setting).

to indeed acces the client FS you would need to programm browser specific extensions (like Mozilla’s chrome or IE’s ActiveX)
Mar 24 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Øyvind Isaksen | last post by:
Hi! I have an ASP page and with a form, and when the a user clicks the submit-buttom the form shall be posted using a popup-script and method="get". The problem is that when I use a "normal"...
2
by: Moon | last post by:
Seems I still haven't got the hang of all those window generating code in Javascript. I've got a page with about 15 photo thumbnails. When you click on a thumbnail a new window pops up which shows...
1
by: csgraham74 | last post by:
Hopefully someone can help me with this im trying to creat a modal dialog box in asp.net using the following Dim str_JavaPopup As String = "<script language" &...
13
by: ldan | last post by:
Hi everybody, I would not consider myself an expert in javascript - but so far whatever I know, helped me reaching my goals. Recently I started to experience a lot of javascript errors related...
4
by: Nevyn Twyll | last post by:
Is there any way I can use a code-behind event (like a btn_Click event) to write some javascript into the Response? I was thinking of using Response.Write() to write the following code into the...
1
by: susikto chaudhuri | last post by:
Hi, I have created a server response page (written in PHP). This is receiving the response from the server and writing into a text file. What I want to do when I will get the response from the...
3
by: Barney Rubble | last post by:
Hi everyone. Admittedly I don't know javascript. I got the following code from a free site somewhere and have been using it: <a...
1
by: JVRudnick | last post by:
Hey all... fiddled with my Internet Options in IE7 - and now instead of a popup Javascript window, I get a completely new IE window in a TAB where is the checkbox to go back to the simple...
6
by: Mark B | last post by:
I'd like a little window to pop up when a user clicks the hyperlink text "Grade Key": Grade Key Score Range A+ 95% - 100% A 90% - 94%...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.