Automatic popup ads in JavaScript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Almog1246
    New Member
    • Mar 2012
    • 4

    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
    Code:
    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. :)
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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)

    Comment

    Working...