LinkedIn Profile View Anonymizer Toggle
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This script provides a one-click toggle for LinkedIn's profile viewing privacy setting. It lets you quickly switch between "Private mode" (where you browse profiles anonymously, and profile owners see "LinkedIn Member" instead of your name) and "Public mode" (where your name and headline are visible to profile owners when you view their profiles). The script displays your current mode status prominently in the panel, so you always know whether you are browsing anonymously or publicly. When you click the toggle button, the script navigates to LinkedIn's profile viewing settings page and guides you to change the setting with minimal clicks. After you make the change, the script detects the new mode and updates the status display automatically. This saves you from having to navigate through multiple settings menus every time you want to change your profile viewing privacy.
WHERE IT RUNS
The script runs on all LinkedIn domains (*.linkedin.com). It works on the profile viewing settings page (linkedin.com/mypreferences/d/profile-viewing) and also on any LinkedIn page where you want to check your current mode or quickly navigate to the settings. It handles both desktop and mobile views. The script detects when you navigate to the settings page and automatically refreshes the status display.
HOW TO USE
After installation, the settings panel appears on the left side of the screen with the gear emoji (⚙️). Open the panel to control the script:
- The panel shows your current profile viewing mode at the top: "Private Mode (Anonymous)" with a green indicator, "Public Mode (Name visible)" with a yellow indicator, or "Unknown" if the mode cannot be detected.
- The main toggle button changes based on your current mode. If you are in Private mode, it says "Switch to Public Mode" and has a yellow color. If you are in Public mode, it says "Switch to Private Mode" and has a green color. If the mode is unknown, it says "Detect Current Mode."
- Click the toggle button to switch modes. The script will open the settings page in a new tab if you are not already there. On the settings page, the script attempts to automatically click the appropriate radio button or select the correct option to change the mode.
- Click "Open Settings Page" to manually navigate to the profile viewing settings page.
- Click "Refresh Status" to re-detect your current mode and update the display.
The script saves your last known mode so it can display your status even before the page fully loads.
TECHNICAL SECTION — REAL MECHANISM
The script detects the current profile viewing mode using multiple strategies. On the settings page, it searches for radio buttons with name attributes containing "viewing" or "profile" and checks which one is checked. It also looks for select dropdowns and inspects the selected option's value. Keywords like "private" or "public" are used to determine the mode. On other LinkedIn pages, the script looks for UI elements that display the viewing mode, such as elements with aria-label containing "profile viewing," or elements with specific class names like .profile-viewing-settings or .pv-profile-viewing-mode. It also scans the page text for phrases like "private mode" or "name and headline" as a fallback. When the toggle button is clicked, the script first checks if the current page is the settings page. If not, it uses GM_openInTab to open the settings page in a new tab. If it is on the settings page, the script locates the relevant radio buttons or select dropdowns and programmatically clicks or selects the opposite mode, then dispatches both "input" and "change" events to ensure LinkedIn's React UI detects the change. The script uses a MutationObserver to watch for DOM changes on the settings page, automatically updating the status display when the user manually changes the mode. The last known mode is stored via GM_setValue and restored when the script initializes.
THE PANEL
The settings panel is built with BotGentz's BGPanel component. It is draggable via its header, allowing you to reposition it anywhere on the screen. The panel snaps to the left edge by default but can be moved freely. Click the gear emoji to collapse the panel into a small bubble, and click the bubble to expand it again. The panel remembers its position per page session. Press the Escape key to quickly close or minimize the panel. The panel includes a status flash bar that provides visual feedback when actions are performed or when the mode is detected. All settings save automatically via GM_setValue.
PLEASE NOTE
This script requires the free BotGentz browser extension to run. It does not function as a standalone Chrome extension and does not use chrome.* APIs. LinkedIn frequently updates its settings page structure and profile viewing controls, which may break the script's detection or toggle logic. If the toggle stops working, please check for script updates. The script stores only the last known mode string via GM_setValue. No data is sent externally. The script never reads or writes password fields, hidden inputs, or file inputs. All DOM operations use safe methods (style properties, event dispatching) and never use innerHTML. The script does not change your profile viewing settings automatically without your action—you must click the toggle button to initiate the change, and the script guides you through the process on the settings page.