diff --git a/build/chrome/assets/fonts/HelveticaNeue-Light.woff b/build/chrome/assets/fonts/HelveticaNeue-Light.woff new file mode 100644 index 0000000..2465132 Binary files /dev/null and b/build/chrome/assets/fonts/HelveticaNeue-Light.woff differ diff --git a/build/chrome/assets/images/icons/bing.svg b/build/chrome/assets/images/icons/bing.svg new file mode 100644 index 0000000..978a098 --- /dev/null +++ b/build/chrome/assets/images/icons/bing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/chrome/assets/images/icons/caret-down.svg b/build/chrome/assets/images/icons/caret-down.svg new file mode 100644 index 0000000..5ac181e --- /dev/null +++ b/build/chrome/assets/images/icons/caret-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/chrome/assets/images/icons/comment.svg b/build/chrome/assets/images/icons/comment.svg new file mode 100644 index 0000000..541d308 --- /dev/null +++ b/build/chrome/assets/images/icons/comment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/build/chrome/assets/images/icons/downvote.svg b/build/chrome/assets/images/icons/downvote.svg new file mode 100644 index 0000000..c9b1032 --- /dev/null +++ b/build/chrome/assets/images/icons/downvote.svg @@ -0,0 +1 @@ + diff --git a/build/chrome/assets/images/icons/duckduckgo.svg b/build/chrome/assets/images/icons/duckduckgo.svg new file mode 100644 index 0000000..2993913 --- /dev/null +++ b/build/chrome/assets/images/icons/duckduckgo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/chrome/assets/images/icons/gab-icon.svg b/build/chrome/assets/images/icons/gab-icon.svg deleted file mode 100644 index e1665c2..0000000 --- a/build/chrome/assets/images/icons/gab-icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/chrome/assets/images/icons/google.svg b/build/chrome/assets/images/icons/google.svg new file mode 100644 index 0000000..c17d859 --- /dev/null +++ b/build/chrome/assets/images/icons/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/chrome/assets/images/icons/menu.svg b/build/chrome/assets/images/icons/menu.svg new file mode 100644 index 0000000..dade21b --- /dev/null +++ b/build/chrome/assets/images/icons/menu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/build/chrome/assets/images/icons/search.svg b/build/chrome/assets/images/icons/search.svg new file mode 100644 index 0000000..be4776d --- /dev/null +++ b/build/chrome/assets/images/icons/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/chrome/assets/images/icons/startpage.png b/build/chrome/assets/images/icons/startpage.png new file mode 100644 index 0000000..0b3089c Binary files /dev/null and b/build/chrome/assets/images/icons/startpage.png differ diff --git a/build/chrome/assets/images/icons/top-sites.svg b/build/chrome/assets/images/icons/top-sites.svg new file mode 100644 index 0000000..84999d6 --- /dev/null +++ b/build/chrome/assets/images/icons/top-sites.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/build/chrome/assets/images/icons/upvote.svg b/build/chrome/assets/images/icons/upvote.svg new file mode 100644 index 0000000..6a189f5 --- /dev/null +++ b/build/chrome/assets/images/icons/upvote.svg @@ -0,0 +1 @@ + diff --git a/build/chrome/assets/images/icons/yahoo.svg b/build/chrome/assets/images/icons/yahoo.svg new file mode 100644 index 0000000..d69d747 --- /dev/null +++ b/build/chrome/assets/images/icons/yahoo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/chrome/assets/images/logo/gab-logo.png b/build/chrome/assets/images/logo/gab-logo.png deleted file mode 100644 index 086bbb3..0000000 Binary files a/build/chrome/assets/images/logo/gab-logo.png and /dev/null differ diff --git a/build/chrome/assets/images/logo/icon-128.png b/build/chrome/assets/images/logo/icon-128.png index d095e8e..d55ebb7 100644 Binary files a/build/chrome/assets/images/logo/icon-128.png and b/build/chrome/assets/images/logo/icon-128.png differ diff --git a/build/chrome/assets/images/logo/icon-16.png b/build/chrome/assets/images/logo/icon-16.png index 8b9206f..c0f001c 100644 Binary files a/build/chrome/assets/images/logo/icon-16.png and b/build/chrome/assets/images/logo/icon-16.png differ diff --git a/build/chrome/assets/images/logo/icon-48.png b/build/chrome/assets/images/logo/icon-48.png index a918d39..8f188b4 100644 Binary files a/build/chrome/assets/images/logo/icon-48.png and b/build/chrome/assets/images/logo/icon-48.png differ diff --git a/build/chrome/background/background.js b/build/chrome/background/background.js index b95f8bc..67274ce 100644 --- a/build/chrome/background/background.js +++ b/build/chrome/background/background.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Google Chrome",slug:"chrome",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function setExtensionIconBadge(e){e||(e=""),e=formatBadgeText(e=String(e)),chrome.browserAction.setBadgeBackgroundColor({color:"#f40e1c"}),chrome.browserAction.setBadgeText({text:e}),BROWSER_CONFIG.slug===BROWSER_FIREFOX_SLUG&&chrome.browserAction.setBadgeTextColor({color:"#ffffff"})}function formatBadgeText(e){if(!e)return"";var t=parseInt(e);if(t<1)return"";var n="";if(t<1e3)return String(t);if(1e3<=t&&t<1e4){var r=truncateNumber(t,2);n=(r/=10)+"k"}else if(1e4<=t&&t<1e5){n=(r=truncateNumber(t,2))+"k"}else if(1e5<=t&&t<1e6){n=(r=truncateNumber(t,3))+"k"}else 1e6<=t&&(n="1M+");return n}function truncateNumber(e,t){return e?e.toString().substring(0,t):0}function performRequest(e,t){if(!e||!isObject(e))return t(!1,{});var n=e.method||"",r=e.url||"",o=e.params,i=e.headers;if(!n||!r)return!!t&&t(!1,{});var a=new XMLHttpRequest;if(a.open(n,r,!0),a.setRequestHeader("Content-type","application/json"),i&&isArray(i))for(var _=0;_ +New Tab
\ No newline at end of file diff --git a/build/chrome/newtab/newtab.js b/build/chrome/newtab/newtab.js new file mode 100644 index 0000000..8101df7 --- /dev/null +++ b/build/chrome/newtab/newtab.js @@ -0,0 +1,4 @@ +/* Automatically generated file. Do not edit directly. +Copyright (C) 2019 Gab AI, Inc. +All Rights Reserved */ +var BROWSER_CONFIG={name:"Google Chrome",slug:"chrome",version:"0.1.6"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(e,t,n,s){var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.style.setProperty("height",e,"important"),i.style.setProperty("width",t,"important"),i.setAttribute("version","1.1"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("viewBox","0 0 500 500");var a=document.createElementNS("http://www.w3.org/2000/svg","g");a.style.setProperty("transform","translate(17, 37)","important");var r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),r.setAttribute("fill",n);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),o.setAttribute("fill",s);var d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),d.setAttribute("fill",s);var c=document.createElementNS("http://www.w3.org/2000/svg","path");return c.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),c.setAttribute("fill",s),a.appendChild(r),a.appendChild(o),a.appendChild(d),a.appendChild(c),i.appendChild(a),i}function addManyClasses(e,t){if(!isArray(t))return!1;for(var n=0,s=t.length;n -Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. -By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  -Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Google ChromeVersion: 0.1.5Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file +Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. +By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  +Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Google ChromeVersion: 0.1.6Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file diff --git a/build/chrome/options/options.js b/build/chrome/options/options.js index e16b3aa..57de278 100644 --- a/build/chrome/options/options.js +++ b/build/chrome/options/options.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Google Chrome",slug:"chrome",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var n=document;"loading"==n.readyState?n.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}var Options=function(){var n=document.getElementById("twitter-enabled"),E=document.getElementById("reddit-enabled"),_=document.getElementById("youtube-enabled"),t=document.getElementById("window-sidebar-enabled"),A=document.getElementById("comment-badge-enabled"),T=document.getElementById("disqus-dissent-enabled");n.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:TWITTER_BUTTONS_ENABLED,value:e})},E.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:REDDIT_BUTTONS_ENABLED,value:e})},_.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:YOUTUBE_BUTTONS_ENABLED,value:e})},t.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WINDOW_SIDEBAR_UNAVAILABLE_ENABLED,value:e})},A.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WEBSITE_COMMENT_BADGE_ENABLED,value:e})},T.onchange=function(){var e=this.checked;chrome.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:DISSENT_DISQUS_BUTTONS_ENABLED,value:e})},this.init=function(){chrome.runtime.sendMessage({action:BACKGROUND_ACTION_GET_KEY,key:STORAGE_KEY_ALL},function(e){if(!e)return!1;n.checked=e[TWITTER_BUTTONS_ENABLED],E.checked=e[REDDIT_BUTTONS_ENABLED],_.checked=e[YOUTUBE_BUTTONS_ENABLED],t.checked=e[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED],A.checked=e[WEBSITE_COMMENT_BADGE_ENABLED],T.checked=e[DISSENT_DISQUS_BUTTONS_ENABLED]})}};document.addEventListener("DOMContentLoaded",function(){(new Options).init()}); \ No newline at end of file +var BROWSER_CONFIG={name:"Google Chrome",slug:"chrome",version:"0.1.6"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(e,t,_,E){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.style.setProperty("height",e,"important"),n.style.setProperty("width",t,"important"),n.setAttribute("version","1.1"),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n.setAttribute("viewBox","0 0 500 500");var A=document.createElementNS("http://www.w3.org/2000/svg","g");A.style.setProperty("transform","translate(17, 37)","important");var T=document.createElementNS("http://www.w3.org/2000/svg","path");T.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),T.setAttribute("fill",_);var S=document.createElementNS("http://www.w3.org/2000/svg","path");S.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),S.setAttribute("fill",E);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),o.setAttribute("fill",E);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),r.setAttribute("fill",E),A.appendChild(T),A.appendChild(S),A.appendChild(o),A.appendChild(r),n.appendChild(A),n}function addManyClasses(e,t){if(!isArray(t))return!1;for(var _=0,E=t.length;_ \ No newline at end of file diff --git a/build/edge/assets/images/icons/caret-down.svg b/build/edge/assets/images/icons/caret-down.svg new file mode 100644 index 0000000..5ac181e --- /dev/null +++ b/build/edge/assets/images/icons/caret-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/edge/assets/images/icons/comment.svg b/build/edge/assets/images/icons/comment.svg new file mode 100644 index 0000000..541d308 --- /dev/null +++ b/build/edge/assets/images/icons/comment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/build/edge/assets/images/icons/downvote.svg b/build/edge/assets/images/icons/downvote.svg new file mode 100644 index 0000000..c9b1032 --- /dev/null +++ b/build/edge/assets/images/icons/downvote.svg @@ -0,0 +1 @@ + diff --git a/build/edge/assets/images/icons/duckduckgo.svg b/build/edge/assets/images/icons/duckduckgo.svg new file mode 100644 index 0000000..2993913 --- /dev/null +++ b/build/edge/assets/images/icons/duckduckgo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/edge/assets/images/icons/gab-icon.svg b/build/edge/assets/images/icons/gab-icon.svg deleted file mode 100644 index e1665c2..0000000 --- a/build/edge/assets/images/icons/gab-icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/edge/assets/images/icons/google.svg b/build/edge/assets/images/icons/google.svg new file mode 100644 index 0000000..c17d859 --- /dev/null +++ b/build/edge/assets/images/icons/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/edge/assets/images/icons/menu.svg b/build/edge/assets/images/icons/menu.svg new file mode 100644 index 0000000..dade21b --- /dev/null +++ b/build/edge/assets/images/icons/menu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/build/edge/assets/images/icons/search.svg b/build/edge/assets/images/icons/search.svg new file mode 100644 index 0000000..be4776d --- /dev/null +++ b/build/edge/assets/images/icons/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/edge/assets/images/icons/startpage.png b/build/edge/assets/images/icons/startpage.png new file mode 100644 index 0000000..0b3089c Binary files /dev/null and b/build/edge/assets/images/icons/startpage.png differ diff --git a/build/edge/assets/images/icons/top-sites.svg b/build/edge/assets/images/icons/top-sites.svg new file mode 100644 index 0000000..84999d6 --- /dev/null +++ b/build/edge/assets/images/icons/top-sites.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/build/edge/assets/images/icons/upvote.svg b/build/edge/assets/images/icons/upvote.svg new file mode 100644 index 0000000..6a189f5 --- /dev/null +++ b/build/edge/assets/images/icons/upvote.svg @@ -0,0 +1 @@ + diff --git a/build/edge/assets/images/icons/yahoo.svg b/build/edge/assets/images/icons/yahoo.svg new file mode 100644 index 0000000..d69d747 --- /dev/null +++ b/build/edge/assets/images/icons/yahoo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/edge/assets/images/logo/gab-logo.png b/build/edge/assets/images/logo/gab-logo.png deleted file mode 100644 index 086bbb3..0000000 Binary files a/build/edge/assets/images/logo/gab-logo.png and /dev/null differ diff --git a/build/edge/assets/images/logo/icon-128.png b/build/edge/assets/images/logo/icon-128.png index d095e8e..d55ebb7 100644 Binary files a/build/edge/assets/images/logo/icon-128.png and b/build/edge/assets/images/logo/icon-128.png differ diff --git a/build/edge/assets/images/logo/icon-16.png b/build/edge/assets/images/logo/icon-16.png index 8b9206f..c0f001c 100644 Binary files a/build/edge/assets/images/logo/icon-16.png and b/build/edge/assets/images/logo/icon-16.png differ diff --git a/build/edge/assets/images/logo/icon-48.png b/build/edge/assets/images/logo/icon-48.png index a918d39..8f188b4 100644 Binary files a/build/edge/assets/images/logo/icon-48.png and b/build/edge/assets/images/logo/icon-48.png differ diff --git a/build/edge/background/background.js b/build/edge/background/background.js index 278cbf7..5aa5e69 100644 --- a/build/edge/background/background.js +++ b/build/edge/background/background.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Microsoft Edge",slug:"edge",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function setExtensionIconBadge(e){e||(e=""),e=formatBadgeText(e=String(e)),browser.browserAction.setBadgeBackgroundColor({color:"#f40e1c"}),browser.browserAction.setBadgeText({text:e}),BROWSER_CONFIG.slug===BROWSER_FIREFOX_SLUG&&browser.browserAction.setBadgeTextColor({color:"#ffffff"})}function formatBadgeText(e){if(!e)return"";var t=parseInt(e);if(t<1)return"";var n="";if(t<1e3)return String(t);if(1e3<=t&&t<1e4){var r=truncateNumber(t,2);n=(r/=10)+"k"}else if(1e4<=t&&t<1e5){n=(r=truncateNumber(t,2))+"k"}else if(1e5<=t&&t<1e6){n=(r=truncateNumber(t,3))+"k"}else 1e6<=t&&(n="1M+");return n}function truncateNumber(e,t){return e?e.toString().substring(0,t):0}function performRequest(e,t){if(!e||!isObject(e))return t(!1,{});var n=e.method||"",r=e.url||"",o=e.params,i=e.headers;if(!n||!r)return!!t&&t(!1,{});var s=new XMLHttpRequest;if(s.open(n,r,!0),s.setRequestHeader("Content-type","application/json"),i&&isArray(i))for(var a=0;a -Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. -By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  -Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Microsoft EdgeVersion: 0.1.5Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file +Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. +By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  +Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Microsoft EdgeVersion: 0.1.6Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file diff --git a/build/edge/options/options.js b/build/edge/options/options.js index 97b962d..3c2c03d 100644 --- a/build/edge/options/options.js +++ b/build/edge/options/options.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Microsoft Edge",slug:"edge",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var n=document;"loading"==n.readyState?n.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}var Options=function(){var n=document.getElementById("twitter-enabled"),E=document.getElementById("reddit-enabled"),_=document.getElementById("youtube-enabled"),t=document.getElementById("window-sidebar-enabled"),A=document.getElementById("comment-badge-enabled"),T=document.getElementById("disqus-dissent-enabled");n.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:TWITTER_BUTTONS_ENABLED,value:e})},E.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:REDDIT_BUTTONS_ENABLED,value:e})},_.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:YOUTUBE_BUTTONS_ENABLED,value:e})},t.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WINDOW_SIDEBAR_UNAVAILABLE_ENABLED,value:e})},A.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WEBSITE_COMMENT_BADGE_ENABLED,value:e})},T.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:DISSENT_DISQUS_BUTTONS_ENABLED,value:e})},this.init=function(){browser.runtime.sendMessage({action:BACKGROUND_ACTION_GET_KEY,key:STORAGE_KEY_ALL},function(e){if(!e)return!1;n.checked=e[TWITTER_BUTTONS_ENABLED],E.checked=e[REDDIT_BUTTONS_ENABLED],_.checked=e[YOUTUBE_BUTTONS_ENABLED],t.checked=e[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED],A.checked=e[WEBSITE_COMMENT_BADGE_ENABLED],T.checked=e[DISSENT_DISQUS_BUTTONS_ENABLED]})}};document.addEventListener("DOMContentLoaded",function(){(new Options).init()}); \ No newline at end of file +var BROWSER_CONFIG={name:"Microsoft Edge",slug:"edge",version:"0.1.6"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(e,t,_,E){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.style.setProperty("height",e,"important"),n.style.setProperty("width",t,"important"),n.setAttribute("version","1.1"),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n.setAttribute("viewBox","0 0 500 500");var A=document.createElementNS("http://www.w3.org/2000/svg","g");A.style.setProperty("transform","translate(17, 37)","important");var T=document.createElementNS("http://www.w3.org/2000/svg","path");T.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),T.setAttribute("fill",_);var S=document.createElementNS("http://www.w3.org/2000/svg","path");S.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),S.setAttribute("fill",E);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),o.setAttribute("fill",E);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),r.setAttribute("fill",E),A.appendChild(T),A.appendChild(S),A.appendChild(o),A.appendChild(r),n.appendChild(A),n}function addManyClasses(e,t){if(!isArray(t))return!1;for(var _=0,E=t.length;_ \ No newline at end of file diff --git a/build/firefox/assets/images/icons/caret-down.svg b/build/firefox/assets/images/icons/caret-down.svg new file mode 100644 index 0000000..5ac181e --- /dev/null +++ b/build/firefox/assets/images/icons/caret-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/firefox/assets/images/icons/comment.svg b/build/firefox/assets/images/icons/comment.svg new file mode 100644 index 0000000..541d308 --- /dev/null +++ b/build/firefox/assets/images/icons/comment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/build/firefox/assets/images/icons/downvote.svg b/build/firefox/assets/images/icons/downvote.svg new file mode 100644 index 0000000..c9b1032 --- /dev/null +++ b/build/firefox/assets/images/icons/downvote.svg @@ -0,0 +1 @@ + diff --git a/build/firefox/assets/images/icons/duckduckgo.svg b/build/firefox/assets/images/icons/duckduckgo.svg new file mode 100644 index 0000000..2993913 --- /dev/null +++ b/build/firefox/assets/images/icons/duckduckgo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/firefox/assets/images/icons/gab-icon.svg b/build/firefox/assets/images/icons/gab-icon.svg deleted file mode 100644 index e1665c2..0000000 --- a/build/firefox/assets/images/icons/gab-icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/firefox/assets/images/icons/google.svg b/build/firefox/assets/images/icons/google.svg new file mode 100644 index 0000000..c17d859 --- /dev/null +++ b/build/firefox/assets/images/icons/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/firefox/assets/images/icons/menu.svg b/build/firefox/assets/images/icons/menu.svg new file mode 100644 index 0000000..dade21b --- /dev/null +++ b/build/firefox/assets/images/icons/menu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/build/firefox/assets/images/icons/search.svg b/build/firefox/assets/images/icons/search.svg new file mode 100644 index 0000000..be4776d --- /dev/null +++ b/build/firefox/assets/images/icons/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/firefox/assets/images/icons/startpage.png b/build/firefox/assets/images/icons/startpage.png new file mode 100644 index 0000000..0b3089c Binary files /dev/null and b/build/firefox/assets/images/icons/startpage.png differ diff --git a/build/firefox/assets/images/icons/top-sites.svg b/build/firefox/assets/images/icons/top-sites.svg new file mode 100644 index 0000000..84999d6 --- /dev/null +++ b/build/firefox/assets/images/icons/top-sites.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/build/firefox/assets/images/icons/upvote.svg b/build/firefox/assets/images/icons/upvote.svg new file mode 100644 index 0000000..6a189f5 --- /dev/null +++ b/build/firefox/assets/images/icons/upvote.svg @@ -0,0 +1 @@ + diff --git a/build/firefox/assets/images/icons/yahoo.svg b/build/firefox/assets/images/icons/yahoo.svg new file mode 100644 index 0000000..d69d747 --- /dev/null +++ b/build/firefox/assets/images/icons/yahoo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/firefox/assets/images/logo/gab-logo.png b/build/firefox/assets/images/logo/gab-logo.png deleted file mode 100644 index 086bbb3..0000000 Binary files a/build/firefox/assets/images/logo/gab-logo.png and /dev/null differ diff --git a/build/firefox/assets/images/logo/icon-128.png b/build/firefox/assets/images/logo/icon-128.png index d095e8e..d55ebb7 100644 Binary files a/build/firefox/assets/images/logo/icon-128.png and b/build/firefox/assets/images/logo/icon-128.png differ diff --git a/build/firefox/assets/images/logo/icon-16.png b/build/firefox/assets/images/logo/icon-16.png index 8b9206f..c0f001c 100644 Binary files a/build/firefox/assets/images/logo/icon-16.png and b/build/firefox/assets/images/logo/icon-16.png differ diff --git a/build/firefox/assets/images/logo/icon-48.png b/build/firefox/assets/images/logo/icon-48.png index a918d39..8f188b4 100644 Binary files a/build/firefox/assets/images/logo/icon-48.png and b/build/firefox/assets/images/logo/icon-48.png differ diff --git a/build/firefox/background/background.js b/build/firefox/background/background.js index cbb7747..57bdbb2 100644 --- a/build/firefox/background/background.js +++ b/build/firefox/background/background.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Mozilla Firefox",slug:"firefox",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function setExtensionIconBadge(e){e||(e=""),e=formatBadgeText(e=String(e)),browser.browserAction.setBadgeBackgroundColor({color:"#f40e1c"}),browser.browserAction.setBadgeText({text:e}),BROWSER_CONFIG.slug===BROWSER_FIREFOX_SLUG&&browser.browserAction.setBadgeTextColor({color:"#ffffff"})}function formatBadgeText(e){if(!e)return"";var t=parseInt(e);if(t<1)return"";var r="";if(t<1e3)return String(t);if(1e3<=t&&t<1e4){var n=truncateNumber(t,2);r=(n/=10)+"k"}else if(1e4<=t&&t<1e5){r=(n=truncateNumber(t,2))+"k"}else if(1e5<=t&&t<1e6){r=(n=truncateNumber(t,3))+"k"}else 1e6<=t&&(r="1M+");return r}function truncateNumber(e,t){return e?e.toString().substring(0,t):0}function performRequest(e,t){if(!e||!isObject(e))return t(!1,{});var r=e.method||"",n=e.url||"",o=e.params,i=e.headers;if(!r||!n)return!!t&&t(!1,{});var a=new XMLHttpRequest;if(a.open(r,n,!0),a.setRequestHeader("Content-type","application/json"),i&&isArray(i))for(var s=0;s +New Tab
\ No newline at end of file diff --git a/build/firefox/newtab/newtab.js b/build/firefox/newtab/newtab.js new file mode 100644 index 0000000..625004f --- /dev/null +++ b/build/firefox/newtab/newtab.js @@ -0,0 +1,4 @@ +/* Automatically generated file. Do not edit directly. +Copyright (C) 2019 Gab AI, Inc. +All Rights Reserved */ +var BROWSER_CONFIG={name:"Mozilla Firefox",slug:"firefox",version:"0.1.7"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(e,t,n,s){var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.style.setProperty("height",e,"important"),i.style.setProperty("width",t,"important"),i.setAttribute("version","1.1"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("viewBox","0 0 500 500");var a=document.createElementNS("http://www.w3.org/2000/svg","g");a.style.setProperty("transform","translate(17, 37)","important");var r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),r.setAttribute("fill",n);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),o.setAttribute("fill",s);var d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),d.setAttribute("fill",s);var c=document.createElementNS("http://www.w3.org/2000/svg","path");return c.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),c.setAttribute("fill",s),a.appendChild(r),a.appendChild(o),a.appendChild(d),a.appendChild(c),i.appendChild(a),i}function addManyClasses(e,t){if(!isArray(t))return!1;for(var n=0,s=t.length;n -Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. -By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  -Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Mozilla FirefoxVersion: 0.1.5Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file +Dissenter Extension - Options

Dissenter Extension — Options

Close this page when you're done
Content Scripts"Content scripts" are scripts that run in specific web pages. +By using the standard Document Object Model (DOM), these scripts are able to make changes to those websites in order to enhance the experience.
About Browser Permissions

Active Tab: The "Active Tab" permission gives this extension temporary access to the currently active tab when the you invoke the extension.  +Access to the tab lasts while the you are on that page, and is revoked when the you navigates away or closes the tab.

Contact

If you have any questions, ideas, bugs or anything else, please post a new gab using the hashtag: #DissenterExtension.

Your question, idea or bug may have already been posted by someone else, please have a look at the most recent posts using hashtag #DissenterExtension here: gab.com/hash/DissenterExtension.

Please be mindful that when submitting a post, more is better. Include any and all information related to your query, use photos or videos if necessary and someone will be sure to respond in a timely manner.

Browser: Mozilla FirefoxVersion: 0.1.7Download: dissenter.com/download

Copyright © 2019 Gab AI, Inc.
Made in USA

\ No newline at end of file diff --git a/build/firefox/options/options.js b/build/firefox/options/options.js index eefe54e..54171f5 100644 --- a/build/firefox/options/options.js +++ b/build/firefox/options/options.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Mozilla Firefox",slug:"firefox",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var n=document;"loading"==n.readyState?n.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}var Options=function(){var n=document.getElementById("twitter-enabled"),E=document.getElementById("reddit-enabled"),_=document.getElementById("youtube-enabled"),t=document.getElementById("window-sidebar-enabled"),A=document.getElementById("comment-badge-enabled"),T=document.getElementById("disqus-dissent-enabled");n.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:TWITTER_BUTTONS_ENABLED,value:e})},E.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:REDDIT_BUTTONS_ENABLED,value:e})},_.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:YOUTUBE_BUTTONS_ENABLED,value:e})},t.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WINDOW_SIDEBAR_UNAVAILABLE_ENABLED,value:e})},A.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:WEBSITE_COMMENT_BADGE_ENABLED,value:e})},T.onchange=function(){var e=this.checked;browser.runtime.sendMessage({action:BACKGROUND_ACTION_SET_KEY,key:DISSENT_DISQUS_BUTTONS_ENABLED,value:e})},this.init=function(){browser.runtime.sendMessage({action:BACKGROUND_ACTION_GET_KEY,key:STORAGE_KEY_ALL},function(e){if(!e)return!1;n.checked=e[TWITTER_BUTTONS_ENABLED],E.checked=e[REDDIT_BUTTONS_ENABLED],_.checked=e[YOUTUBE_BUTTONS_ENABLED],t.checked=e[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED],A.checked=e[WEBSITE_COMMENT_BADGE_ENABLED],T.checked=e[DISSENT_DISQUS_BUTTONS_ENABLED]})}};document.addEventListener("DOMContentLoaded",function(){(new Options).init()}); \ No newline at end of file +var BROWSER_CONFIG={name:"Mozilla Firefox",slug:"firefox",version:"0.1.7"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var t=document;"loading"==t.readyState?t.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(e,t,_,E){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.style.setProperty("height",e,"important"),n.style.setProperty("width",t,"important"),n.setAttribute("version","1.1"),n.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n.setAttribute("viewBox","0 0 500 500");var A=document.createElementNS("http://www.w3.org/2000/svg","g");A.style.setProperty("transform","translate(17, 37)","important");var T=document.createElementNS("http://www.w3.org/2000/svg","path");T.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),T.setAttribute("fill",_);var S=document.createElementNS("http://www.w3.org/2000/svg","path");S.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),S.setAttribute("fill",E);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),o.setAttribute("fill",E);var r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),r.setAttribute("fill",E),A.appendChild(T),A.appendChild(S),A.appendChild(o),A.appendChild(r),n.appendChild(A),n}function addManyClasses(e,t){if(!isArray(t))return!1;for(var _=0,E=t.length;_CFBundleInfoDictionaryVersion 6.0 CFBundleShortVersionString - 0.1.4 + 0.1.5 CFBundleVersion 1 Chrome diff --git a/build/safari/dissenter.safariextension/assets/images/icons/bing.svg b/build/safari/dissenter.safariextension/assets/images/icons/bing.svg new file mode 100644 index 0000000..978a098 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/bing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/safari/dissenter.safariextension/assets/images/icons/caret-down.svg b/build/safari/dissenter.safariextension/assets/images/icons/caret-down.svg new file mode 100644 index 0000000..5ac181e --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/caret-down.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/comment.svg b/build/safari/dissenter.safariextension/assets/images/icons/comment.svg new file mode 100644 index 0000000..541d308 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/comment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/downvote.svg b/build/safari/dissenter.safariextension/assets/images/icons/downvote.svg new file mode 100644 index 0000000..c9b1032 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/downvote.svg @@ -0,0 +1 @@ + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/duckduckgo.svg b/build/safari/dissenter.safariextension/assets/images/icons/duckduckgo.svg new file mode 100644 index 0000000..2993913 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/duckduckgo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/safari/dissenter.safariextension/assets/images/icons/gab-icon.svg b/build/safari/dissenter.safariextension/assets/images/icons/gab-icon.svg deleted file mode 100644 index e1665c2..0000000 --- a/build/safari/dissenter.safariextension/assets/images/icons/gab-icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/build/safari/dissenter.safariextension/assets/images/icons/google.svg b/build/safari/dissenter.safariextension/assets/images/icons/google.svg new file mode 100644 index 0000000..c17d859 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/safari/dissenter.safariextension/assets/images/icons/menu.svg b/build/safari/dissenter.safariextension/assets/images/icons/menu.svg new file mode 100644 index 0000000..dade21b --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/menu.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/search.svg b/build/safari/dissenter.safariextension/assets/images/icons/search.svg new file mode 100644 index 0000000..be4776d --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/startpage.png b/build/safari/dissenter.safariextension/assets/images/icons/startpage.png new file mode 100644 index 0000000..0b3089c Binary files /dev/null and b/build/safari/dissenter.safariextension/assets/images/icons/startpage.png differ diff --git a/build/safari/dissenter.safariextension/assets/images/icons/top-sites.svg b/build/safari/dissenter.safariextension/assets/images/icons/top-sites.svg new file mode 100644 index 0000000..84999d6 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/top-sites.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/upvote.svg b/build/safari/dissenter.safariextension/assets/images/icons/upvote.svg new file mode 100644 index 0000000..6a189f5 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/upvote.svg @@ -0,0 +1 @@ + diff --git a/build/safari/dissenter.safariextension/assets/images/icons/yahoo.svg b/build/safari/dissenter.safariextension/assets/images/icons/yahoo.svg new file mode 100644 index 0000000..d69d747 --- /dev/null +++ b/build/safari/dissenter.safariextension/assets/images/icons/yahoo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/build/safari/dissenter.safariextension/assets/images/logo/gab-logo.png b/build/safari/dissenter.safariextension/assets/images/logo/gab-logo.png deleted file mode 100644 index 086bbb3..0000000 Binary files a/build/safari/dissenter.safariextension/assets/images/logo/gab-logo.png and /dev/null differ diff --git a/build/safari/dissenter.safariextension/assets/images/logo/icon-128.png b/build/safari/dissenter.safariextension/assets/images/logo/icon-128.png index d095e8e..d55ebb7 100644 Binary files a/build/safari/dissenter.safariextension/assets/images/logo/icon-128.png and b/build/safari/dissenter.safariextension/assets/images/logo/icon-128.png differ diff --git a/build/safari/dissenter.safariextension/assets/images/logo/icon-16.png b/build/safari/dissenter.safariextension/assets/images/logo/icon-16.png index 8b9206f..c0f001c 100644 Binary files a/build/safari/dissenter.safariextension/assets/images/logo/icon-16.png and b/build/safari/dissenter.safariextension/assets/images/logo/icon-16.png differ diff --git a/build/safari/dissenter.safariextension/assets/images/logo/icon-48.png b/build/safari/dissenter.safariextension/assets/images/logo/icon-48.png index a918d39..8f188b4 100644 Binary files a/build/safari/dissenter.safariextension/assets/images/logo/icon-48.png and b/build/safari/dissenter.safariextension/assets/images/logo/icon-48.png differ diff --git a/build/safari/dissenter.safariextension/popup/popup.js b/build/safari/dissenter.safariextension/popup/popup.js index 4ed0e77..2e22cfc 100644 --- a/build/safari/dissenter.safariextension/popup/popup.js +++ b/build/safari/dissenter.safariextension/popup/popup.js @@ -1,4 +1,4 @@ /* Automatically generated file. Do not edit directly. Copyright (C) 2019 Gab AI, Inc. All Rights Reserved */ -var BROWSER_CONFIG={name:"Apple Safari",slug:"safari",version:"0.1.4"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!0;var STORAGE_KEY_ALL="all",isObject=function(e){return!isArray(e)&&!isDate(e)&&(null!==e&&"object"==typeof e)},isString=function(e){return"string"==typeof e||e instanceof String},isDate=function(e){return!isString(e)&&!isArray(e)&&null!=e&&null!=e&&(e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e))},isArray=function(e){return Array.isArray(e)};function ready(e){var n=document;"loading"==n.readyState?n.addEventListener("DOMContentLoaded",e):e()}function getQueryStringValue(e){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(e).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}var Popup=function(){var t=this,i=document.getElementById("popup-iframe"),o="";t.onPopupOpen=function(e){if(!isObject(e))return!1;var n=e.url||"";if(o===n)return!1;o=n;var t=encodeURIComponent(n),_=BASE_URI+t;setTimeout(function(){i.setAttribute("src",_),i.classList.remove("hidden")},250)},t.init=function(e){if(e&&isString(e))t.onPopupOpen({url:e});else if(BROWSER_CONFIG.slug===BROWSER_SAFARI_SLUG){var n=safari.application.activeBrowserWindow.activeTab;t.onPopupOpen(n),safari.application.addEventListener("popover",function(e){o!==n.url&&safari.extension.popovers[0].contentWindow.location.reload()},!0)}else browser.tabs.query({active:!0,currentWindow:!0},function(e){if(!e||!isArray(e))return!1;var n=e[0];t.onPopupOpen(n)})}};if(BROWSER_CONFIG.slug===BROWSER_SAFARI_SLUG){var popup=new Popup;popup.init()}else document.addEventListener("DOMContentLoaded",function(){var e=getQueryStringValue("url");(new Popup).init(e)}); \ No newline at end of file +var BROWSER_CONFIG={name:"Apple Safari",slug:"safari",version:"0.1.5"},BROWSER_CHROME_SLUG="chrome",BROWSER_FIREFOX_SLUG="firefox",BROWSER_EDGE_SLUG="edge",BROWSER_SAFARI_SLUG="safari",DISSENTER_HOME_PAGE_URI="https://dissenter.com",BASE_URI="https://dissenter.com/discussion/begin-extension?url=",COMMENT_COUNT_URI="https://dissenter.com/notification/comment-count?url=",BACKGROUND_ACTION_OPEN_POPUP="open_popup",BACKGROUND_ACTION_GET_KEY="get_key",BACKGROUND_ACTION_SET_KEY="set_key",BACKGROUND_ACTION_SET_BADGE="set_badge",BACKGROUND_ACTION_TAB_UPDATED="tab_updated",COLOR_GAB_GREEN="#21cf7b",SEARCH_ENGINES=[{name:"DuckDuckGo",url:"https://duckduckgo.com/?q=",icon:"duckduckgo.svg"},{name:"Startpage",url:"https://www.startpage.com/do/search?q=",icon:"startpage.png"},{name:"Bing",url:"https://www.bing.com/search?q=",icon:"bing.svg"},{name:"Yahoo!",url:"https://search.yahoo.com/search?p=",icon:"yahoo.svg"},{name:"Google",url:"https://www.google.com/search?q=",icon:"google.svg"}],STORAGE_BASE="gab_dissenter_extension_data",TWITTER_BUTTONS_ENABLED="twitter_buttons_enabled",REDDIT_BUTTONS_ENABLED="reddit_buttons_enabled",YOUTUBE_BUTTONS_ENABLED="youtube_buttons_enabled",WINDOW_SIDEBAR_UNAVAILABLE_ENABLED="window_sidebar_unavailable_enabled",WEBSITE_COMMENT_BADGE_ENABLED="website_comment_badge_enabled",DISSENT_DISQUS_BUTTONS_ENABLED="dissent_disqus_buttons_enabled",WIKIPEDIA_BUTTONS_ENABLED="wikipedia_buttons_enabled",NT_DEFAULT_SEARCH_ENGINE="nt_default_search_engine",NT_TOP_SITES_ENABLED="nt_top_sites_enabled",NT_TOP_SITES_LIMIT="nt_top_sites_limit",NT_TOP_SITES_SIZE="nt_top_sites_size",NT_TOP_SITES_SHAPE="nt_top_sites_shape",NT_TOP_SITES_HIGHLIGHT="nt_top_sites_highlight",NT_TOP_SITES_SHOW_TITLE="nt_top_sites_show_title",NT_DATETIME_SHOW_DATE="nt_datetime_show_date",NT_DATETIME_SHOW_TIME="nt_datetime_show_time",NT_COLORS_SEARCH="nt_colors_search",NT_COLORS_TEXT="nt_colors_text",NT_BACKGROUND_RANDOM="nt_background_random",NT_BACKGROUND_SOLID_COLOR="nt_background_solid_color",NT_BACKGROUND_IMAGE="nt_background_image",NT_BACKGROUND_RANDOM_GRADIENT="nt_background_random_gradient",NT_DISSENTER_ENABLED="nt_dissenter_enabled",NT_DISSENTER_DEFAULT_TAB="nt_dissenter_default_tab",STORAGE_DEFAULT_PARAMS={};STORAGE_DEFAULT_PARAMS[TWITTER_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[REDDIT_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[YOUTUBE_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WINDOW_SIDEBAR_UNAVAILABLE_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[WEBSITE_COMMENT_BADGE_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[DISSENT_DISQUS_BUTTONS_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[WIKIPEDIA_BUTTONS_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DEFAULT_SEARCH_ENGINE]=SEARCH_ENGINES[0],STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_ENABLED]=!1,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_LIMIT]=10,STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SIZE]="md",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHAPE]="circle",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_HIGHLIGHT]="light",STORAGE_DEFAULT_PARAMS[NT_TOP_SITES_SHOW_TITLE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_DATE]=!0,STORAGE_DEFAULT_PARAMS[NT_DATETIME_SHOW_TIME]=!0,STORAGE_DEFAULT_PARAMS[NT_COLORS_SEARCH]="white",STORAGE_DEFAULT_PARAMS[NT_COLORS_TEXT]="white",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM]=!1,STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_SOLID_COLOR]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_IMAGE]="",STORAGE_DEFAULT_PARAMS[NT_BACKGROUND_RANDOM_GRADIENT]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_ENABLED]=!0,STORAGE_DEFAULT_PARAMS[NT_DISSENTER_DEFAULT_TAB]="home";var STORAGE_KEY_ALL="all",isObject=function(t){return!isArray(t)&&!isDate(t)&&(null!==t&&"object"==typeof t)},isString=function(t){return"string"==typeof t||t instanceof String},isDate=function(t){return!isString(t)&&!isArray(t)&&null!=t&&null!=t&&(t&&"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t))},isArray=function(t){return Array.isArray(t)};function ready(t){var _=document;"loading"==_.readyState?_.addEventListener("DOMContentLoaded",t):t()}function getQueryStringValue(t){return decodeURIComponent(window.location.search.replace(new RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1"))}function getDissenterDLogoAsSVG(t,_,e,E){var A=document.createElementNS("http://www.w3.org/2000/svg","svg");A.style.setProperty("height",t,"important"),A.style.setProperty("width",_,"important"),A.setAttribute("version","1.1"),A.setAttribute("xmlns","http://www.w3.org/2000/svg"),A.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),A.setAttribute("viewBox","0 0 500 500");var n=document.createElementNS("http://www.w3.org/2000/svg","g");n.style.setProperty("transform","translate(17, 37)","important");var T=document.createElementNS("http://www.w3.org/2000/svg","path");T.setAttribute("d","M244.885937,0 L193.657763,0 L65.5018905,0 L45.5665325,0 C20.4992438,0 0,20.5016933 0,45.5466667 L0,381.453333 C0,406.504 20.4992438,427 45.5665325,427 L65.5018905,427 L193.657763,427 L244.885937,427 C389.348933,427 467,326.3134 467,213.5 C467,100.6866 393.563837,0 244.885937,0"),T.setAttribute("fill",e);var r=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("d","M309.275885,155 L121.729792,155 C115.246045,155 110,149.623395 110,143.002906 C110,136.376605 115.246045,131 121.729792,131 L309.275885,131 C315.759633,131 321,136.376605 321,143.002906 C321,149.623395 315.759633,155 309.275885,155"),r.setAttribute("fill",E);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("d","M309.275885,225 L121.729792,225 C115.246045,225 110,219.623395 110,213.002906 C110,206.376605 115.246045,201 121.729792,201 L309.275885,201 C315.759633,201 321,206.376605 321,213.002906 C321,219.623395 315.759633,225 309.275885,225"),o.setAttribute("fill",E);var i=document.createElementNS("http://www.w3.org/2000/svg","path");return i.setAttribute("d","M121.78718,296 C115.271711,296 110,290.623395 110,284.002906 C110,277.376605 115.271711,272 121.78718,272 L247.218525,272 C253.733994,272 259,277.376605 259,284.002906 C259,290.623395 253.733994,296 247.218525,296 L121.78718,296 Z"),i.setAttribute("fill",E),n.appendChild(T),n.appendChild(r),n.appendChild(o),n.appendChild(i),A.appendChild(n),A}function addManyClasses(t,_){if(!isArray(_))return!1;for(var e=0,E=_.length;e