diff options
| -rw-r--r-- | plugins/style/style.c | 2 | ||||
| -rw-r--r-- | plugins/style/style.h | 2 | ||||
| -rw-r--r-- | plugins/style/style.js | 8 | ||||
| -rwxr-xr-x | rose | bin | 43280 -> 43280 bytes | 
4 files changed, 7 insertions, 5 deletions
diff --git a/plugins/style/style.c b/plugins/style/style.c index 8fb0b08..650c735 100644 --- a/plugins/style/style.c +++ b/plugins/style/style.c @@ -1,7 +1,7 @@  #include <stdio.h>  #include <stdlib.h>  #include <string.h> -#define STYLE_N 6512 + 100 +#define STYLE_N 6657 + 100  void read_style_js(char* string)  { diff --git a/plugins/style/style.h b/plugins/style/style.h index df0408e..a0bb3b8 100644 --- a/plugins/style/style.h +++ b/plugins/style/style.h @@ -1,7 +1,7 @@  #ifndef STYLE  #define STYLE -#define STYLE_N 6512 + 100 +#define STYLE_N 6657 + 100  void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js index 6c9e652..e8c585d 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -120,7 +120,9 @@ if (document.domain == "twitter.com") {      display: none !important;    }    [data-testid^="videoPlayer"]:before { -    content: '[twitter video]'; +    content: '<br>[twitter video]'; +    margin: 5px; +    border: 10px;    }    `; @@ -131,8 +133,8 @@ if (document.domain == "twitter.com") {        .forEach(function (videoPlayer) {          var grandparentElement = videoPlayer.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;          var newTextElement = document.createElement('div'); -        newTextElement.textContent = '[twitter video]'; -        newTextElement.style.borderWidth = '0px !important'; +        newTextElement.textContent = ' [ twitter video ] '; +        newTextElement.style["margin"] = "10px";          grandparentElement.replaceWith(newTextElement);        });    } Binary files differ | 
