Skip to content

Commit a550c62

Browse files
committed
update readme
1 parent daa825d commit a550c62

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ This extension supports both new Twitter and OldTwitter!
44
![Screenshot](https://lune.dimden.dev/a602b6e6a2af.gif)
55

66
## Installation
7+
Chrome, Edge,Opera, Brave, Vivaldi, etc.:
78
<a href="https://chromewebstore.google.com/detail/yeah-for-twitter/haebjcgjcobeedihnmhcapfblbjdaimb"><img src="https://storage.googleapis.com/web-dev-uploads/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/HRs9MPufa1J1h5glNhut.png" alt="Chrome Web Store" width="200"/></a>
89

10+
Firefox, Waterfox, LibreWolf, Floorp, etc.:
911
<a href="https://addons.mozilla.org/addon/yeah-for-twitter/"><img src="https://blog.mozilla.org/addons/files/2020/04/get-the-addon-fx-apr-2020.svg" alt="Firefox Add-ons" width="200"/></a>
1012

13+
Userscript (Tampermonkey, Greasemonkey, Violentmonkey, etc.):
1114
### <a href="https://greasyfork.org/en/scripts/498118-yeah-for-twitter"><img src="https://greasyfork.org/vite/assets/blacklogo96-sWE0jP07.png" alt="Userscript" width="50"/>Userscript</a>
1215
## Manual Installation
1316
1. Go to [Releases](https://github.com/dimdenGD/YeahTwitter/releases) page.

pack.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ for(let i in manifest.content_scripts) {
5353
.replace(/chrome\.runtime\.getURL\('(.+?)'\)/gm, "'https://raw.githubusercontent.com/dimdenGD/YeahTwitter/main/$1'");
5454

5555
for(let img of embeddedImages) {
56-
code = code.replaceAll(`'https://raw.githubusercontent.com/dimdenGD/YeahTwitter/main/images/${img}'`, `YEAH_images['${img}']`)
56+
code = code.replaceAll(`'https://raw.githubusercontent.com/dimdenGD/YeahTwitter/main/images/${img}'`, `YEAH_images['${img}']`);
5757
}
5858

5959
fullCode += `\n\n// ${script.js[j]}\n` + code;

us.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ chrome.storage.local = {
146146
}
147147
};
148148

149-
if(typeof GM_registerMenuCommand !== 'undefined') {
149+
if(this.GM_registerMenuCommand) {
150150
GM_registerMenuCommand("Don't like tweet on Yeah", function () {
151151
chrome.storage.local.set({
152152
settings: {

0 commit comments

Comments
 (0)