Commit graph

44 commits

Author SHA1 Message Date
Shiba
cebdf480fe 💩 upgraded to manifest v3 2022-05-02 12:12:11 +00:00
Shiba
5d9d0416a3 🔥 Organized Files
- And some refactoring
2022-05-01 15:49:55 +00:00
Shiba
caa0d196ed 🍣 bug fixes 2022-04-30 17:48:11 +00:00
Shiba
e8d7a349f4 🍙 refactoring and fixes 2022-04-30 16:14:52 +00:00
Shiba
365173d316 🍙 auth added 2022-04-15 09:37:39 +00:00
Shiba
bb0dc3c4f4 🍘 bug fixes
- lbry-url parser disabled because it was returning empty array and it just works without it
- content script wasnt starting to work
- background error on content script was being handled wrong
- background lbryPathnameFromVideoId wasnt ending well on error
2022-01-27 11:17:00 +00:00
Shiba
b17f2f4e2e 🍙 updater wasn't working on start 2022-01-26 18:22:43 +00:00
Shiba
92fbdd727d 🍘 updater wasn't working on settings change 2022-01-25 16:42:19 +00:00
Shiba
6ef5459d7a 🍙 browser's uri dialog was causing confusion sometimes 2022-01-25 16:24:19 +00:00
Shiba
324d3800de 🍱 On error background returns undefined but it should throw 2022-01-24 08:34:41 +00:00
Shiba
4653f77be4 🍙 Redirect bug fix
- location.replace was running for the app too
2022-01-10 15:33:07 +00:00
Shiba
2c75082af9 🍣 Formatted Files, Organized Imports 2022-01-10 12:36:29 +00:00
Shiba
8f75c67601 🥡 Refactor 2022-01-10 12:32:32 +00:00
Shiba
5bcd33890d 🍘 made video pause on all redirects not only app 2022-01-10 00:39:28 +00:00
Shiba
d32958852a 🍙 bugfix redirect to lbryapp 2022-01-10 00:22:20 +00:00
Shiba
5396936586 🍣 typo fixes 2022-01-10 00:09:15 +00:00
Shiba
06524954e7 🥞 redirect bugfix 2022-01-10 00:08:10 +00:00
Shiba
86879183b2 🍱 Refactor bug fix 2022-01-09 23:17:20 +00:00
Shiba
30f077ba38 🍙 Refactor and bugfix 2022-01-09 23:01:04 +00:00
Shiba
610b47d1e4 🍘 Refactor bugfix 2022-01-09 22:03:31 +00:00
Shiba
4f8e807a65 🍱 Refactor 2022-01-09 21:04:03 +00:00
Shiba
cb4b4f4b2e 🥞 Refactor 2022-01-09 19:10:27 +00:00
Shiba
719ff06caf 🍣 Refactor 2022-01-09 18:54:28 +00:00
Shiba
205a8fd151 🍙 Refactor removed pick from getExtensionSettings 2022-01-09 18:42:35 +00:00
Shiba
1e7293826a 🍙 Refactor, moved many backend stuff to content 2022-01-09 18:41:30 +00:00
Shiba
7c50daf7fc 🥞 timestamp feature made more smart
- if time is smaller than 3 dont add timestamp
- if the video ended dont add timestamp
2022-01-07 20:56:56 +00:00
Shiba
6b4a377058 Updated variable name
- source/target platfrom setthing variable and the type had the same name
2021-12-27 22:36:17 +00:00
Shiba
8f30825edd Updated Watch On LBRY button style 2021-12-19 11:59:36 +00:00
Shiba
4ab8fdce5e Updated Watch On LBRY button 2021-12-19 11:46:33 +00:00
Shiba
ba5beca60a Changed button mount point for yewtube 2021-12-19 01:58:45 +03:00
Shiba
47d27b0671 Added yewtu.be support. And name changes
- Added settings for source platform
- Renamed platform as target platform
2021-12-19 01:56:40 +03:00
Shiba
ac911e6816 Madiator icon added 2021-12-11 22:39:04 +00:00
Shiba
6cc149a5c6 parsing yt time from url fixed 2021-12-11 20:05:30 +00:00
Shiba
5c61db3ea0 types added, names changed, rewrote most of ytContent.ts
- Added more types, so when there is an error it's more visible.
- Default setting was using `lbry.tv` which doesn't exists anymore, so i made it odysee.
- Changed `redirect` value name in the `LbrySettings` to `platform` which makes more sense to this version.
- Changed `url` in UpdateContext to `pathname`. Using `url` for the full URL.
- Rewrote most of the `ytContent.tsx` so the timestamp feature doesnt look like a patch.
2021-12-11 19:28:24 +00:00
Shiba
8c4f3e60e0
Update ytContent.tsx
Turns out YouTube doesn't destroy the `HTMLVideoElement` once its created, so no need to check if its destroyed
2021-12-11 04:23:36 +03:00
Shiba
c7a839573a
Update ytContent.tsx 2021-12-11 03:38:45 +03:00
kodxana
972f5e7415
Update ytContent.tsx 2021-08-28 22:00:01 +02:00
Kevin Raoofi
94af57b809 Fix CORS errors in content script
Move fetch requests to background page. Include a dirty cache so that
same requests don't get made over and over again as settings change.
2021-04-20 23:22:19 -04:00
Kevin Raoofi
410a87710b Fix redirect
The odysee button change came with passing around the secondary part of
the URL instead of the whole thing. Unfortunately, this change requires
functions to be a little smarter and resolve with the domain lookup.

This was missed for redirects.
2021-01-21 17:01:35 -05:00
Kevin Raoofi
c5c8f40ddf Add WoL logos
* Adds the new Watch on LBRY logos
* Use logo relative to repo for README

They were added into a new folder to make a distinction between
external and Watch on LBRY icons.

 adasd
2020-12-29 12:17:32 -05:00
Kevin Raoofi
76830c907e Odysee logo support
This change includes a settings object which describes how the button
should be displayed keyed by the redirect setting.
2020-12-29 09:54:28 -05:00
Kevin Raoofi
08842c4ba8 Added SVG icon to button 2020-10-28 05:21:49 -04:00
Kevin Raoofi
2e58a04333 Update button on redirect change 2020-10-28 05:21:49 -04:00
Kevin Raoofi
7954c29482 Watch-on-Lbry button
* Created a content script for YouTube that injects a styled button
* Automatically pause the video when redirecting to the app

The button location is rather finicky as certain polymer components
seem to move around, causing random DOM elements to appear all over the
place if it's not a "singleton" component.

squash
2020-10-28 05:21:49 -04:00