refactor(users): remove unn files

This commit is contained in:
Eshan Roy (Eshanized)
2024-05-02 12:50:07 +05:30
parent 12cef694e5
commit 355a37f7b1
485 changed files with 0 additions and 281054 deletions

View File

@@ -1,27 +0,0 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1 +0,0 @@
[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJMSUNFTlNFIiwicm9vdF9oYXNoIjoiUGIwc2tBVUxaUzFqWldTQnctV0hIRkltRlhVcExiZDlUcVkwR2ZHSHBWcyJ9LHsicGF0aCI6ImNybC1zZXQiLCJyb290X2hhc2giOiJDLVpMdVczUFo1MHRGcC1HWW9UWndhVTlDSF9naE1CSU5VWWdySkpzRGowIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6Im5XT0NGNDRVVkdabEFWOTJQNndPemYtYmI1Smh1M0tTZnJfVWhjMS0tdE0ifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJoZm5rcGltbGhoZ2llYWRkZ2ZlbWpob2ZtZmJsbW5pYiIsIml0ZW1fdmVyc2lvbiI6Ijg3MjIiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"jTG5oiGToUO5vPzB66YiHNREAB6WbDQa1FHQJrN-7o4n9rcmwHmuTVx5qt2clmxnVof7DIXvn3vOK12CCEKuIBL5Ex9Uc12E-r0rpctBnunIKwI5Y3i2P4bxQkfdtlj9bVgU2M2Ulwkj2I6Xs_-8TAQX3zBRKyUxhKrxvXLMJmKLtJW5hlq6ORGDd1YGcBkfeISdtcBRRs9pYmeChqF5L8VsGl53SgsZYFY0I1YqcKyWs7gcOGpaOdBCHulJQQVyuya_7Ki-C36WW68f4T4KhZWiLboGRkqlm9ifrhhioCf9N75FlP5JYBAe10pSsKhBAO8NhhZSxcyITtu7DQQ9dw"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"jqW_YTekSEoEW4uiXXs8u8jDqo2huEx9-N0MWtOj4z-_DIPKbsDzgKKzkgMUW7MYfQxz3FsCqIBzoqCaNZp9nc4H0yArXThkG66gf_B_dfq6hJdh2GEyT2siOn3r1ewI7syHe2RHoLLkKEqYfuR9yO2XIS1txNpE-9476O1Ncksoq-yu-0fejMilSfVuqOrcRs0aX2Urg56eA8qi1qD2xv3YDq48ZheLx6mXEUkCUVuKjtqvcr8O39dGlHpT09B5h7Kp0DxlbAbXzJ7Oovtl7viXEhRQxsWxtF64x3lZcm1UfddlC2bjkhkP4p2k7Fdb-wBUcBgCoJieSosDb--tRA"}]}}]

View File

@@ -1 +0,0 @@
1.32db4e764e93746ade17b946459c807e9f84c5cf883f650635a6ba2c56c5cf27

View File

@@ -1,5 +0,0 @@
{
"manifest_version": 2,
"name": "crl-set-10393438687861110169.data",
"version": "8722"
}

View File

@@ -1,27 +0,0 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1 +0,0 @@
[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJMSUNFTlNFIiwicm9vdF9oYXNoIjoiUGIwc2tBVUxaUzFqWldTQnctV0hIRkltRlhVcExiZDlUcVkwR2ZHSHBWcyJ9LHsicGF0aCI6ImNybC1zZXQiLCJyb290X2hhc2giOiJNMEhRLXItZHk3cEFNbGxkX19fNGpYXzhySXhVOXY4d01VRE5pS0JWM1k0In0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6IlU0OXE4TTRXdkl1MWtmTzNEdGZxMjdnRnRtWWFhb3BYWjBMV0o2ZFFMMEEifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJoZm5rcGltbGhoZ2llYWRkZ2ZlbWpob2ZtZmJsbW5pYiIsIml0ZW1fdmVyc2lvbiI6Ijg3MjQiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"m2LnvLLama3jZLtN5EBwP2g7lzvrb0wkrMcDbqaD1QbaLT5mbkZqhA-R2LqupVPpw3xVpJC94WSqyAbURbH2LfjGteCocYwkySC3sFUBkKSXoJl_hVYEFA7NYqGcapk8SCNKAzhoW8CUO-t88AXymrTM--puWndteCgLl9jB3uQ0SwKI0jl0ndM93OlhX2xBcqabXvYvUO999T0xGZXDNojqsTZaVti8ShUS3vFi_XDrajVsNtbaZWdzXZsFFgI0IXAM8trl2MkxLNd3dr29ap9zVL6mOY91LCnhAqL_1CUtQwVb-nMwjlZY_T3qx2Wwj7Qsmq22iqlSWj45o2hlTg"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"D35TqcrD_XAhshzWuG_8iHMkrUqovRmoa7oOCLTkhP72TzOO7fAyu1IDqGxeOVNPYtZ3b5j5nawCvJxYRIpwjDN7CaEyFWVyKUKwA1YeC8WuaawRpgVPqb1mMdYmyFynUuAQDoMM1eSOTwB1FkQSHrOVnnPIMVndD4udljuuat6lcQF4Pi7o3AfBxR2ikhaaMRG-Y9VtH5pNDZ7Sw-OAcfGgj2uoNgDHBzlfbzHuXOpz3of5zFh-kh75bx_1e50dfegeka1c12W5v3pbBmXkBs-tTfzVhTEjhj90v7VNmTZkk3VTN2QarFOukyzoYtNgmscjKCFyJ4w-JB2kYXioXA"}]}}]

View File

@@ -1 +0,0 @@
1.b5ae7649b7b7f6766f8d32735db49f8f96d4b1b075d0e05d2c47d012be8397fc

View File

@@ -1,5 +0,0 @@
{
"manifest_version": 2,
"name": "crl-set-13954362577954872534.data",
"version": "8724"
}

View File

@@ -1 +0,0 @@
3db86e3b-9496-4d30-847c-b3539ee6442d

View File

@@ -1 +0,0 @@
[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJQcmVsb2FkIERhdGEiLCJyb290X2hhc2giOiJOZDhIc1I0cW5STmRMZzdGZUtRVHVtblR1cENqQ19nWE5aMjRxdnByc3A0In0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6Im1EQnJJY0NxLVZSakFmU3JmLTE0WGNOcHhuNHYwcTFOWXZ4ajhIS2xIancifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJnZ2trZWhnYm5manBlZ2dmcGxlZWFrcGlkYmtpYmJtbiIsIml0ZW1fdmVyc2lvbiI6IjIwMjMuMTEuMjkuMTIwMSIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"Wg2GeVUo6skyEtp_XVL0I-JH_-0X6Od_cY8bKzCMftpXl9xwobiCHChPVnboEnIiH2GVpz9Py0m01LxYijS5WH8fAS9XRJGKplFs3rGfXU0sU4eY4IKV6d_zq4BXX1jWUsPS6k_4mAfytKOZWrgfefSP3H2m6k_TV_9V5ng_uPy8PPcEN4ztsjaFAu2ubZidSH_bGs31LdPeTjvEz_WQtOkDns0BysUGBkH7MfKrBnAeDAnaYuPoucA5zR7kJ-mcxImkq6oTcJyRraxZkwYK31JtMNs6JuAX5HFD-zj77n5I4NCGi5RLRrPcP6lGCNOau5p31eHFct4orlXrSJTMoc4LrudlkpkbYOuzDc0d0EktqazsdfgQalMFQz0OJCARl8h2W2FYrrB-SaUB-RRRt1Mgo1moSuYEE7cAvYgTyQQ__axgC3k4Jby-QTWhLwqMJ1SBcIBnn6afEH1_DU_kuP4PkYwWbnrEUG7w04e4s7yVkJioxUw9pqrZcXIpUeRJyfoK4tkRrcUzouBI-HDjXMoqqdyYgN3C8mryUhjcv92R3uTN-X6qINCcb37rlVBEuZ6RQFxdIWdHc1JfS7Vv7yOUskxxdrbOUaAZuK_hXvBIVZZJpEPNdsBbYgMdWb0lBor52hqzjLU_q-mbw66lC-Q_IWiSljG6bCmQLUU5i9c"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"imFdDzCrtgK_ZQl2R3mVEh3QgvGcS0UNSN6aHje6KSBTTPZ5iRlfNm1PiaKBlvoxOjHfznIN_h16mm_f8QsCpFDgf38hh_a_06fQ2Z5Los6-u1kDFf51biOfj8-f9mKYwBOH9Dh4GFFSQOfx9-2CgzVTJsyO2LWFSzFI9jtdeY3GpOLkLm2NmODG0k0INCyJ1vkqOV7C5zaZvipF_zc_UVP4SLWhsiS3QuThm6rR4kPeyLeTv7P5jFMb06rAdhT_Ww6HIu_idz6ajWVRnEMdp4o0wN33Y2Uhv2GHW18gojWiByfHssLri0LdBYtFff34XTgg3tLorFBB_X-Hb_l4MQ"}]}}]

View File

@@ -1 +0,0 @@
1.905f83845e25579fd4c6ae4bdc81a2740a216023f856918045ced4508329c941

View File

@@ -1,6 +0,0 @@
{
"manifest_version": 2,
"name": "Crowd Deny",
"preload_data_format": 1,
"version": "2023.11.29.1201"
}

View File

@@ -1 +0,0 @@
[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJkb3dubG9hZF9maWxlX3R5cGVzLnBiIiwicm9vdF9oYXNoIjoiWWVNUVNmVERNSFNzLTg2UWV5V1pSU1lTWXkxTTBUSmJjZ1E4cXZ3QlBOYyJ9LHsicGF0aCI6Im1hbmlmZXN0Lmpzb24iLCJyb290X2hhc2giOiJZMHVIS0NEMWdEWTRZVk1lNGU5VVpZa2cweUYwd1VqdFI3cGMybE52T0ZJIn1dLCJmb3JtYXQiOiJ0cmVlaGFzaCIsImhhc2hfYmxvY2tfc2l6ZSI6NDA5Nn1dLCJpdGVtX2lkIjoia2hhb2llYm5ka29qbG1wcGVlbWpoYnBiYW5kaWxqcGUiLCJpdGVtX3ZlcnNpb24iOiI2MyIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"IfiegqogJgBrDtrQB3ng0fQDtmqeGNn6Ft7AIoqwC_DOkn7xMWslOnFhlLeN9JW1Z2qhAVnf2d1WsNRyLjazAsZ99uw_0XXTLF_LTebrlp2y9Aa3ibE_l0Ksyy6tIUT0lPMsRZsuScicsuZMU6ec0qn5VOG5hn4Sqz01TWupoVi5YUTTJBckwD3LGangKtWzpqcNsjcmqPqa1_9dVvHZJkdOaN7gNDRVxAZrlwdJDw84IXMjfe7cYzp9P41IJCCyvIX-K_-4H6jyjUAmDzen4QhbEbHGzfplQ0wXGCto-1OY47BzUj0SzFq8iDJNprQa8EhAB7GvzXpZ1ii-JBzp_w"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"FfoClvGbq73W5jUU3yaBqITR0FFuImwtaio9Ti-OVvBottFcpiOQbe2WROYwMQV8eenkZropjaJ1I0fIBFqRRwkEN7Mh--8IRVSVDKg5j8zw0Lci3H0K_zh49aCxTqL6lddjc4q0Nf0_bRSL-h7MlqGwcMmhjpl3VFLjjEg5OG9wobT5w2v4I-BZDYpSKyyFSrlW3q8hOz2vLSNdZoD3d5FhvRdmwn3gOSP-LpHm05zXnKybir_h_aE_SWUJHaNYZx5bTwZocHxQnc_kdJcBuASh2E954prQinuLDxuqZRsG9xYzDPoKa51PGZMOFJuoAZ8yO3HQxQBhg3-s95zgUA"}]}}]

View File

@@ -1 +0,0 @@
1.ffc78b3f99d65a2208200388e821bd089e9a486c624a671e045e4bcc378380b8

View File

@@ -1,5 +0,0 @@
{
"manifest_version": 2,
"name": "fileTypePolicies",
"version": "63"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["sD5Xs5cS94YlxbaJT96sP6+fOpspLzY13Kn40x6P2QY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["KP6B9u0F8UfTnBWZRDjT8albq7MwxE4a0E7+xmGbukU=","9n8nBTlP7yn/ZP5JWHcB2W/cMIr4rssNYb85GKvwxiA="],"block_size":4096,"path":"youtubeBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "youtubeBase.bundle.js" ],
"matches": [ "https://m.youtube.com/*", "https://www.youtube.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "an4WtV3QX4HXKmWC3Eztf8gBWc2tmi7RWlUDadUauk4=",
"manifest_version": 2,
"name": "greaselion-10",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["sD5Xs5cS94YlxbaJT96sP6+fOpspLzY13Kn40x6P2QY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["KP6B9u0F8UfTnBWZRDjT8albq7MwxE4a0E7+xmGbukU=","9n8nBTlP7yn/ZP5JWHcB2W/cMIr4rssNYb85GKvwxiA="],"block_size":4096,"path":"youtubeBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "youtubeBase.bundle.js" ],
"matches": [ "https://m.youtube.com/*", "https://www.youtube.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "an4WtV3QX4HXKmWC3Eztf8gBWc2tmi7RWlUDadUauk4=",
"manifest_version": 2,
"name": "greaselion-10",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["pIReWiRwWE6MmZ3kHPccjDdF+wW/QTVGXw69/k9Obn4="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["0EZ2DoOfEgVH0Xmo6zgM39B9uJ7SVtO5W8l1Fh0HXqE="],"block_size":4096,"path":"redditBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "redditBase.bundle.js" ],
"matches": [ "https://old.reddit.com/*", "https://reddit.com/*", "https://www.reddit.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "jenMCfsuNOH3nDwTIdDi0TIerMyk5pj1pvhfwRv/Ti4=",
"manifest_version": 2,
"name": "greaselion-2",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})},i=()=>"complete"===document.readyState&&"visible"===document.visibilityState,o="reddit",a="reddit.com",s=(e,t)=>{if(!e)return"";let r="www";return t&&(r="old"),`https://${r}.reddit.com/user/${e}/`},c=()=>{const e=new URL(location.href);(e=>{if(["/","/coins","/contact","/login","/premium"].includes(e))return!0;const t=["/dev/","/help/","/r/","/wiki/"];for(const r of t)if(e.startsWith(r))return!0;return!1})(e.pathname)?(()=>{const e=`https://www.${a}`,t=a,n=a,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname||!e.pathname.startsWith("/user/"))return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length<2?"":t[1]:""})(e);if(!t)return void n(o,"Invalid screen name");const i=(e=>e.hostname.startsWith("old.")||e.hostname.startsWith("np."))(e);(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=await(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=s(e,t);if(!r)throw new Error("Invalid profile url");const n=r+"about.json",i=await fetch(n);if(!i.ok){const e=((e,t)=>`Profile request failed: ${t.statusText} (${t.status})`)(0,i);throw new Error(e)}const o=await i.text();if(!o)throw new Error("Profile response is empty");const a=JSON.parse(o);if(!a)throw new Error("Unable to parse profile response");if("t2"!==a.kind||!a.data)throw new Error("Unexpected profile response data");return a.data})(e,t);return{user:{id:r.id,screenName:e,fullName:r.name,favIconUrl:r.icon_img},post:{id:"",timestamp:"",text:""}}})(t,i).then((e=>{const i=e.user.id,a=((e,t)=>`${e}#channel:${t}`)(o,i),c=e.user.fullName;if(!c)return void n(o,"Invalid publisher name");const d=((e,t)=>e&&t?`${e}_${t}`:"")(o,t),l=e.user.favIconUrl,m=s(t,!1),u=r();u&&u.postMessage({type:"SavePublisherVisit",mediaType:o,data:{url:m,publisherKey:a,publisherName:c,mediaKey:d,favIconUrl:l}})}))})(e)};let d=!1,l="";const m=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,c())};var u;chrome.extension.inIncognitoContext||(u=e=>{e?(i()?c():document.addEventListener("readystatechange",(function(){i()&&c()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&c()})),((e,t)=>{if(d)return;d=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(o,m)):console.error("Failed to initialize communications port")},t?u(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),u(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),u(!0))}),100)),console.info("Greaselion script loaded: redditBase.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["hR+ulFMnKbyRojWFJwP5Ls/nV+vn7qaNkJvGI/2CljY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["g0CJY8jz2rW0l6967FIGZM4rRs7CcmWNSNIixu3vVdk=","Vx6fkHMN7ABW3ll7VmNIG1cjzlAkrCcOs3bZevBf3Wo="],"block_size":4096,"path":"twitterBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "twitterBase.bundle.js" ],
"matches": [ "https://twitter.com/*", "https://*.twitter.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "h5VclodCSfK+7oXCxZppnjBR4t/oX+i0dUGYj48p3d4=",
"manifest_version": 2,
"name": "greaselion-6",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["sD5Xs5cS94YlxbaJT96sP6+fOpspLzY13Kn40x6P2QY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["KP6B9u0F8UfTnBWZRDjT8albq7MwxE4a0E7+xmGbukU=","9n8nBTlP7yn/ZP5JWHcB2W/cMIr4rssNYb85GKvwxiA="],"block_size":4096,"path":"youtubeBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "youtubeBase.bundle.js" ],
"matches": [ "https://m.youtube.com/*", "https://www.youtube.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "an4WtV3QX4HXKmWC3Eztf8gBWc2tmi7RWlUDadUauk4=",
"manifest_version": 2,
"name": "greaselion-10",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["0s+y6/YHMc40myiv3wo8rp739PVJVYGognytsj6Upz0="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["CiGk5hc0MqJ0ypue2ME6SEVnXyCTOkSh0FPA0SpjNEc="],"block_size":4096,"path":"twitchBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "twitchBase.bundle.js" ],
"matches": [ "https://twitch.tv/*", "https://www.twitch.tv/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "wMKbM3alTDiGLkziBQLPm5wB6J0KxqV1wyL6pseh7uo=",
"manifest_version": 2,
"name": "greaselion-4",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t;let i=!1;const n="twitch",o="www.twitch.tv",a=()=>{const e=document.querySelector(".channel-info-content .tw-avatar [src]");return e&&e.getAttribute("src")||""},s=()=>document.querySelector("h1.tw-title"),c=()=>{const e=s();return e&&e.textContent||""},l=e=>e.replace(/^\/|\/[\s\S]*/g,""),d=new Set(["directory","downloads","jobs","p","search","turbo"]),u=()=>"videos"===l(location.pathname).toLowerCase(),m=e=>{if(!e)return"";const t=/^\/*videos\//i;if(t.test(location.pathname)){const r=location.pathname.replace(t,""),i=l(r);return i?`${n}_${e}_void_${i}`:""}return`${n}_${e}`},p=e=>e?`${n}#author:${e}`:"",h=()=>({mediaId:"",mediaKey:"",publisherUrl:`https://${o}`,publisherKey:o,publisherName:o,favIconUrl:""}),f=()=>{const e=(()=>{if(u()){const e=s();if(!e||!e.parentElement)return"";const t=e.parentElement.getAttribute("href");return t?l(t).toLowerCase():""}const e=l(location.pathname).toLowerCase();return d.has(e)?"":e})();return e?{mediaId:e,mediaKey:m(e),publisherUrl:`https://${o}/${e}`,publisherKey:p(e),publisherName:c(),favIconUrl:a()}:h()},b=new class{constructor(){this.previous=h()}async read(){let e=f();if(!e.mediaId&&!u())return this.previous=e,e;let{previous:t}=this;for(let r=0;r<5e3&&!(e.mediaId&&e.publisherName&&e.favIconUrl&&(e.mediaId&&t.mediaId===e.mediaId||e.publisherName!==t.publisherName&&e.favIconUrl!==t.favIconUrl));r+=250)await new Promise((e=>setTimeout(e,250))),e=f();return this.previous=e,e}};let v="";const y=e=>{e&&"complete"===e.status&&location.href!==v&&(v=location.href,I())},I=()=>{b.read().then((e=>{const t=r();t&&t.postMessage({type:"SavePublisherVisit",mediaType:e.mediaId?n:"",data:{url:e.publisherUrl,publisherKey:e.publisherKey,publisherName:e.publisherName,mediaKey:e.mediaKey,favIconUrl:e.favIconUrl}})})).catch((e=>{const r=e?e.message:"";((e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})})(n,`Error reading publisher info: ${r})`)}))};var w;chrome.extension.inIncognitoContext||(w=e=>{e?(((e,t)=>{if(i)return;i=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(n,y),"complete"===document.readyState&&"visible"===document.visibilityState&&I(),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&I()})),console.info("Greaselion script loaded: twitchBase.ts")):console.error("Failed to initialize communications port")},t?w(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),w(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),w(!0))}),100)))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["pIReWiRwWE6MmZ3kHPccjDdF+wW/QTVGXw69/k9Obn4="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["0EZ2DoOfEgVH0Xmo6zgM39B9uJ7SVtO5W8l1Fh0HXqE="],"block_size":4096,"path":"redditBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "redditBase.bundle.js" ],
"matches": [ "https://old.reddit.com/*", "https://reddit.com/*", "https://www.reddit.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "jenMCfsuNOH3nDwTIdDi0TIerMyk5pj1pvhfwRv/Ti4=",
"manifest_version": 2,
"name": "greaselion-2",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})},i=()=>"complete"===document.readyState&&"visible"===document.visibilityState,o="reddit",a="reddit.com",s=(e,t)=>{if(!e)return"";let r="www";return t&&(r="old"),`https://${r}.reddit.com/user/${e}/`},c=()=>{const e=new URL(location.href);(e=>{if(["/","/coins","/contact","/login","/premium"].includes(e))return!0;const t=["/dev/","/help/","/r/","/wiki/"];for(const r of t)if(e.startsWith(r))return!0;return!1})(e.pathname)?(()=>{const e=`https://www.${a}`,t=a,n=a,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname||!e.pathname.startsWith("/user/"))return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length<2?"":t[1]:""})(e);if(!t)return void n(o,"Invalid screen name");const i=(e=>e.hostname.startsWith("old.")||e.hostname.startsWith("np."))(e);(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=await(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=s(e,t);if(!r)throw new Error("Invalid profile url");const n=r+"about.json",i=await fetch(n);if(!i.ok){const e=((e,t)=>`Profile request failed: ${t.statusText} (${t.status})`)(0,i);throw new Error(e)}const o=await i.text();if(!o)throw new Error("Profile response is empty");const a=JSON.parse(o);if(!a)throw new Error("Unable to parse profile response");if("t2"!==a.kind||!a.data)throw new Error("Unexpected profile response data");return a.data})(e,t);return{user:{id:r.id,screenName:e,fullName:r.name,favIconUrl:r.icon_img},post:{id:"",timestamp:"",text:""}}})(t,i).then((e=>{const i=e.user.id,a=((e,t)=>`${e}#channel:${t}`)(o,i),c=e.user.fullName;if(!c)return void n(o,"Invalid publisher name");const d=((e,t)=>e&&t?`${e}_${t}`:"")(o,t),l=e.user.favIconUrl,m=s(t,!1),u=r();u&&u.postMessage({type:"SavePublisherVisit",mediaType:o,data:{url:m,publisherKey:a,publisherName:c,mediaKey:d,favIconUrl:l}})}))})(e)};let d=!1,l="";const m=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,c())};var u;chrome.extension.inIncognitoContext||(u=e=>{e?(i()?c():document.addEventListener("readystatechange",(function(){i()&&c()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&c()})),((e,t)=>{if(d)return;d=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(o,m)):console.error("Failed to initialize communications port")},t?u(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),u(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),u(!0))}),100)),console.info("Greaselion script loaded: redditBase.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["oA1CbHQ/cZzXStZEQaj3/au+pWaJPCm3VnVNuR8FNVo="],"block_size":4096,"path":"githubBase.bundle.js"},{"block_hashes":["s4XqafavPg4QGmiPCItpWXPIP29ZQvalFyu1Uet+s+c="],"block_size":4096,"path":"manifest.json"}],"version":2}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const n=()=>t,i=(e,n)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:n}})},a=()=>"complete"===document.readyState&&"visible"===document.visibilityState,s="github",o="github.com",r=()=>{const e=new URL(location.href);var t;t=e.pathname,["/","/about","/enterprise","/events","/explore","/home","/issues","/login","/logout","/marketplace","/nonprofit","/notifications","/pricing","/pulls","/search","/settings","/team","/tos"].includes(t)?(()=>{const e=`https://${o}`,t=o,i=o,a=n();a&&a.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:i,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname)return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length>1&&"orgs"===t[0]?t[1]:t[0]:""})(e);if(t)return(async e=>{if(!e)throw new Error("Invalid parameters");const t=(e=>e?`https://api.github.com/users/${e}`:"")(e);if(!t)throw new Error("Invalid profile api url");const n=await fetch(t);if(!n.ok){const e=((e,t)=>`Profile API request failed: ${t.statusText} (${t.status})`)(0,n);throw new Error(e)}const i=await n.json();return{user:{id:i.id,screenName:i.login,fullName:i.name||i.login,favIconUrl:i.avatar_url},post:{id:"",timestamp:"",text:""}}})(t).then((e=>{const a=e.user.id,o=((e,t)=>`${e}#channel:${t}`)(s,a),r=e.user.fullName;if(!r)return void i(s,"Invalid publisher name");const c=((e,t)=>e&&t?`${e}_${t}`:"")(s,t),l=e.user.favIconUrl,u=(e=>e?`https://github.com/${e}/`:"")(t),m=n();m&&m.postMessage({type:"SavePublisherVisit",mediaType:s,data:{url:u,publisherKey:o,publisherName:r,mediaKey:c,favIconUrl:l}})}));i(s,"Invalid screen name")})(e)};let c=!1,l="";const u=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,r())};var m;chrome.extension.inIncognitoContext||(m=e=>{e?(a()?r():document.addEventListener("readystatechange",(function(){a()&&r()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&r()})),((e,t)=>{if(c)return;c=!0;const i=n();i&&(i.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),i.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(s,u)):console.error("Failed to initialize communications port")},t?m(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(n){!chrome.runtime.lastError&&n&&n.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),m(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),m(!0))}),100)),console.info("Greaselion script loaded: githubBase.ts"))})();

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "githubBase.bundle.js" ],
"matches": [ "https://github.com/*", "https://www.github.com/*", "https://gist.github.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "pNneSVwuYiS1cPgrXrP6s5FaZb0knxarTWcq5a+B26k=",
"manifest_version": 2,
"name": "greaselion-0",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["hR+ulFMnKbyRojWFJwP5Ls/nV+vn7qaNkJvGI/2CljY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["g0CJY8jz2rW0l6967FIGZM4rRs7CcmWNSNIixu3vVdk=","Vx6fkHMN7ABW3ll7VmNIG1cjzlAkrCcOs3bZevBf3Wo="],"block_size":4096,"path":"twitterBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "twitterBase.bundle.js" ],
"matches": [ "https://twitter.com/*", "https://*.twitter.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "h5VclodCSfK+7oXCxZppnjBR4t/oX+i0dUGYj48p3d4=",
"manifest_version": 2,
"name": "greaselion-6",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["oA1CbHQ/cZzXStZEQaj3/au+pWaJPCm3VnVNuR8FNVo="],"block_size":4096,"path":"githubBase.bundle.js"},{"block_hashes":["s4XqafavPg4QGmiPCItpWXPIP29ZQvalFyu1Uet+s+c="],"block_size":4096,"path":"manifest.json"}],"version":2}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const n=()=>t,i=(e,n)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:n}})},a=()=>"complete"===document.readyState&&"visible"===document.visibilityState,s="github",o="github.com",r=()=>{const e=new URL(location.href);var t;t=e.pathname,["/","/about","/enterprise","/events","/explore","/home","/issues","/login","/logout","/marketplace","/nonprofit","/notifications","/pricing","/pulls","/search","/settings","/team","/tos"].includes(t)?(()=>{const e=`https://${o}`,t=o,i=o,a=n();a&&a.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:i,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname)return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length>1&&"orgs"===t[0]?t[1]:t[0]:""})(e);if(t)return(async e=>{if(!e)throw new Error("Invalid parameters");const t=(e=>e?`https://api.github.com/users/${e}`:"")(e);if(!t)throw new Error("Invalid profile api url");const n=await fetch(t);if(!n.ok){const e=((e,t)=>`Profile API request failed: ${t.statusText} (${t.status})`)(0,n);throw new Error(e)}const i=await n.json();return{user:{id:i.id,screenName:i.login,fullName:i.name||i.login,favIconUrl:i.avatar_url},post:{id:"",timestamp:"",text:""}}})(t).then((e=>{const a=e.user.id,o=((e,t)=>`${e}#channel:${t}`)(s,a),r=e.user.fullName;if(!r)return void i(s,"Invalid publisher name");const c=((e,t)=>e&&t?`${e}_${t}`:"")(s,t),l=e.user.favIconUrl,u=(e=>e?`https://github.com/${e}/`:"")(t),m=n();m&&m.postMessage({type:"SavePublisherVisit",mediaType:s,data:{url:u,publisherKey:o,publisherName:r,mediaKey:c,favIconUrl:l}})}));i(s,"Invalid screen name")})(e)};let c=!1,l="";const u=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,r())};var m;chrome.extension.inIncognitoContext||(m=e=>{e?(a()?r():document.addEventListener("readystatechange",(function(){a()&&r()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&r()})),((e,t)=>{if(c)return;c=!0;const i=n();i&&(i.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),i.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(s,u)):console.error("Failed to initialize communications port")},t?m(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(n){!chrome.runtime.lastError&&n&&n.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),m(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),m(!0))}),100)),console.info("Greaselion script loaded: githubBase.ts"))})();

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "githubBase.bundle.js" ],
"matches": [ "https://github.com/*", "https://www.github.com/*", "https://gist.github.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "pNneSVwuYiS1cPgrXrP6s5FaZb0knxarTWcq5a+B26k=",
"manifest_version": 2,
"name": "greaselion-0",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["pIReWiRwWE6MmZ3kHPccjDdF+wW/QTVGXw69/k9Obn4="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["0EZ2DoOfEgVH0Xmo6zgM39B9uJ7SVtO5W8l1Fh0HXqE="],"block_size":4096,"path":"redditBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "redditBase.bundle.js" ],
"matches": [ "https://old.reddit.com/*", "https://reddit.com/*", "https://www.reddit.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "jenMCfsuNOH3nDwTIdDi0TIerMyk5pj1pvhfwRv/Ti4=",
"manifest_version": 2,
"name": "greaselion-2",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})},i=()=>"complete"===document.readyState&&"visible"===document.visibilityState,o="reddit",a="reddit.com",s=(e,t)=>{if(!e)return"";let r="www";return t&&(r="old"),`https://${r}.reddit.com/user/${e}/`},c=()=>{const e=new URL(location.href);(e=>{if(["/","/coins","/contact","/login","/premium"].includes(e))return!0;const t=["/dev/","/help/","/r/","/wiki/"];for(const r of t)if(e.startsWith(r))return!0;return!1})(e.pathname)?(()=>{const e=`https://www.${a}`,t=a,n=a,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname||!e.pathname.startsWith("/user/"))return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length<2?"":t[1]:""})(e);if(!t)return void n(o,"Invalid screen name");const i=(e=>e.hostname.startsWith("old.")||e.hostname.startsWith("np."))(e);(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=await(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=s(e,t);if(!r)throw new Error("Invalid profile url");const n=r+"about.json",i=await fetch(n);if(!i.ok){const e=((e,t)=>`Profile request failed: ${t.statusText} (${t.status})`)(0,i);throw new Error(e)}const o=await i.text();if(!o)throw new Error("Profile response is empty");const a=JSON.parse(o);if(!a)throw new Error("Unable to parse profile response");if("t2"!==a.kind||!a.data)throw new Error("Unexpected profile response data");return a.data})(e,t);return{user:{id:r.id,screenName:e,fullName:r.name,favIconUrl:r.icon_img},post:{id:"",timestamp:"",text:""}}})(t,i).then((e=>{const i=e.user.id,a=((e,t)=>`${e}#channel:${t}`)(o,i),c=e.user.fullName;if(!c)return void n(o,"Invalid publisher name");const d=((e,t)=>e&&t?`${e}_${t}`:"")(o,t),l=e.user.favIconUrl,m=s(t,!1),u=r();u&&u.postMessage({type:"SavePublisherVisit",mediaType:o,data:{url:m,publisherKey:a,publisherName:c,mediaKey:d,favIconUrl:l}})}))})(e)};let d=!1,l="";const m=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,c())};var u;chrome.extension.inIncognitoContext||(u=e=>{e?(i()?c():document.addEventListener("readystatechange",(function(){i()&&c()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&c()})),((e,t)=>{if(d)return;d=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(o,m)):console.error("Failed to initialize communications port")},t?u(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),u(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),u(!0))}),100)),console.info("Greaselion script loaded: redditBase.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["oA1CbHQ/cZzXStZEQaj3/au+pWaJPCm3VnVNuR8FNVo="],"block_size":4096,"path":"githubBase.bundle.js"},{"block_hashes":["s4XqafavPg4QGmiPCItpWXPIP29ZQvalFyu1Uet+s+c="],"block_size":4096,"path":"manifest.json"}],"version":2}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const n=()=>t,i=(e,n)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:n}})},a=()=>"complete"===document.readyState&&"visible"===document.visibilityState,s="github",o="github.com",r=()=>{const e=new URL(location.href);var t;t=e.pathname,["/","/about","/enterprise","/events","/explore","/home","/issues","/login","/logout","/marketplace","/nonprofit","/notifications","/pricing","/pulls","/search","/settings","/team","/tos"].includes(t)?(()=>{const e=`https://${o}`,t=o,i=o,a=n();a&&a.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:i,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname)return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length>1&&"orgs"===t[0]?t[1]:t[0]:""})(e);if(t)return(async e=>{if(!e)throw new Error("Invalid parameters");const t=(e=>e?`https://api.github.com/users/${e}`:"")(e);if(!t)throw new Error("Invalid profile api url");const n=await fetch(t);if(!n.ok){const e=((e,t)=>`Profile API request failed: ${t.statusText} (${t.status})`)(0,n);throw new Error(e)}const i=await n.json();return{user:{id:i.id,screenName:i.login,fullName:i.name||i.login,favIconUrl:i.avatar_url},post:{id:"",timestamp:"",text:""}}})(t).then((e=>{const a=e.user.id,o=((e,t)=>`${e}#channel:${t}`)(s,a),r=e.user.fullName;if(!r)return void i(s,"Invalid publisher name");const c=((e,t)=>e&&t?`${e}_${t}`:"")(s,t),l=e.user.favIconUrl,u=(e=>e?`https://github.com/${e}/`:"")(t),m=n();m&&m.postMessage({type:"SavePublisherVisit",mediaType:s,data:{url:u,publisherKey:o,publisherName:r,mediaKey:c,favIconUrl:l}})}));i(s,"Invalid screen name")})(e)};let c=!1,l="";const u=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,r())};var m;chrome.extension.inIncognitoContext||(m=e=>{e?(a()?r():document.addEventListener("readystatechange",(function(){a()&&r()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&r()})),((e,t)=>{if(c)return;c=!0;const i=n();i&&(i.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),i.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(s,u)):console.error("Failed to initialize communications port")},t?m(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(n){!chrome.runtime.lastError&&n&&n.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),m(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),m(!0))}),100)),console.info("Greaselion script loaded: githubBase.ts"))})();

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "githubBase.bundle.js" ],
"matches": [ "https://github.com/*", "https://www.github.com/*", "https://gist.github.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "pNneSVwuYiS1cPgrXrP6s5FaZb0knxarTWcq5a+B26k=",
"manifest_version": 2,
"name": "greaselion-0",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["sD5Xs5cS94YlxbaJT96sP6+fOpspLzY13Kn40x6P2QY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["KP6B9u0F8UfTnBWZRDjT8albq7MwxE4a0E7+xmGbukU=","9n8nBTlP7yn/ZP5JWHcB2W/cMIr4rssNYb85GKvwxiA="],"block_size":4096,"path":"youtubeBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "youtubeBase.bundle.js" ],
"matches": [ "https://m.youtube.com/*", "https://www.youtube.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "an4WtV3QX4HXKmWC3Eztf8gBWc2tmi7RWlUDadUauk4=",
"manifest_version": 2,
"name": "greaselion-10",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["2/prqvXTNkXxfps+Xel76v20wPuHLEHU5Su/UkVGOfQ="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["iHyc0VVoHIsghEj314sPu4IphCrzpTAo6l2MSBcFKNs=","jZ1JKQ8MXRNbZkX4QAZvU3HcZu2yEcVwhRxN9PVgik0="],"block_size":4096,"path":"vimeoBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "vimeoBase.bundle.js" ],
"matches": [ "https://vimeo.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "609+eUOT2I9aRtouChA8+obxfermLY9Px1wRWVJUwqc=",
"manifest_version": 2,
"name": "greaselion-8",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,t)=>e&&t?`${e}_${t}`:"",i=(e,t)=>`${e}#channel:${t}`,o=(e,t,r)=>{if(e.length<t.length)return"";const n=e.indexOf(t);if(-1===n)return"";const i=n+t.length,o=e.indexOf(r,i);let a="";return o!==i?a=-1!==o&&o>i||-1!==o?e.substring(i,o):e.substring(i):""===r&&(a=e.substring(i)),a},a=()=>"complete"===document.readyState&&"visible"===document.visibilityState,s=(e,t)=>`${e}: ${t.statusText} (${t.status})`,c=e=>(new DOMParser).parseFromString(e,"text/html").documentElement.textContent||"",l="vimeo",u="vimeo.com",h=e=>{if(!e)return"";const t=o(e,'"display_name":"','"');if(!t)return"";let r=null;try{r=JSON.parse(`{"brave_publisher":"${t}"}`)}catch(e){throw new Error(`Error parsing publisher name from video page: ${e}`)}return c(r.brave_publisher)},m=e=>{if(!e)return"";let t=o(e,'<meta property="al:ios:url" content="vimeo://app.vimeo.com/users/','"');return t||(t=o(e,'<meta property="al:android:url" content="vimeo://app.vimeo.com/users/','"'),t||o(e,'<link rel="canonical" href="/','"'))},d=async()=>{const e=location.href,t=await fetch(e);if(!t.ok){const e=s("Publisher request failed",t);throw new Error(e)}const r=await t.text();if(!r)throw new Error("Publisher response empty");let a="",u="",d=m(r);if(d)a=(e=>{if(!e)return"";let t=h(e);return t||(t=o(e,'<meta property="og:title" content="','"')),c(t)})(r),a||(a=d);else{if(a=h(r),!a)throw new Error("Invalid publisher name");if(d=(e=>e?o(e,'"creator_id":',","):"")(r),!d)throw new Error("Invalid user id");const e=(e=>e?o(e,'<link rel="canonical" href="https://vimeo.com/','"'):"")(r);if(!e)throw new Error("Invalid video id")}return u=n(l,d),{url:e,publisherKey:i(l,d),publisherName:a,mediaKey:u,favIconUrl:""}},p=()=>{(e=>{if(!e)return!1;const t=["/","/about","/blog","/enterprise","/help","/jobs","/live","/log_in","/ondemand","/ott","/purchases","/search","/settings","/site_map","/stats","/stock","/upgrade","/upload","/videoschool","/watch","/watchlater"];if(t.includes(e)||t.includes(e+"/"))return!0;if(e.startsWith("/channels/staffpicks/"))return!1;const r=["/blog/","/categories/","/channels/","/features/","/help/","/manage/","/ott/","/settings/","/solutions/","/stock/"];for(const t of r)if(e.startsWith(t))return!0;return!1})(new URL(location.href).pathname)?(()=>{const e=`https://${u}`,t=u,n=u,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,favIconUrl:""}})})():f().then((e=>{const t=r();if(!t)throw new Error("Invalid port");t.postMessage({type:"SavePublisherVisit",mediaType:l,data:{url:e.url,publisherKey:e.publisherKey,publisherName:e.publisherName,mediaKey:e.mediaKey,favIconUrl:e.favIconUrl}})})).catch((e=>{throw new Error(`Failed to retrieve publisher data: ${e}`)}))},f=async()=>{return(e=location.pathname)&&/^\/\d+$/.test(e)?(async()=>{const e=location.href,t=encodeURI(e),r=await fetch(`https://vimeo.com/api/oembed.json?url=${t}`);if(!r.ok)return d();const o=await r.json();if(!o)return d();const a=o.author_url;if(!a)return d();const c=o.author_name;if(!c)throw new Error("Invalid publisher name");const u=o.video_id;if(!u||0===u)return d();const h=await fetch(a);if(!h.ok){const e=s("Publisher request failed",h);throw new Error(e)}const p=await h.text(),f=m(p);if(!f)throw new Error("Invalid user id");const b=i(l,f),v=n(l,u.toString());if(!v)throw new Error("Invalid media key");const w=(e=>e?`https://i.vimeocdn.com/portrait/${e}_300x300.webp`:"")(f);return{url:a,publisherKey:b,publisherName:c,mediaKey:v,favIconUrl:w}})():d();var e};let b=!1,v="";const w=e=>{e&&(e.url||"complete"===e.status)&&location.href!==v&&(v=location.href,p())};var y;chrome.extension.inIncognitoContext||(y=e=>{e?(a()?p():document.addEventListener("readystatechange",(function(){a()&&setTimeout((()=>{p()}),200)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&p()})),((e,t)=>{if(b)return;b=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(l,w)):console.error("Failed to initialize communications port")},t?y(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),y(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),y(!0))}),100)),console.info("Greaselion script loaded: vimeo.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["0s+y6/YHMc40myiv3wo8rp739PVJVYGognytsj6Upz0="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["CiGk5hc0MqJ0ypue2ME6SEVnXyCTOkSh0FPA0SpjNEc="],"block_size":4096,"path":"twitchBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "twitchBase.bundle.js" ],
"matches": [ "https://twitch.tv/*", "https://www.twitch.tv/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "wMKbM3alTDiGLkziBQLPm5wB6J0KxqV1wyL6pseh7uo=",
"manifest_version": 2,
"name": "greaselion-4",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t;let i=!1;const n="twitch",o="www.twitch.tv",a=()=>{const e=document.querySelector(".channel-info-content .tw-avatar [src]");return e&&e.getAttribute("src")||""},s=()=>document.querySelector("h1.tw-title"),c=()=>{const e=s();return e&&e.textContent||""},l=e=>e.replace(/^\/|\/[\s\S]*/g,""),d=new Set(["directory","downloads","jobs","p","search","turbo"]),u=()=>"videos"===l(location.pathname).toLowerCase(),m=e=>{if(!e)return"";const t=/^\/*videos\//i;if(t.test(location.pathname)){const r=location.pathname.replace(t,""),i=l(r);return i?`${n}_${e}_void_${i}`:""}return`${n}_${e}`},p=e=>e?`${n}#author:${e}`:"",h=()=>({mediaId:"",mediaKey:"",publisherUrl:`https://${o}`,publisherKey:o,publisherName:o,favIconUrl:""}),f=()=>{const e=(()=>{if(u()){const e=s();if(!e||!e.parentElement)return"";const t=e.parentElement.getAttribute("href");return t?l(t).toLowerCase():""}const e=l(location.pathname).toLowerCase();return d.has(e)?"":e})();return e?{mediaId:e,mediaKey:m(e),publisherUrl:`https://${o}/${e}`,publisherKey:p(e),publisherName:c(),favIconUrl:a()}:h()},b=new class{constructor(){this.previous=h()}async read(){let e=f();if(!e.mediaId&&!u())return this.previous=e,e;let{previous:t}=this;for(let r=0;r<5e3&&!(e.mediaId&&e.publisherName&&e.favIconUrl&&(e.mediaId&&t.mediaId===e.mediaId||e.publisherName!==t.publisherName&&e.favIconUrl!==t.favIconUrl));r+=250)await new Promise((e=>setTimeout(e,250))),e=f();return this.previous=e,e}};let v="";const y=e=>{e&&"complete"===e.status&&location.href!==v&&(v=location.href,I())},I=()=>{b.read().then((e=>{const t=r();t&&t.postMessage({type:"SavePublisherVisit",mediaType:e.mediaId?n:"",data:{url:e.publisherUrl,publisherKey:e.publisherKey,publisherName:e.publisherName,mediaKey:e.mediaKey,favIconUrl:e.favIconUrl}})})).catch((e=>{const r=e?e.message:"";((e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})})(n,`Error reading publisher info: ${r})`)}))};var w;chrome.extension.inIncognitoContext||(w=e=>{e?(((e,t)=>{if(i)return;i=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(n,y),"complete"===document.readyState&&"visible"===document.visibilityState&&I(),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&I()})),console.info("Greaselion script loaded: twitchBase.ts")):console.error("Failed to initialize communications port")},t?w(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),w(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),w(!0))}),100)))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["pIReWiRwWE6MmZ3kHPccjDdF+wW/QTVGXw69/k9Obn4="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["0EZ2DoOfEgVH0Xmo6zgM39B9uJ7SVtO5W8l1Fh0HXqE="],"block_size":4096,"path":"redditBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "redditBase.bundle.js" ],
"matches": [ "https://old.reddit.com/*", "https://reddit.com/*", "https://www.reddit.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "jenMCfsuNOH3nDwTIdDi0TIerMyk5pj1pvhfwRv/Ti4=",
"manifest_version": 2,
"name": "greaselion-2",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,r)=>{e&&t&&t.postMessage({type:"GreaselionError",mediaType:e,data:{errorMessage:r}})},i=()=>"complete"===document.readyState&&"visible"===document.visibilityState,o="reddit",a="reddit.com",s=(e,t)=>{if(!e)return"";let r="www";return t&&(r="old"),`https://${r}.reddit.com/user/${e}/`},c=()=>{const e=new URL(location.href);(e=>{if(["/","/coins","/contact","/login","/premium"].includes(e))return!0;const t=["/dev/","/help/","/r/","/wiki/"];for(const r of t)if(e.startsWith(r))return!0;return!1})(e.pathname)?(()=>{const e=`https://www.${a}`,t=a,n=a,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,mediaKey:"",favIconUrl:""}})})():(e=>{const t=(e=>{if(!e.pathname||!e.pathname.startsWith("/user/"))return"";const t=e.pathname.split("/").filter((e=>e));return t&&0!==t.length?t.length<2?"":t[1]:""})(e);if(!t)return void n(o,"Invalid screen name");const i=(e=>e.hostname.startsWith("old.")||e.hostname.startsWith("np."))(e);(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=await(async(e,t)=>{if(!e)throw new Error("Invalid parameters");const r=s(e,t);if(!r)throw new Error("Invalid profile url");const n=r+"about.json",i=await fetch(n);if(!i.ok){const e=((e,t)=>`Profile request failed: ${t.statusText} (${t.status})`)(0,i);throw new Error(e)}const o=await i.text();if(!o)throw new Error("Profile response is empty");const a=JSON.parse(o);if(!a)throw new Error("Unable to parse profile response");if("t2"!==a.kind||!a.data)throw new Error("Unexpected profile response data");return a.data})(e,t);return{user:{id:r.id,screenName:e,fullName:r.name,favIconUrl:r.icon_img},post:{id:"",timestamp:"",text:""}}})(t,i).then((e=>{const i=e.user.id,a=((e,t)=>`${e}#channel:${t}`)(o,i),c=e.user.fullName;if(!c)return void n(o,"Invalid publisher name");const d=((e,t)=>e&&t?`${e}_${t}`:"")(o,t),l=e.user.favIconUrl,m=s(t,!1),u=r();u&&u.postMessage({type:"SavePublisherVisit",mediaType:o,data:{url:m,publisherKey:a,publisherName:c,mediaKey:d,favIconUrl:l}})}))})(e)};let d=!1,l="";const m=e=>{e&&(e.url||"complete"===e.status)&&location.href!==l&&(l=location.href,c())};var u;chrome.extension.inIncognitoContext||(u=e=>{e?(i()?c():document.addEventListener("readystatechange",(function(){i()&&c()})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&c()})),((e,t)=>{if(d)return;d=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(o,m)):console.error("Failed to initialize communications port")},t?u(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),u(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),u(!0))}),100)),console.info("Greaselion script loaded: redditBase.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["2/prqvXTNkXxfps+Xel76v20wPuHLEHU5Su/UkVGOfQ="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["iHyc0VVoHIsghEj314sPu4IphCrzpTAo6l2MSBcFKNs=","jZ1JKQ8MXRNbZkX4QAZvU3HcZu2yEcVwhRxN9PVgik0="],"block_size":4096,"path":"vimeoBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "vimeoBase.bundle.js" ],
"matches": [ "https://vimeo.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "609+eUOT2I9aRtouChA8+obxfermLY9Px1wRWVJUwqc=",
"manifest_version": 2,
"name": "greaselion-8",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
(()=>{"use strict";const e="mnojpmjdmbbfmejpflffifhffcmidifd";let t=null;const r=()=>t,n=(e,t)=>e&&t?`${e}_${t}`:"",i=(e,t)=>`${e}#channel:${t}`,o=(e,t,r)=>{if(e.length<t.length)return"";const n=e.indexOf(t);if(-1===n)return"";const i=n+t.length,o=e.indexOf(r,i);let a="";return o!==i?a=-1!==o&&o>i||-1!==o?e.substring(i,o):e.substring(i):""===r&&(a=e.substring(i)),a},a=()=>"complete"===document.readyState&&"visible"===document.visibilityState,s=(e,t)=>`${e}: ${t.statusText} (${t.status})`,c=e=>(new DOMParser).parseFromString(e,"text/html").documentElement.textContent||"",l="vimeo",u="vimeo.com",h=e=>{if(!e)return"";const t=o(e,'"display_name":"','"');if(!t)return"";let r=null;try{r=JSON.parse(`{"brave_publisher":"${t}"}`)}catch(e){throw new Error(`Error parsing publisher name from video page: ${e}`)}return c(r.brave_publisher)},m=e=>{if(!e)return"";let t=o(e,'<meta property="al:ios:url" content="vimeo://app.vimeo.com/users/','"');return t||(t=o(e,'<meta property="al:android:url" content="vimeo://app.vimeo.com/users/','"'),t||o(e,'<link rel="canonical" href="/','"'))},d=async()=>{const e=location.href,t=await fetch(e);if(!t.ok){const e=s("Publisher request failed",t);throw new Error(e)}const r=await t.text();if(!r)throw new Error("Publisher response empty");let a="",u="",d=m(r);if(d)a=(e=>{if(!e)return"";let t=h(e);return t||(t=o(e,'<meta property="og:title" content="','"')),c(t)})(r),a||(a=d);else{if(a=h(r),!a)throw new Error("Invalid publisher name");if(d=(e=>e?o(e,'"creator_id":',","):"")(r),!d)throw new Error("Invalid user id");const e=(e=>e?o(e,'<link rel="canonical" href="https://vimeo.com/','"'):"")(r);if(!e)throw new Error("Invalid video id")}return u=n(l,d),{url:e,publisherKey:i(l,d),publisherName:a,mediaKey:u,favIconUrl:""}},p=()=>{(e=>{if(!e)return!1;const t=["/","/about","/blog","/enterprise","/help","/jobs","/live","/log_in","/ondemand","/ott","/purchases","/search","/settings","/site_map","/stats","/stock","/upgrade","/upload","/videoschool","/watch","/watchlater"];if(t.includes(e)||t.includes(e+"/"))return!0;if(e.startsWith("/channels/staffpicks/"))return!1;const r=["/blog/","/categories/","/channels/","/features/","/help/","/manage/","/ott/","/settings/","/solutions/","/stock/"];for(const t of r)if(e.startsWith(t))return!0;return!1})(new URL(location.href).pathname)?(()=>{const e=`https://${u}`,t=u,n=u,i=r();i&&i.postMessage({type:"SavePublisherVisit",mediaType:"",data:{url:e,publisherKey:t,publisherName:n,favIconUrl:""}})})():f().then((e=>{const t=r();if(!t)throw new Error("Invalid port");t.postMessage({type:"SavePublisherVisit",mediaType:l,data:{url:e.url,publisherKey:e.publisherKey,publisherName:e.publisherName,mediaKey:e.mediaKey,favIconUrl:e.favIconUrl}})})).catch((e=>{throw new Error(`Failed to retrieve publisher data: ${e}`)}))},f=async()=>{return(e=location.pathname)&&/^\/\d+$/.test(e)?(async()=>{const e=location.href,t=encodeURI(e),r=await fetch(`https://vimeo.com/api/oembed.json?url=${t}`);if(!r.ok)return d();const o=await r.json();if(!o)return d();const a=o.author_url;if(!a)return d();const c=o.author_name;if(!c)throw new Error("Invalid publisher name");const u=o.video_id;if(!u||0===u)return d();const h=await fetch(a);if(!h.ok){const e=s("Publisher request failed",h);throw new Error(e)}const p=await h.text(),f=m(p);if(!f)throw new Error("Invalid user id");const b=i(l,f),v=n(l,u.toString());if(!v)throw new Error("Invalid media key");const w=(e=>e?`https://i.vimeocdn.com/portrait/${e}_300x300.webp`:"")(f);return{url:a,publisherKey:b,publisherName:c,mediaKey:v,favIconUrl:w}})():d();var e};let b=!1,v="";const w=e=>{e&&(e.url||"complete"===e.status)&&location.href!==v&&(v=location.href,p())};var y;chrome.extension.inIncognitoContext||(y=e=>{e?(a()?p():document.addEventListener("readystatechange",(function(){a()&&setTimeout((()=>{p()}),200)})),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&p()})),((e,t)=>{if(b)return;b=!0;const n=r();n&&(n.postMessage({type:"RegisterOnUpdatedTab",mediaType:e}),n.onMessage.addListener((function(e){e.data&&"OnUpdatedTab"===e.type&&t(e.data.changeInfo)})))})(l,w)):console.error("Failed to initialize communications port")},t?y(!0):(chrome.runtime.sendMessage(e,{type:"SupportsGreaselion"},(function(r){!chrome.runtime.lastError&&r&&r.supported&&(t=chrome.runtime.connect(e,{name:"Greaselion"}),y(!0))})),setTimeout((()=>{t||(t=chrome.runtime.connect("jidkidbbcafjabdphckchenhfomhnfma",{name:"Greaselion"}),y(!0))}),100)),console.info("Greaselion script loaded: vimeo.ts"))})();

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["sD5Xs5cS94YlxbaJT96sP6+fOpspLzY13Kn40x6P2QY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["KP6B9u0F8UfTnBWZRDjT8albq7MwxE4a0E7+xmGbukU=","9n8nBTlP7yn/ZP5JWHcB2W/cMIr4rssNYb85GKvwxiA="],"block_size":4096,"path":"youtubeBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "youtubeBase.bundle.js" ],
"matches": [ "https://m.youtube.com/*", "https://www.youtube.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "an4WtV3QX4HXKmWC3Eztf8gBWc2tmi7RWlUDadUauk4=",
"manifest_version": 2,
"name": "greaselion-10",
"version": "1.0"
}

View File

@@ -1 +0,0 @@
{"file_hashes":[{"block_hashes":["hR+ulFMnKbyRojWFJwP5Ls/nV+vn7qaNkJvGI/2CljY="],"block_size":4096,"path":"manifest.json"},{"block_hashes":["g0CJY8jz2rW0l6967FIGZM4rRs7CcmWNSNIixu3vVdk=","Vx6fkHMN7ABW3ll7VmNIG1cjzlAkrCcOs3bZevBf3Wo="],"block_size":4096,"path":"twitterBase.bundle.js"}],"version":2}

View File

@@ -1,13 +0,0 @@
{
"content_scripts": [ {
"js": [ "twitterBase.bundle.js" ],
"matches": [ "https://twitter.com/*", "https://*.twitter.com/*" ],
"run_at": "document_end"
} ],
"description": "",
"incognito": "not_allowed",
"key": "h5VclodCSfK+7oXCxZppnjBR4t/oX+i0dUGYj48p3d4=",
"manifest_version": 2,
"name": "greaselion-6",
"version": "1.0"
}

Some files were not shown because too many files have changed in this diff Show More