Version 1.0.0
Исправлена проблема, что скрипт пытался запуститься, пока еще не загрузилась страница -Более менее работает -Добавил иконки в разных местах
This commit is contained in:
		@@ -1,4 +1,10 @@
 | 
				
			|||||||
function injected_main() {
 | 
					function injected_main() {
 | 
				
			||||||
 | 
						var timerId = setInterval(show, 2000);
 | 
				
			||||||
 | 
						setTimeout(function() {
 | 
				
			||||||
 | 
						  clearInterval(timerId);
 | 
				
			||||||
 | 
						}, 7000);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					function show() {
 | 
				
			||||||
	$('*[class^="correct"]').show().removeClass("ng-hide").parent().show().removeClass("ng-hide"); 
 | 
						$('*[class^="correct"]').show().removeClass("ng-hide").parent().show().removeClass("ng-hide"); 
 | 
				
			||||||
	$("table.ng-hide").removeClass("ng-hide"); 
 | 
						$("table.ng-hide").removeClass("ng-hide"); 
 | 
				
			||||||
	$("section").css("user-select","initial");
 | 
						$("section").css("user-select","initial");
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,20 +1,26 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "LMS helper ♥",
 | 
						"name": "LMS helper ♥",
 | 
				
			||||||
  "description": "Easy answers from your heart. Made with love by FutureX",
 | 
						"description": "Easy answers from your heart. Made with love by FutureX",
 | 
				
			||||||
  "version": "1.4.8.8",
 | 
						"icons": {
 | 
				
			||||||
  "manifest_version": 2,
 | 
							"16": "icon.png",
 | 
				
			||||||
  "browser_action": {
 | 
							"32": "icon.png",
 | 
				
			||||||
    "default_icon": "icon.png"
 | 
							"48": "icon.png",
 | 
				
			||||||
  },
 | 
							"128": "icon.png"
 | 
				
			||||||
  "content_scripts": [
 | 
						},
 | 
				
			||||||
    {
 | 
						"version": "1.4.8.8",
 | 
				
			||||||
      "matches": [ "*://www.cambridgelms.org/*" ],
 | 
						"manifest_version": 2,
 | 
				
			||||||
      "js": [ "jquery.js", "background.js" ],
 | 
						"browser_action": {
 | 
				
			||||||
	  "run_at": "document_end",
 | 
							"default_icon": "icon.png"
 | 
				
			||||||
      "all_frames": true
 | 
						},
 | 
				
			||||||
    }
 | 
						"content_scripts": [
 | 
				
			||||||
  ],
 | 
							{
 | 
				
			||||||
  "web_accessible_resources": [
 | 
								"matches": [ "*://www.cambridgelms.org/*" ],
 | 
				
			||||||
    "/injected.js"
 | 
								"js": [ "jquery.js", "background.js" ],
 | 
				
			||||||
  ]
 | 
								"run_at": "document_end",
 | 
				
			||||||
 | 
								"all_frames": true
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						],
 | 
				
			||||||
 | 
						"web_accessible_resources": [
 | 
				
			||||||
 | 
							"/injected.js"
 | 
				
			||||||
 | 
						]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user