namespace Elementor; use Elementor\Core\Admin\Menu\Admin_Menu_Manager; use Elementor\Core\Wp_Api; use Elementor\Core\Admin\Admin; use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager; use Elementor\Core\Common\App as CommonApp; use Elementor\Core\Debug\Inspector; use Elementor\Core\Documents_Manager; use Elementor\Core\Experiments\Manager as Experiments_Manager; use Elementor\Core\Kits\Manager as Kits_Manager; use Elementor\Core\Editor\Editor; use Elementor\Core\Files\Manager as Files_Manager; use Elementor\Core\Files\Assets\Manager as Assets_Manager; use Elementor\Core\Modules_Manager; use Elementor\Core\Schemes\Manager as Schemes_Manager; use Elementor\Core\Settings\Manager as Settings_Manager; use Elementor\Core\Settings\Page\Manager as Page_Settings_Manager; use Elementor\Core\Upgrade\Elementor_3_Re_Migrate_Globals; use Elementor\Modules\History\Revisions_Manager; use Elementor\Core\DynamicTags\Manager as Dynamic_Tags_Manager; use Elementor\Core\Logger\Manager as Log_Manager; use Elementor\Core\Page_Assets\Loader as Assets_Loader; use Elementor\Modules\System_Info\Module as System_Info_Module; use Elementor\Data\Manager as Data_Manager; use Elementor\Data\V2\Manager as Data_Manager_V2; use Elementor\Core\Common\Modules\DevTools\Module as Dev_Tools; use Elementor\Core\Files\Uploads_Manager as Uploads_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Elementor plugin. * * The main plugin handler class is responsible for initializing Elementor. The * class registers and all the components required to run the plugin. * * @since 1.0.0 */ class Plugin { const ELEMENTOR_DEFAULT_POST_TYPES = [ 'page', 'post' ]; /** * Instance. * * Holds the plugin instance. * * @since 1.0.0 * @access public * @static * * @var Plugin */ public static $instance = null; /** * Database. * * Holds the plugin database handler which is responsible for communicating * with the database. * * @since 1.0.0 * @access public * * @var DB */ public $db; /** * Controls manager. * * Holds the plugin controls manager handler is responsible for registering * and initializing controls. * * @since 1.0.0 * @access public * * @var Controls_Manager */ public $controls_manager; /** * Documents manager. * * Holds the documents manager. * * @since 2.0.0 * @access public * * @var Documents_Manager */ public $documents; /** * Schemes manager. * * Holds the plugin schemes manager. * * @since 1.0.0 * @access public * * @var Schemes_Manager */ public $schemes_manager; /** * Elements manager. * * Holds the plugin elements manager. * * @since 1.0.0 * @access public * * @var Elements_Manager */ public $elements_manager; /** * Widgets manager. * * Holds the plugin widgets manager which is responsible for registering and * initializing widgets. * * @since 1.0.0 * @access public * * @var Widgets_Manager */ public $widgets_manager; /** * Revisions manager. * * Holds the plugin revisions manager which handles history and revisions * functionality. * * @since 1.0.0 * @access public * * @var Revisions_Manager */ public $revisions_manager; /** * Images manager. * * Holds the plugin images manager which is responsible for retrieving image * details. * * @since 2.9.0 * @access public * * @var Images_Manager */ public $images_manager; /** * Maintenance mode. * * Holds the maintenance mode manager responsible for the "Maintenance Mode" * and the "Coming Soon" features. * * @since 1.0.0 * @access public * * @var Maintenance_Mode */ public $maintenance_mode; /** * Page settings manager. * * Holds the page settings manager. * * @since 1.0.0 * @access public * * @var Page_Settings_Manager */ public $page_settings_manager; /** * Dynamic tags manager. * * Holds the dynamic tags manager. * * @since 1.0.0 * @access public * * @var Dynamic_Tags_Manager */ public $dynamic_tags; /** * Settings. * * Holds the plugin settings. * * @since 1.0.0 * @access public * * @var Settings */ public $settings; /** * Role Manager. * * Holds the plugin role manager. * * @since 2.0.0 * @access public * * @var Core\RoleManager\Role_Manager */ public $role_manager; /** * Admin. * * Holds the plugin admin. * * @since 1.0.0 * @access public * * @var Admin */ public $admin; /** * Tools. * * Holds the plugin tools. * * @since 1.0.0 * @access public * * @var Tools */ public $tools; /** * Preview. * * Holds the plugin preview. * * @since 1.0.0 * @access public * * @var Preview */ public $preview; /** * Editor. * * Holds the plugin editor. * * @since 1.0.0 * @access public * * @var Editor */ public $editor; /** * Frontend. * * Holds the plugin frontend. * * @since 1.0.0 * @access public * * @var Frontend */ public $frontend; /** * Heartbeat. * * Holds the plugin heartbeat. * * @since 1.0.0 * @access public * * @var Heartbeat */ public $heartbeat; /** * System info. * * Holds the system info data. * * @since 1.0.0 * @access public * * @var System_Info_Module */ public $system_info; /** * Template library manager. * * Holds the template library manager. * * @since 1.0.0 * @access public * * @var TemplateLibrary\Manager */ public $templates_manager; /** * Skins manager. * * Holds the skins manager. * * @since 1.0.0 * @access public * * @var Skins_Manager */ public $skins_manager; /** * Files manager. * * Holds the plugin files manager. * * @since 2.1.0 * @access public * * @var Files_Manager */ public $files_manager; /** * Assets manager. * * Holds the plugin assets manager. * * @since 2.6.0 * @access public * * @var Assets_Manager */ public $assets_manager; /** * Icons Manager. * * Holds the plugin icons manager. * * @access public * * @var Icons_Manager */ public $icons_manager; /** * WordPress widgets manager. * * Holds the WordPress widgets manager. * * @since 1.0.0 * @access public * * @var WordPress_Widgets_Manager */ public $wordpress_widgets_manager; /** * Modules manager. * * Holds the plugin modules manager. * * @since 1.0.0 * @access public * * @var Modules_Manager */ public $modules_manager; /** * Beta testers. * * Holds the plugin beta testers. * * @since 1.0.0 * @access public * * @var Beta_Testers */ public $beta_testers; /** * Inspector. * * Holds the plugin inspector data. * * @since 2.1.2 * @access public * * @var Inspector */ public $inspector; /** * @var Admin_Menu_Manager */ public $admin_menu_manager; /** * Common functionality. * * Holds the plugin common functionality. * * @since 2.3.0 * @access public * * @var CommonApp */ public $common; /** * Log manager. * * Holds the plugin log manager. * * @access public * * @var Log_Manager */ public $logger; /** * Dev tools. * * Holds the plugin dev tools. * * @access private * * @var Dev_Tools */ private $dev_tools; /** * Upgrade manager. * * Holds the plugin upgrade manager. * * @access public * * @var Core\Upgrade\Manager */ public $upgrade; /** * Tasks manager. * * Holds the plugin tasks manager. * * @var Core\Upgrade\Custom_Tasks_Manager */ public $custom_tasks; /** * Kits manager. * * Holds the plugin kits manager. * * @access public * * @var Core\Kits\Manager */ public $kits_manager; /** * @var \Elementor\Data\V2\Manager */ public $data_manager_v2; /** * Legacy mode. * * Holds the plugin legacy mode data. * * @access public * * @var array */ public $legacy_mode; /** * App. * * Holds the plugin app data. * * @since 3.0.0 * @access public * * @var App\App */ public $app; /** * WordPress API. * * Holds the methods that interact with WordPress Core API. * * @since 3.0.0 * @access public * * @var Wp_Api */ public $wp; /** * Experiments manager. * * Holds the plugin experiments manager. * * @since 3.1.0 * @access public * * @var Experiments_Manager */ public $experiments; /** * Uploads manager. * * Holds the plugin uploads manager responsible for handling file uploads * that are not done with WordPress Media. * * @since 3.3.0 * @access public * * @var Uploads_Manager */ public $uploads_manager; /** * Breakpoints manager. * * Holds the plugin breakpoints manager. * * @since 3.2.0 * @access public * * @var Breakpoints_Manager */ public $breakpoints; /** * Assets loader. * * Holds the plugin assets loader responsible for conditionally enqueuing * styles and script assets that were pre-enabled. * * @since 3.3.0 * @access public * * @var Assets_Loader */ public $assets_loader; /** * Clone. * * Disable class cloning and throw an error on object clone. * * The whole idea of the singleton design pattern is that there is a single * object. Therefore, we don't want the object to be cloned. * * @access public * @since 1.0.0 */ public function __clone() { _doing_it_wrong( __FUNCTION__, sprintf( 'Cloning instances of the singleton "%s" class is forbidden.', get_class( $this ) ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped '1.0.0' ); } /** * Wakeup. * * Disable unserializing of the class. * * @access public * @since 1.0.0 */ public function __wakeup() { _doing_it_wrong( __FUNCTION__, sprintf( 'Unserializing instances of the singleton "%s" class is forbidden.', get_class( $this ) ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped '1.0.0' ); } /** * Instance. * * Ensures only one instance of the plugin class is loaded or can be loaded. * * @since 1.0.0 * @access public * @static * * @return Plugin An instance of the class. */ public static function instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); /** * Elementor loaded. * * Fires when Elementor was fully loaded and instantiated. * * @since 1.0.0 */ do_action( 'elementor/loaded' ); } return self::$instance; } /** * Init. * * Initialize Elementor Plugin. Register Elementor support for all the * supported post types and initialize Elementor components. * * @since 1.0.0 * @access public */ public function init() { $this->add_cpt_support(); $this->init_components(); /** * Elementor init. * * Fires when Elementor components are initialized. * * After Elementor finished loading but before any headers are sent. * * @since 1.0.0 */ do_action( 'elementor/init' ); } /** * Get install time. * * Retrieve the time when Elementor was installed. * * @since 2.6.0 * @access public * @static * * @return int Unix timestamp when Elementor was installed. */ public function get_install_time() { $installed_time = get_option( '_elementor_installed_time' ); if ( ! $installed_time ) { $installed_time = time(); update_option( '_elementor_installed_time', $installed_time ); } return $installed_time; } /** * @since 2.3.0 * @access public */ public function on_rest_api_init() { // On admin/frontend sometimes the rest API is initialized after the common is initialized. if ( ! $this->common ) { $this->init_common(); } } /** * Init components. * * Initialize Elementor components. Register actions, run setting manager, * initialize all the components that run elementor, and if in admin page * initialize admin components. * * @since 1.0.0 * @access private */ private function init_components() { $this->experiments = new Experiments_Manager(); $this->breakpoints = new Breakpoints_Manager(); $this->inspector = new Inspector(); Settings_Manager::run(); $this->db = new DB(); $this->controls_manager = new Controls_Manager(); $this->documents = new Documents_Manager(); $this->kits_manager = new Kits_Manager(); $this->schemes_manager = new Schemes_Manager(); $this->elements_manager = new Elements_Manager(); $this->widgets_manager = new Widgets_Manager(); $this->skins_manager = new Skins_Manager(); $this->files_manager = new Files_Manager(); $this->assets_manager = new Assets_Manager(); $this->icons_manager = new Icons_Manager(); $this->settings = new Settings(); $this->tools = new Tools(); $this->editor = new Editor(); $this->preview = new Preview(); $this->frontend = new Frontend(); $this->maintenance_mode = new Maintenance_Mode(); $this->dynamic_tags = new Dynamic_Tags_Manager(); $this->modules_manager = new Modules_Manager(); $this->templates_manager = new TemplateLibrary\Manager(); $this->role_manager = new Core\RoleManager\Role_Manager(); $this->system_info = new System_Info_Module(); $this->revisions_manager = new Revisions_Manager(); $this->images_manager = new Images_Manager(); $this->wp = new Wp_Api(); $this->assets_loader = new Assets_Loader(); $this->uploads_manager = new Uploads_Manager(); $this->admin_menu_manager = new Admin_Menu_Manager(); $this->admin_menu_manager->register_actions(); User::init(); Api::init(); Tracker::init(); $this->upgrade = new Core\Upgrade\Manager(); $this->custom_tasks = new Core\Upgrade\Custom_Tasks_Manager(); $this->app = new App\App(); if ( is_admin() ) { $this->heartbeat = new Heartbeat(); $this->wordpress_widgets_manager = new WordPress_Widgets_Manager(); $this->admin = new Admin(); $this->beta_testers = new Beta_Testers(); new Elementor_3_Re_Migrate_Globals(); } } /** * @since 2.3.0 * @access public */ public function init_common() { $this->common = new CommonApp(); $this->common->init_components(); } /** * Get Legacy Mode * * @since 3.0.0 * @deprecated 3.1.0 Use `Plugin::$instance->experiments->is_feature_active()` instead * * @param string $mode_name Optional. Default is null * * @return bool|bool[] */ public function get_legacy_mode( $mode_name = null ) { self::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation ->deprecated_function( __METHOD__, '3.1.0', 'Plugin::$instance->experiments->is_feature_active()' ); $legacy_mode = [ 'elementWrappers' => ! self::$instance->experiments->is_feature_active( 'e_dom_optimization' ), ]; if ( ! $mode_name ) { return $legacy_mode; } if ( isset( $legacy_mode[ $mode_name ] ) ) { return $legacy_mode[ $mode_name ]; } // If there is no legacy mode with the given mode name; return false; } /** * Add custom post type support. * * Register Elementor support for all the supported post types defined by * the user in the admin screen and saved as `elementor_cpt_support` option * in WordPress `$wpdb->options` table. * * If no custom post type selected, usually in new installs, this method * will return the two default post types: `page` and `post`. * * @since 1.0.0 * @access private */ private function add_cpt_support() { $cpt_support = get_option( 'elementor_cpt_support', self::ELEMENTOR_DEFAULT_POST_TYPES ); foreach ( $cpt_support as $cpt_slug ) { add_post_type_support( $cpt_slug, 'elementor' ); } } /** * Register autoloader. * * Elementor autoloader loads all the classes needed to run the plugin. * * @since 1.6.0 * @access private */ private function register_autoloader() { require_once ELEMENTOR_PATH . '/includes/autoloader.php'; Autoloader::run(); } /** * Plugin Magic Getter * * @since 3.1.0 * @access public * * @param $property * @return mixed * @throws \Exception */ public function __get( $property ) { if ( 'posts_css_manager' === $property ) { self::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_argument( 'Plugin::$instance->posts_css_manager', '2.7.0', 'Plugin::$instance->files_manager' ); return $this->files_manager; } if ( 'data_manager' === $property ) { return Data_Manager::instance(); } if ( property_exists( $this, $property ) ) { throw new \Exception( 'Cannot access private property.' ); } return null; } /** * Plugin constructor. * * Initializing Elementor plugin. * * @since 1.0.0 * @access private */ private function __construct() { $this->register_autoloader(); $this->logger = Log_Manager::instance(); $this->data_manager_v2 = Data_Manager_V2::instance(); Maintenance::init(); Compatibility::register_actions(); add_action( 'init', [ $this, 'init' ], 0 ); add_action( 'rest_api_init', [ $this, 'on_rest_api_init' ], 9 ); } final public static function get_title() { return esc_html__( 'Elementor', 'elementor' ); } } if ( ! defined( 'ELEMENTOR_TESTS' ) ) { // In tests we run the instance manually. Plugin::instance(); } {"id":64217,"date":"2025-07-30T17:14:58","date_gmt":"2025-07-30T11:44:58","guid":{"rendered":"https:\/\/urbanedge.co.in\/vrsi\/?p=64217"},"modified":"2026-05-10T15:30:12","modified_gmt":"2026-05-10T10:00:12","slug":"which-phantom-for-the-web-a-practical-comparison-of-phantom-s-web-wallet-browser-extension-and-mobile-pathways","status":"publish","type":"post","link":"https:\/\/urbanedge.co.in\/vrsi\/which-phantom-for-the-web-a-practical-comparison-of-phantom-s-web-wallet-browser-extension-and-mobile-pathways\/","title":{"rendered":"Which Phantom for the Web? A practical comparison of Phantom\u2019s web wallet, browser extension, and mobile pathways"},"content":{"rendered":"
What does it mean, in practical terms, to “use Phantom on the web” in 2026? The short answer is: it depends which Phantom you pick and what trade-offs you’re willing to accept. That question reframes a common user impulse\u2014convenience over custody versus security over convenience\u2014into a clearer decision problem. For anyone landing on an archived PDF about Phantom via an Internet Archive page, this article explains the mechanisms behind Phantom\u2019s web access options on Solana, compares their properties, and provides heuristics for realistic choices in a U.S. regulatory and threat environment.<\/p>\n
Begin here: Phantom is a non-bank financial technology company that positions itself as a platform provider for its application and card services. That contemporary framing matters because it clarifies that Phantom operates as software and service rather than a bank\u2014affecting user expectations about custody, dispute resolution, and legal protections. Below I map the concrete alternatives (browser extension, web-based flow, and mobile), show where they converge and diverge technically, and offer decision rules tuned to common user goals: casual DeFi interaction, active trading, merchant payments, and long-term custody.<\/p>\n
<\/p>\n
At a mechanism level, there are three ways most people use Phantom on the web: (1) browser extension that injects a wallet API into web pages; (2) an in-browser web flow that uses a hosted interface and external signing (for example via deep link to a mobile app or a QR connection); and (3) mobile in-app browser or mobile app that proxies web interactions. Each approach implements the same fundamental primitives\u2014key storage, transaction signing, and RPC communication to Solana nodes\u2014but they partition trust and convenience differently.<\/p>\n
Browser extension: the extension stores the user\u2019s seed or private key material locally (encrypted with a password). When a dApp requests a signature, the extension surfaces a modal showing transaction details and asks the user to approve. Because the extension injects an API into the page, dApps can call it directly. This yields the lowest-latency UX for web dApps because calls don\u2019t require external hops. The trade-off: if your browser environment is compromised (malicious extension, targeted exploit), the extension’s local keyguard can be more exposed.<\/p>\n
Web-hosted flow: a web page can present a Phantom-hosted interface that does not inject keys into the page; instead it coordinates signing through a separate channel\u2014often a mobile app via QR code or deep link. The browser handles display and session orchestration, but the key never sits in the desktop browser. This pattern reduces the attack surface on the desktop at the cost of an extra step for the user and slightly higher friction.<\/p>\n
Mobile app (in-app browser): when you use Phantom on mobile, the app stores keys on the device and can handle dApp connections inside a mobile browser context. That setup bundles keys with a smartphone\u2019s OS protections (Secure Enclave\/Keystore equivalents). The convenience of single-device signing is strong, but it ties security to the device: lost or compromised phones require recovery with seed phrases, and a phone-based attack model differs from desktop threats.<\/p>\n
Comparing the three options quickly produces a predictable but useful matrix. Browser extension = best convenience for desktop dApp users; web-hosted flow = better separation of duties and reduced desktop exposure; mobile = strong device-level protections but different recovery and usability trade-offs. The mistake many users make is assuming \u201cextension\u201d equals \u201cinsecure\u201d or \u201cmobile\u201d equals \u201csecure.\u201d Security is conditional. A properly managed extension on an updated browser with strong OS hygiene is often an acceptable choice; an unencrypted backup of a seed phrase stored in cloud drive is not.<\/p>\n
Two operational distinctions matter more than headline security claims. First, custody vs. control: Phantom as a platform provider does not, by default, custody your private keys. If a Phantom-branded card or custodial product is used, that\u2019s a separate relationship with different legal protections. Second, attack surface composition: desktop compromise risk is about the entire browser ecosystem and other installed extensions; mobile compromise risk is about device theft, social engineering, and malicious mobile apps. Choose by which attack vectors you can realistically manage.<\/p>\n
Recoverability is the other important axis. Seed phrases remain the canonical recovery mechanism. But the UX around creating, storing, and restoring seeds differs between pathways. Extensions and mobile apps both rely on the same seed model; web-hosted flows that rely on mobile signing still depend on a seed for recovery. A useful heuristic: treat seed management as the primary security control\u2014everything else is convenience optimization around that control.<\/p>\n
Here are four common user archetypes and the path that usually fits them.<\/p>\n
– Casual DeFi interaction (occasional swaps, NFTs): Use the browser extension if you primarily interact from a protected desktop that you control. The speed of injected APIs matters when you click “connect” and want immediate approval dialogs. Keep your seed offline and consider a hardware wallet for higher-value holdings.<\/p>\n
– Active trading or market-making: Prioritize low latency and consistent session management\u2014extension on a dedicated, hardened machine. Consider combining with a hardware wallet; many workflows allow the extension to coordinate signing with external devices for high-value transactions.<\/p>\n
– Mobile-first payments and card interactions: Use Phantom\u2019s mobile app and mobile-hosted flows. Mobile delivers the cleanest UX for card and near-field payments (where supported) and aligns with the company positioning as a platform provider for card access; but recognize the need for secure backups of your seed phrase outside of the phone.<\/p>\n
– Cold storage and long-term holdings: Avoid keeping large balances in a software-only wallet. Use offline storage or hardware wallets and only import minimal operational balances into Phantom for active use. The web alternatives are convenience layers on top of custody choices, not substitutes for them.<\/p>\n
No software wallet eliminates systemic risks. Three important limits are often understated:<\/p>\n
1) Social-engineering and account recovery: If an attacker convinces you to reveal your seed or to approve a transaction, none of the interfaces (extension, web flow, mobile) can prevent that. Behavioral security matters as much as technical controls.<\/p>\n
2) Browser ecosystem dependencies: Browser updates, extension stores, and third-party plugin ecosystems change. An extension that works today can be disabled, require reinstallation, or be targeted by supply-chain attacks tomorrow. Web-hosted flows reduce some of these dependencies but add reliance on mobile app availability.<\/p>\n
3) Regulatory and product boundaries: Phantom\u2019s recent framing as a financial technology company and platform provider clarifies its role but does not retroactively change the legal protections for users who self-custody. In the U.S., banking consumer protections typically do not apply to non-custodial wallets. If you expect the same dispute mechanisms as a bank, reconsider your custody choices or opt for regulated custodial services.<\/p>\n
These are not reasons to avoid web wallets; they are reasons to calibrate expectations. Decide what you need the wallet to do, and then select the architecture that aligns with that need while acknowledging residual risks you alone can manage or insure against.<\/p>\n
Use this short decision checklist as a reusable heuristic:<\/p>\n
1. Define the primary use (trading, payments, long-term holding). 2. Choose the simplest path that satisfies that use (extension for desktop convenience; mobile for payments; hardware + extension for high-value operations). 3. Protect the seed offline (paper or hardware-backed backup). 4. Apply compartmentalization: use separate wallets\/accounts for daily operations and long-term storage. 5. Keep software updated and minimize extra browser extensions. 6. Consider hardware signing for high-value actions.<\/p>\n