Skip to content

Commit

Permalink
Merge pull request #110 from sakusaku3939/dependabot/bundler/rexml-3.2.8
Browse files Browse the repository at this point in the history
Bump rexml from 3.2.5 to 3.2.8
  • Loading branch information
sakusaku3939 authored May 17, 2024
2 parents 0818a46 + 2455b01 commit 9459590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ GEM
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rexml (3.2.8)
strscan (>= 3.0.9)
rouge (2.0.7)
ruby2_keywords (0.0.4)
rubyzip (2.3.0)
Expand All @@ -169,6 +170,7 @@ GEM
simctl (1.6.8)
CFPropertyList
naturally
strscan (3.1.0)
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
Expand Down

2 comments on commit 9459590

@sudoshindo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sudoshindo
Copy link

@sudoshindo sudoshindo commented on 9459590 Jun 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sakusaku3939

PLEASE UPDATE THE APP USING THIS CODE

PLEASE PUBLISH TO F-DROID AFTERWARDS

THIS ONLY TOOK ME 1 HOUR BY THE WAY

IT DIDN'T TAKE ME OVER A YEAR TO FIGURE OUT HOW TO FIX IT

init.js

Appending additional styles to the <head> is more reliable than constantly calling .hide() because this will ALWAYS hide elements even if they are not immediately loaded and this makes setTimeout unnecessary.

$('a').css('pointer-events', 'none');
$('*').css('-webkit-tap-highlight-color', 'rgba(0,0,0,.1)');

$('head').append(`<style>
    [class*="LogoLink-module--translatorLink--"] ~ div,
    [class^="ProductNavigation-module--container--"] + div,
    [class^="SideMenuButton-module--menuButton--"],
    [class^="BasePageHeader-module--exContainer--"] + div > div:first-child,
    h2#translation-modes-heading + div > div:first-child,
    div[data-testid="translator"] span:nth-child(3),
    footer,
    div[data-testid="chrome-extension-toast"],
    div[data-testid="firefox-extension-toast"] {
        display: none !important;
        visibility: hidden;
        height: 0;
        width: 0;
        overflow: hidden;
    }
</style>`);

Please sign in to comment.