Skip to content

Commit

Permalink
#1 | Fix content script loading and re-inject button in case of soft-…
Browse files Browse the repository at this point in the history
…reload
  • Loading branch information
Maluen committed Jul 29, 2019
1 parent f3de41d commit 3e6594d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions BUILD-FIREFOX-STORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Prerequisites:

- Install node v8.11.0 or higher
- Install yarn v1.5.1 or higher
- Install node v12.4.0 or higher
- Install yarn v1.17.3 or higher

Then, move to the source code root and execute the following commands:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "code-medium",
"version": "0.2.1",
"version": "0.2.2",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
7 changes: 1 addition & 6 deletions src/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ module.exports = (browser, version) => ({
"content_scripts": [
{
"matches": [
"https://medium.com/new-story",
"https://medium.com/new-story/**",
"https://medium.com/new-story?**",
"https://medium.com/**/edit",
"https://medium.com/**/edit/**",
"https://medium.com/**/edit?**"
"https://medium.com/**"
],
"js": [
"content/content.js"
Expand Down

0 comments on commit 3e6594d

Please sign in to comment.