Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8868623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:18:51+00:00 2026-06-14T17:18:51+00:00

I am developing an extension that will read HTML elements value, then make API

  • 0

I am developing an extension that will read HTML elements value, then make API calls to an external website, get the results and display them in newly created HTML elements.

What are the pro/cons of writing it in native chrome extensions vs. userscripts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:18:52+00:00Added an answer on June 14, 2026 at 5:18 pm

    There are a few differences between a native Chrome extension and a user script.

    See this wiki section for a list of differences between Greasemonkey scripts and Chrome userscripts.

    If you want to take advantage of cross-browser user scripts, try to not use GM_* methods or unsafeWindow.

    From a developer’s perspective, there is no advantage of preferring either User scripts or Chrome extensions, because any user script can easily be embedded in a Chrome extension.

    If you view this topic in the light of deployment, then the differences are significant:

    • One-click install is only available in the Chrome Web Store. Native extensions only.
    • Both user scripts and native extensions can be dragged from the local file browser to the Extensions page to install the extension.
      (User scripts are converted to Chrome extensions; warning: see below)
    • Native user script support will stop working at the end of 2013, because converted user scripts use manifest version 1, which has been deprecated.

    Conclusion

    I recommend to develop native extensions. You can easily create a Chrome extension from a user script by using the following directory structure:

    manifest.json
    whatever.user.js
    

    Minimal manifest.json:

    {
         "name": "name of extension",
         "version": "1",
         "manifest_version": 2,
         "content_scripts": [{
             "js": ["whatever.user.js"],
             "matches": ["http://example.com/*"]
          }]
    }
    

    See also

    • http://developer.chrome.com/extensions/content_scripts.html
    • http://developer.chrome.com/extensions/match_patterns.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an extension that will allow the user to rate the page
I am busy developing a chrome extension. What it will do: Get data from
I'm developing an extension in Chrome 4 (currently 4.0.249.0) that will show the user's
(sorry for my bad english) I'm developing a basic chrome extension that make some
I am a newbie working towards developing an IE extension that would appear as
I'm developing an extension for Google Chrome that generates an mp3 file and saves
I'm developing a Firefox extension, and I have a toolbar button that displays an
I am developing a firefox extension and ideally would be able to get the
I am developing a Chrome extension that makes XMLHttpRequest's on various sites but I
I am developing a Gem that will allow users to auto-require, instantiate, and register

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.