Skip to content

Commit

Permalink
pre 3.300 (not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Nov 21, 2020
1 parent 62ee327 commit 88463f1
Show file tree
Hide file tree
Showing 36 changed files with 21,379 additions and 31,081 deletions.
Binary file added assets/fonts/XanhMono-Regular.ttf
Binary file not shown.
38 changes: 19 additions & 19 deletions background.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
/*---------------------------------------------------------------
>>> BACKGROUND
-----------------------------------------------------------------
1.0 Global variables
2.0 Functions
3.0 Context menu items
4.0 Message listener
5.0 Storage change listener
6.0 Initialization
7.0 Uninstall URL
8.0 Google Analytics
# Global variables
# Functions
# Context menu items
# Message listener
# Storage change listener
# Initialization
# Uninstall URL
# Google Analytics
---------------------------------------------------------------*/

/*---------------------------------------------------------------
1.0 GLOBAL VARIABLES
# GLOBAL VARIABLES
---------------------------------------------------------------*/

var locale_code = 'en',
browser_icon = false;


/*---------------------------------------------------------------
2.0 FUNCTIONS
# FUNCTIONS
---------------------------------------------------------------*/

function isset(variable) {
Expand Down Expand Up @@ -72,7 +72,7 @@ function browserActionIcon() {


/*---------------------------------------------------------------
3.0 CONTEXT MENU ITEMS
# CONTEXT MENU ITEMS
---------------------------------------------------------------*/

chrome.contextMenus.removeAll();
Expand Down Expand Up @@ -107,7 +107,7 @@ chrome.contextMenus.onClicked.addListener(function(event) {


/*---------------------------------------------------------------
4.0 MESSAGE LISTENER
# MESSAGE LISTENER
---------------------------------------------------------------*/

chrome.runtime.onMessage.addListener(function(request, sender) {
Expand Down Expand Up @@ -278,7 +278,7 @@ chrome.runtime.onMessage.addListener(function(request, sender) {


/*---------------------------------------------------------------
5.0 STORAGE CHANGE LISTENER
# STORAGE CHANGE LISTENER
---------------------------------------------------------------*/

chrome.storage.onChanged.addListener(function(changes) {
Expand All @@ -297,7 +297,7 @@ chrome.storage.onChanged.addListener(function(changes) {


/*---------------------------------------------------------------
6.0 INITIALIZATION
# INITIALIZATION
---------------------------------------------------------------*/

chrome.storage.local.get(function(items) {
Expand All @@ -316,19 +316,19 @@ chrome.storage.local.get(function(items) {


/*---------------------------------------------------------------
7.0 UNINSTALL URL
# UNINSTALL URL
---------------------------------------------------------------*/

chrome.runtime.setUninstallURL('https://improvedtube.com/uninstalled');
//chrome.runtime.setUninstallURL('https://improvedtube.com/uninstalled');


/*---------------------------------------------------------------
8.0 GOOGLE ANALYTICS
# GOOGLE ANALYTICS
---------------------------------------------------------------*/

var _gaq = _gaq || [];

(function() {
/*(function() {
var ga = document.createElement('script');
_gaq.push(['_setAccount', 'UA-88354155-1']);
Expand All @@ -339,4 +339,4 @@ var _gaq = _gaq || [];
ga.src = 'https://ssl.google-analytics.com/ga.js';
document.body.appendChild(ga);
})();
})();*/
1 change: 0 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"src/youtube/css/themes/dawn.css",
"src/youtube/css/themes/default.css",
"src/youtube/css/themes/desert.css",
"src/youtube/css/themes/legacy.css",
"src/youtube/css/themes/night.css",
"src/youtube/css/themes/plain.css",
"src/youtube/css/themes/sunset.css"
Expand Down
Loading

0 comments on commit 88463f1

Please sign in to comment.