fix: firefox被下架(jquery以及jquery-ui不能修改)

This commit is contained in:
frech 2018-07-12 16:18:35 +08:00
parent c602be4c6b
commit e81e8ec648
8 changed files with 14440 additions and 11 deletions

BIN
dist/chrome.crx vendored

Binary file not shown.

BIN
dist/chrome.zip vendored

Binary file not shown.

BIN
dist/firefox.zip vendored

Binary file not shown.

BIN
dist/opera.nex vendored

Binary file not shown.

14440
libs/jquery-ui.js vendored

File diff suppressed because it is too large Load Diff

7
libs/jquery.js vendored
View File

@ -325,12 +325,7 @@ jQuery.extend({
} else {
// Otherwise, avoid the DOM node creation, insertion
// and removal by using an indirect global eval
try{
indirect( code );
}
catch(e){
console.log(e)
}
indirect( code );
}
}
},

View File

@ -1,6 +1,6 @@
{
"name": "GiteeTree",
"version": "2.4.6",
"version": "2.4.7",
"description": "Code tree for GitHub",
"main": "inject.js",
"scripts": {

View File

@ -1,5 +1,5 @@
const OSC_RESERVED_USER_NAMES = ["explore", "repositories", "popular", "enterprises", "gists", "dashboard", "languages", "search", "links", "invite", "profile", "organizations", "notifications", "login", "signup", "oauth"]
const OSC_RESERVED_REPO_NAMES = ["admin", "dashboard", "groups", "help", "profile", "projects", "search", "codes", "fork_project", "fork_code"]
const OSC_RESERVED_REPO_NAMES = ["admin", "dashboard", "groups", "help", "profile", "projects", "search", "codes", "fork_project", "fork_code", "events"]
const OSC_404_SEL = '#parallax_wrapper'
const OSC_PJAX_CONTAINER_SEL = '#tree-holder'
const OSC_CONTAINERS = '#git-header-nav'