Giter VIP home page Giter VIP logo

chaoxingchati's Introduction

超星查题

关注我们

南泰校园

超星划题查题

  • 划题选中题目
  • 后台获取题目,查询
  • 返回题目答案

使用

1.在地址栏输入

chrome://extensions/

2.选着开发者模式

3.解压下载压缩包,并加载已解压的扩展程序

安装

  • manifest.json文件

{
    //插件标题
	"name" : "超星查题" ,
    //插件描述
	"description" : "支持超星题目查找" ,
	"manifest_version" : 2 ,
	"version" : "1.0.0" ,
	"author": "@单眼皮_905986631",
    //图标
	"icons":
	{
		"48": "icon.png",
		"128": "icon.png"
	},
    //需要权限
	"permissions" : [
		"<all_urls>" ,
		"contextMenus" ,
		"storage" ,
		"clipboardWrite" ,
		"clipboardRead" ,
		"activeTab" ,
		"identity",
		"webRequest",
		"webRequestBlocking"
	  ] ,
    //插件后端,一直运行的js
	"background" : {
		"scripts" : ["background.js"]
	} ,
    //菜单栏上的图标和功能
	"browser_action": 
	{
		"default_icon": "icon.png",
		"default_popup": "popup.html"
	},
    //使用到的js
	"content_scripts": 
	[
		{
			"all_frames": true,
			"js": ["Scribing.js","jQuery.js","popup.js"],
			"matches": ["<all_urls>"],
			"match_about_blank": true,
			"run_at": "document_end"
		}
	]
}
  • popup.html文件

  • popuup.js

  • background.js

  • Scribing.js

chaoxingchati's People

Contributors

danyanp avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.