Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyqin committed Feb 25, 2019
1 parent eb11095 commit 27db3c3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
Empty file added github-info/app.js
Empty file.
30 changes: 30 additions & 0 deletions github-info/github-info.user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// ==UserScript==
// @name Github Info
// @namespace https://betacat.online/
// @version 0.1.1
// @description A demo to use vuejs in tampermonkey script.
// @author Toby Qin
// @include *github.com*
// @exclude *api.github*
// @supportURL https://github.com/tobyqin/tampermonkey_vue
// @updateURL $server/peppa.user.js
// @downloadURL $server/peppa.user.js
// @require https://cdn.bootcss.com/vue/2.5.16/vue.min.js
// @require https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js
// @require $server/app.js?$version
// @require $server/app.css?$version
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_setClipboard
// @run-at document-body
// @noframes
// ==/UserScript==

window.jq = $.noConflict(true);

(function () {
'use strict';
githubInfoApp.isReady(function (data) {
githubInfoApp.startApp(data);
});
})();

0 comments on commit 27db3c3

Please sign in to comment.