获取当前URL


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var urlPath = ExternalInterface.call('eval', 'window.location.href');
  2. ExternalInterface.call('alert',urlPath);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.