-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e17b84c
commit b026b82
Showing
6 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,13 @@ var {jsstp}=require('jsstp'); | |
或者你是怀旧党,你可以通过cdn访问jsstp的源码 | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.min.js"></script> | ||
``` | ||
|
||
或者在js中动态载入jsstp | ||
|
||
```javascript | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.mjs"); | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.mjs"); | ||
``` | ||
|
||
##### 类型定义 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,13 +38,13 @@ var {jsstp}=require('jsstp'); | |
或者你是怀旧党,你可以通过cdn访问jsstp的源码 | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.min.js"></script> | ||
``` | ||
|
||
或者在js中动态载入jsstp | ||
|
||
```javascript | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.mjs"); | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.mjs"); | ||
``` | ||
|
||
##### 类型定义 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,13 +38,13 @@ var jsstp=require('jsstp'); | |
If you're a nostalgist, you can access jsstp's source code via CDN. | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.min.js"></script> | ||
``` | ||
|
||
Or load jsstp dynamically in js. | ||
|
||
```javascript | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.mjs"); | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.mjs"); | ||
``` | ||
|
||
##### type definition | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,13 +38,13 @@ var {jsstp}=require('jsstp'); | |
あるいは、古式ゆかしい方法で、cdn経由でjsstpのソースコードにアクセスすることができます。 | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.min.js"></script> | ||
``` | ||
|
||
jsstpをjsで動的に読み込むこともできます。 | ||
|
||
```javascript | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.mjs"); | ||
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.mjs"); | ||
``` | ||
|
||
##### 型定義 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// ==UserScript== | ||
// @name Web Ukagaka | ||
// @namespace https://github.com/ukatech/jsstp-lib | ||
// @version 0.0.0.11 | ||
// @version 0.0.0.12 | ||
// @description try to take over the world! | ||
// @author steve02081504 | ||
// @match *://*/* | ||
// @icon https://www.google.com/s2/favicons?sz=64&domain=shillest.net | ||
// @require https://cdn.jsdelivr.net/gh/ukatech/[email protected].2/dist/jsstp.min.js | ||
// @require https://cdn.jsdelivr.net/gh/ukatech/[email protected].3/dist/jsstp.min.js | ||
// @grant window.onurlchange | ||
// @grant GM.setValue | ||
// @grant GM.getValue | ||
|