Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Tweaking Reader View Extension (extension security issue)

    Opera for Mac
    1
    1
    670
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thunderclutch
      thunderclutch last edited by

      I have long wanted to change the "sepia" colour in Reader View (Version 2) - the reader that is a porting of Firefox Reader View. The provided colour is far too bright. Details of how I did this are below.

      But it should not of worked! Any change to an extension (other than by updating it) should result in the change being detected and the extension being disabled.

      On my iMac, I could edit the extension, and my changes worked perfectly. But on my MacBookPro the proper behaviour occurred: the extension was disabled and I was given the option to "repair" it which resulted in my changes bing overwritten.

      I cannot see any difference in the setting settings for Opera on my devices (both running latest OSX and Opera).

      So my iMac has some "security hole" for Opera Extensions ... where is it???


      Note: the extension folder name is random (in my case gfaafookaidboehhnhojbebjpjbnnfg) but you can identify the correct one by the sub folder name which is the version (in this case 2_0) and by the contents therein.

      Replace the HTM color code #FFFAFD with #e7d9c3 or with any color code you like in the following two files.

      For color examples, see https://www.hexcolortool.com/704214#714214 or https://htmlcolorcodes.com/color-picker/

      content.js located in:

      /Users/{your user name}/Library/Application Support/com.operasoftware.Opera/Extensions/gfaafookaidboehhnhojbebjpjbnnfgl/2_0/js

      search for the phrase color === 'sepia’

      html += " } else if (color === 'sepia') {"
      html += " document.body.style.backgroundColor = '#e7d9c3';";

      aboutReaderControls.css located in:

      /Users/{your user name}/Library/Application Support/com.operasoftware.Opera/Extensions/gfaafookaidboehhnhojbebjpjbnnfgl/2_0/css

      search for the text “sepia-button”

      .sepia-button {
      color: black;
      background-color: #e7d9c3;

      Reply Quote 0
        1 Reply Last reply
      • First post
        Last post

      Computer browsers

      • Opera for Windows
      • Opera for Mac
      • Opera for Linux
      • Opera beta version
      • Opera USB

      Mobile browsers

      • Opera for Android
      • Opera Mini
      • Opera Touch
      • Opera for basic phones

      • Add-ons
      • Opera account
      • Wallpapers
      • Opera Ads

      • Help & support
      • Opera blogs
      • Opera forums
      • Dev.Opera

      • Security
      • Privacy
      • Cookies Policy
      • EULA
      • Terms of Service

      • About Opera
      • Press info
      • Jobs
      • Investors
      • Become a partner
      • Contact us

      Follow Opera

      • Opera - Facebook
      • Opera - Twitter
      • Opera - YouTube
      • Opera - LinkedIn
      • Opera - Instagram

      © Opera Software 1995-