Skip to content

Commit

Permalink
Hotfix - Removed disqus feature
Browse files Browse the repository at this point in the history
• Removed:
- disqus feature
- The "all" content script for edge, firefox, chrome
- The all script within gulpfile
  • Loading branch information
mgabdev committed Mar 13, 2019
1 parent 66b7d55 commit 94f797e
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 150 deletions.
4 changes: 0 additions & 4 deletions build/chrome/content/all/script/script.js

This file was deleted.

2 changes: 1 addition & 1 deletion build/chrome/manifest.json
@@ -1 +1 @@
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"],"persistent":false},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]},{"matches":["http://*/*","https://*/*"],"js":["content/all/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","offline_enabled":false,"version_name":"0.1.3","version":"0.1.3"}
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"],"persistent":false},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","offline_enabled":false,"version_name":"0.1.3","version":"0.1.3"}
4 changes: 0 additions & 4 deletions build/edge/content/all/script/script.js

This file was deleted.

2 changes: 1 addition & 1 deletion build/edge/manifest.json
@@ -1 +1 @@
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"],"persistent":false},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]},{"matches":["http://*/*","https://*/*"],"js":["content/all/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","version":"0.1.3","author":"Gab.com"}
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"],"persistent":false},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","version":"0.1.3","author":"Gab.com"}
4 changes: 0 additions & 4 deletions build/firefox/content/all/script/script.js

This file was deleted.

2 changes: 1 addition & 1 deletion build/firefox/manifest.json
@@ -1 +1 @@
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"]},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]},{"matches":["http://*/*","https://*/*"],"js":["content/all/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","version":"0.1.2","sidebar_action":{"default_title":"Dissenter","default_panel":"sidebar/sidebar.html","default_icon":"assets/images/logo/icon-128.png"}}
{"manifest_version":2,"name":"Dissenter Extension","short_name":"Dissenter","description":"Dissenter is the comment section of the Internet.","homepage_url":"https://dissenter.com","icons":{"16":"assets/images/logo/icon-16.png","48":"assets/images/logo/icon-48.png","128":"assets/images/logo/icon-128.png"},"permissions":["activeTab","tabs","https://*.dissenter.com/*"],"browser_action":{"default_icon":"assets/images/logo/icon-128.png","default_popup":"popup/popup.html"},"commands":{"_execute_browser_action":{"suggested_key":{"default":"Alt+Shift+D","mac":"Alt+Shift+D"}}},"background":{"scripts":["background/background.js"]},"content_scripts":[{"matches":["https://*.twitter.com/*"],"js":["content/twitter/script/script.js"]},{"matches":["https://*.youtube.com/*"],"js":["content/youtube/script/script.js"]},{"matches":["https://*.reddit.com/*"],"js":["content/reddit/script/script.js"]}],"content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*","incognito":"spanning","version":"0.1.2","sidebar_action":{"default_title":"Dissenter","default_panel":"sidebar/sidebar.html","default_icon":"assets/images/logo/icon-128.png"}}
7 changes: 0 additions & 7 deletions config/manifest.js
Expand Up @@ -43,13 +43,6 @@ module.exports = manifest = {
{
"matches": ["https://*.reddit.com/*"],
"js": ["content/reddit/script/script.js"]
},
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": ["content/all/script/script.js"]
}
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*",
Expand Down
1 change: 0 additions & 1 deletion gulpfile.js
Expand Up @@ -155,7 +155,6 @@ gulp.task('scripts', () => {
if (browser.slug !== 'safari') promises.push(getPromise('script', 'src/scripts/content/twitter/**', browser, 'content/twitter'));
if (browser.slug !== 'safari') promises.push(getPromise('script', 'src/scripts/content/youtube/**', browser, 'content/youtube'));
if (browser.slug !== 'safari') promises.push(getPromise('script', 'src/scripts/content/reddit/**', browser, 'content/reddit'));
if (browser.slug !== 'safari') promises.push(getPromise('script', 'src/scripts/content/all/**', browser, 'content/all'));
if (browser.slug !== 'safari') promises.push(getPromise('background', 'src/scripts/background/**', browser));
if (browser.slug === 'firefox') promises.push(getPromise('sidebar', 'src/scripts/components/sidebar.js', browser));
};
Expand Down

0 comments on commit 94f797e

Please sign in to comment.