Skip to content

Commit

Permalink
feat: Add workable solution for loading Chrome extension
Browse files Browse the repository at this point in the history
  • Loading branch information
woto committed Nov 30, 2023
1 parent 12370ba commit c68e1fe
Show file tree
Hide file tree
Showing 6 changed files with 3,344 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CAPYBARA_HEADLESS=true
CAPYBARA_HEADLESS=false
ELASTIC_LOG=false
IMGPROXY_URL=%s
RAILS_MAX_THREADS=2
Expand Down
14 changes: 10 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ GEM
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
date (3.3.3)
debug (1.7.2)
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
declarative (0.0.20)
Expand Down Expand Up @@ -362,8 +362,9 @@ GEM
ruby-vips (>= 2.0.17, < 3)
interactor (3.1.2)
io-console (0.6.0)
irb (1.6.4)
reline (>= 0.3.0)
irb (1.9.1)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -489,6 +490,8 @@ GEM
pretender (0.4.0)
actionpack (>= 5.2)
prometheus-client (2.1.0)
psych (5.1.1.1)
stringio
public_suffix (5.0.3)
puma (5.6.5)
nio4r (~> 2.0)
Expand Down Expand Up @@ -546,6 +549,8 @@ GEM
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.6.0)
psych (>= 4.0.0)
redcarpet (3.6.0)
redis (5.0.6)
redis-client (>= 0.9.0)
Expand All @@ -554,7 +559,7 @@ GEM
redlock (1.3.2)
redis (>= 3.0.0, < 6.0)
regexp_parser (2.8.1)
reline (0.3.3)
reline (0.4.0)
io-console (~> 0.5)
representable (3.2.0)
declarative (< 0.1.0)
Expand Down Expand Up @@ -691,6 +696,7 @@ GEM
rubocop-performance (~> 1.16.0)
streamio-ffmpeg (3.0.2)
multi_json (~> 1.8)
stringio (3.0.9)
telegram-bot-ruby (1.0.0)
dry-struct (~> 1.6)
faraday (~> 2.0)
Expand Down
Binary file added data/extension/dist.crx
Binary file not shown.
28 changes: 28 additions & 0 deletions data/extension/dist.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC06DnjPuT6Iz5E
EyqbdbMColOb4q9D3JG3yzve5h63tscpaw2V0GkojBw15/NfsYfPo/10+s5UX7D1
uyOs1EK62sY3mZ8NNLU+FuvAfUVzuHuLkWwa2HmZ/n8Wxh6UK3NW8v1ABfaG/q9c
Cao5foX6PEp0QeQitL3MB7DhprjNXr0maUQZku9qnXfAinws2yeKBG+XdVsL73jF
mtEqSqRE8uDgSmOLNrsFNhEOwpqhP1pduFE65uWhfVgU19pQKAbrjNG0I4vYR6os
JiF6HTYz+YZXyu9mmFsMd1warSHsmoet7raue2xF6aqIg3mwB9HrDuqKfOUdfD3a
liV6CgbbAgMBAAECggEAFLAp+TmME1RMc+8tLty65/uK9ty+5lJ8Z48E/cHwlASB
qimP7X4JSJXH9BzefCcKkk2oAo9cC9IVo+8OxAj8yJmUPsTWp4/2L2+M7lUPyDgP
Xi/3M5Vl8p0Os5qx4d1GMhSqWX6qaVhe0sutfShhnJ2gdhhtmnpzlLhHG3G8LeAM
tcgoyZrCiXsUlTc+S0seI0n88KxhThYSNeWFY4eYgeQcNx47PN3Chuk0xEp2/3sy
FZa2bVDvvqTAnd9PamKB14nQE5/AkW3gh7BRcDfWOooG1Njifw55lomPGr5GMDSH
TC3XmKOws+n0C8O1jH7EfT5ClVWBZP4IkQ3xmAu64QKBgQD18d0y9I4eMcwjSuRO
FWW1Sny3wCl5zAEgHLCzmSVzOFlixsB15ulzi9Grv8+0RiFkGsLkVuVz1wHyi+im
hGXzYmsLvBWxu0s7MUtE1TnP0QtOW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