获取当前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


You need to login to view comments.