توضیحات
DevSniper brings two tools in one lightweight plugin:
- Front-end Inspector for logged-in admins (or a custom capability via
devsniper_required_cap). Hover to highlight, click to view tag/ID/classes, size and offsets, DOM path, CSS selector, source detection (Elementor/Gutenberg/Theme), copy buttons, quick “Open Editor” link, favourites, and a saved per-user toggle. - Admin Search (command palette) inside wp-admin with
Ctrl/Cmd + K: quick results for posts/pages, media, users, admin pages, plus per-user favourites with a star toggle. Clean UI that respects WordPress styling, with tabs for General/Sources/Premium settings.
No tracking, no external requests, no locked “pro-only” code. Everything in this free version is fully usable.
SECURITY CHECKLIST
- Capabilities: Inspector gated by
manage_options(filterdevsniper_required_cap); admin search limited toedit_posts. - Nonces: All AJAX routes verify
devsniper_nonceplus capability checks before mutating data. - Sanitization/Escaping: All incoming text via
sanitize_text_field/esc_url_raw; outputs escaped in HTML; URLs escaped. - External requests: None. No telemetry or third-party calls; assets served locally.
عکسهای صفحه



نصب
- Upload the plugin files to
/wp-content/plugins/devsniperor install via the Plugins screen. - Activate the plugin through Plugins in WordPress.
- In wp-admin click the 🎯 icon in the admin bar or press
Ctrl/Cmd + Kto open the search palette. - On the frontend (logged-in admins), click the same 🎯 icon or press
Ctrl/Cmd + Shift + Ito toggle the Inspector.
سوالات متداول
-
Who can use the Inspector?
-
By default only users with
manage_options(filterable viadevsniper_required_cap) and who are logged in. The state is saved per user. -
Does it load for visitors?
-
No. Assets load only for logged-in users with the right capability.
-
Do you send any data outside my site?
-
No. There is no telemetry, no CDN, no remote requests in this MVP.
نقد و بررسیها
توسعه دهندگان و همکاران
“DevSniper – Global Developer Search” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “DevSniper – Global Developer Search” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.
گزارش تغییرات
0.5.1
- Update: Plugin name reverted to “DevSniper – Global Developer Search”.
- Update: Version bump and housekeeping.
0.1.0
- New: Front-end Inspector with hover highlight, element details, copy buttons, open-editor link, favourites stored in user meta, and keyboard toggle
Ctrl/Cmd + Shift + I. - New: Admin search keeps existing UI, now stores favourites per user, honours capability checks, and ships with tabbed settings + Premium placeholder.
- Security: Capability filter, nonces on all AJAX, strict sanitization/escaping, uninstall cleanup of user meta.
