• 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

    Make extension from JS

    Opera add-ons
    2
    4
    1769
    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.
    • frouu
      frouu last edited by

      I have migrated from Opera 12 to new Opera and I have a simple js script which I need to use in the current browser.
      Tried to integrate my script into existing .nex extension but during installation I get error "crx_magic_number_invalid". I am not a programmer and do not know how debug this error, but there must be a simple way to bring script to new Opera experience. Can someone convert js to nex or maybe give a link for extension that allow to attach javascript to all websites.

      I've uploaded the script here
      http://www.mediafire.com/view/4rotbfzaf6pe6qd/title.js

      The goal of this script is to add site hostname to page title so you can easy search across saved web pages by address. This is very convenient for work and must have if you get used to use it.

      Reply Quote 0
        1 Reply Last reply
      • frouu
        frouu last edited by

        Maybe someone can write a new extension. I am sure it's would be easy for script makers, just a few strings of code.

        Reply Quote 0
          1 Reply Last reply
        • A Former User
          A Former User last edited by

          I have only ever written an extension for chrome.... But my guess would be that you can't just edit an extension and then drag it to opera. You need to go to the extension manager, enable developer mode and click pack extension. Then link opera to the folder that contains the .js and manifest files and it creates a packed extension for you; with new .pem file and magic number. You can then drag and drop your freshly packed .nex file in extension manager. Possibly load it unpacked to test it first.

          Reply Quote 0
            1 Reply Last reply
          • frouu
            frouu last edited by

            luetage,
            thanks, that helped to make and install extension.

            Unfortunately, this script turned up not working in new Opera...

            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-