LoadScript

一个用于按顺序加载外部js的脚本的库

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/10108/54092/LoadScript.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
bramblex
เวอร์ชัน
1.2
สร้างเมื่อ
27-05-2015
อัปเดตเมื่อ
27-05-2015
Size
1 กิโลไบต์
สัญญาอนุญาต
ไม่มี

简介

一个用于按顺序加载外部js的脚本的库

用法

  var urls = [
   'http://cdnjs.net/ajax/libs/jquery/2.1.4/jquery.min.js',
   'http://cdnjs.net/ajax/libs/jquery.blockUI/2.66.0-2013.10.09/jquery.blockUI.min.js'
  ];

  var onReady = function onReady(){
    $.blockUI();
  };

  loadScript(urls, onReady);