Pinned Tweet
谷歌浏览器多开分身方法
我的电脑是MAC M1的,结合大佬们的攻略,我研究了一下Google实例多开,可能有些撸友还不太清楚大佬的攻略,所以我这里详细的写一份非常简单的小白也没问题的公路,使用命令“谷歌多开”。先看完不要着急开始,我会把所有小白关心的问题都写在下面,以下是步骤详解:
一、创建多个实例
1.进入你想要安装的目录创建文件夹
mkdir -p Chrome_Profiles/Profile_{1..10}
2.在你刚刚的目录创建启动脚本,然后编写这个文件
touch chrome_profiles.sh
然后你能看到生成了这个文件,然后“右键”点击这个文件,“文本编辑”打开,把以下内容复制进去后,关闭。(注意第一参数那里的XX是你的路径,查看路径使用pwd,或者右键点击图中这里复制)
#!/bin/bash
# 定义参数
APPS_DIR="/Users/XX/Chrome/Chrome实例应用" # 生成的独立应用存放目录
MAX_PROFILES=10
# 检查输入参数
if [ $# -eq 0 ]; then
echo "错误,好好检查路径是否一致"
exit 1
fi
input="$1"
# 解析输入(支持逗号和范围)
IFS=',' read -ra PARTS <<< "$input"
declare -a PROFILES_TO_OPEN=()
for part in "${PARTS[@]}"; do
if [[ "$part" =~ ^[0-9]+(-[0-9]+)?$ ]]; then
if [[ "$part" == *"-"* ]]; then
start=$(cut -d '-' -f1 <<< "$part")
end=$(cut -d '-' -f2 <<< "$part")
if [ "$start" -gt "$end" ]; then
echo "错误:范围 $part 的起始值大于结束值"
exit 1
fi
for ((i=start; i<=end; i++)); do
PROFILES_TO_OPEN+=("$i")
done
else
PROFILES_TO_OPEN+=("$part")
fi
else
echo "错误:无效的输入部分 '$part'"
exit 1
fi
done
# 去重并验证范围
PROFILES_TO_OPEN=($(printf "%s\n" "${PROFILES_TO_OPEN[@]}" | sort -nu))
for i in "${PROFILES_TO_OPEN[@]}"; do
if [ "$i" -lt 1 ] || [ "$i" -gt "$MAX_PROFILES" ]; then
echo "错误:实例编号 $i 超出 1-$MAX_PROFILES 的范围"
exit 1
fi
done
# 通过 .app 文件启动实例
for i in "${PROFILES_TO_OPEN[@]}"; do
APP_PATH="$APPS_DIR/Chrome实例$i.app"
if [ -d "$APP_PATH" ]; then
echo "正在启动实例 $i..."
open "$APP_PATH"
# 日志记录(按日期分割日志)
LOG_FILE="/tmp/chrome_profiles_$(date '+%Y%m%d').log"
echo "$(date '+%Y-%m-%d %H:%M:%S') - 实例 $i 已启动" >> "$LOG_FILE"
else
echo "错误:应用 $APP_PATH 不存在"
# 记录错误日志
LOG_FILE="/tmp/chrome_profiles_$(date '+%Y%m%d').log"
echo "$(date '+%Y-%m-%d %H:%M:%S') - 错误:应用 $APP_PATH 不存在" >> "$LOG_FILE"
fi
done
echo "已启动实例:${PROFILES_TO_OPEN[*]}"
以上是内容,不要复制本段话。
3.创建生成Google的实例文件create_chrome_apps.sh
touch create_chrome_apps.sh
同样的方法,文本编辑点开粘贴复制以下内容:
#!/bin/bash
# 定义配置
CHROME_PROFILES_DIR="/Users/XX/Chrome/Chrome_Profiles" # 你的配置目录
TOTAL_INSTANCES=10 # 实例总数
APPS_OUTPUT_DIR="/Users/XX/Chrome/Chrome实例应用" # 生成的独立应用存放目录
# 清理并重建输出目录
rm -rf "$APPS_OUTPUT_DIR"
mkdir -p "$APPS_OUTPUT_DIR"
# 生成独立应用
for i in $(seq 1 $TOTAL_INSTANCES); do
APP_NAME="Chrome实例$i"
APP_PATH="$APPS_OUTPUT_DIR/$APP_NAME.app"
# 创建应用结构
mkdir -p "$APP_PATH/Contents/MacOS"
mkdir -p "$APP_PATH/Contents/Resources"
# 生成启动脚本
cat <<EOF > "$APP_PATH/Contents/MacOS/ChromeLauncher"
#!/bin/bash
PROFILE_DIR="$CHROME_PROFILES_DIR/Profile_$i"
mkdir -p "\$PROFILE_DIR"
exec open -na "Google Chrome" --args --user-data-dir="\$PROFILE_DIR"
EOF
chmod +x "$APP_PATH/Contents/MacOS/ChromeLauncher"
# 生成 Info.plist 文件(定义应用名称和图标)
cat <<EOF > "$APP_PATH/Contents/Info.plist"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "apple.com/DTDs/PropertyList-…">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>ChromeLauncher</string>
<key>CFBundleName</key>
<string>$APP_NAME</string>
<key>CFBundleIdentifier</key>
<string>com.chrome.instance.$i</string>
<key>CFBundleIconFile</key>
<string>AppIcon</string>
</dict>
</plist>
EOF
# 复制 Chrome 图标(可选)
cp "/Applications/Google Chrome.app/Contents/Resource…" "$APP_PATH/Contents/Resources/AppIcon.icns"
echo "已生成应用: $APP_NAME.app"
done
echo "所有独立应用已生成到: $APPS_OUTPUT_DIR"
4.同样在目录中创建“关闭”的脚本,当然你可以一个一个关闭,就不需要这一步。
touch close_chrome_profiles.sh
接着“文本编辑”打开后,粘贴以下内容:
#!/bin/bash
CHROME_PROFILES_DIR="/Users/XX/Chrome/Chrome_Profiles"
MAX_PROFILES=10 # 实例数量
if [ $# -eq 0 ]; then
echo "错误,好好检查路径是否统一"
exit 1
fi
input="$1"
if [ "$input" == "all" ]; then
pkill -f "Google Chrome.*--user-data-dir=.*/Profile_"
echo "已关闭所有 Chrome 实例"
exit 0
fi
IFS=',' read -ra PARTS <<< "$input"
declare -a PROFILES_TO_CLOSE=()
for part in "${PARTS[@]}"; do
if [[ "$part" =~ ^[0-9]+(-[0-9]+)?$ ]]; then
if [[ "$part" == *"-"* ]]; then
start=$(cut -d '-' -f1 <<< "$part")
end=$(cut -d '-' -f2 <<< "$part")
if [ "$start" -gt "$end" ]; then
echo "错误:范围 $part 的起始值大于结束值"
exit 1
fi
for ((i=start; i<=end; i++)); do
PROFILES_TO_CLOSE+=("$i")
done
else
PROFILES_TO_CLOSE+=("$part")
fi
else
echo "错误:无效的输入部分 '$part'"
exit 1
fi
done
PROFILES_TO_CLOSE=($(printf "%s\n" "${PROFILES_TO_CLOSE[@]}" | sort -nu))
for i in "${PROFILES_TO_CLOSE[@]}"; do
if [ "$i" -lt 1 ] || [ "$i" -gt "$MAX_PROFILES" ]; then
echo "错误:实例编号 $i 超出 1-$MAX_PROFILES 的范围"
exit 1
fi
done
for i in "${PROFILES_TO_CLOSE[@]}"; do
pids=$(pgrep -f "Google Chrome.*--user-data-dir=.*/Profile_$i(\s|$)")
if [ -n "$pids" ]; then
echo "正在关闭实例 $i (PID: $pids)..."
kill -9 $pids
else
echo "警告:实例 $i 未在运行"
fi
done
echo "操作完成!"
以上是脚本内容,不要复制本段话。
如果你按照以上方法,那到这里就算完成了。
I’ve joined the ZRC20 Fairlaunch Airdrop ⚡️
ZRC20 is the native on-chain token standard for @Zcash , built by the @BitX2100 team.
A new era of tokens on Zcash starts here. 🦓
I’m in. Are you? nitter.cf/bitx2100/status/210252…
🚨 WEBSITE IS LIVE — $CASH IS DEPLOYED
Mint starts in 16 hours.
If you plan to mint multiple times, it’s recommended to set up your Zcash wallet now and split your funds into multiple UTXOs before launch.
⚠️ Be ready at launch. The mint is FCFS.
Airdrop portal has moved to:
airdrop.zrc20.io
$CASH deploy transaction:
cipherscan.app/tx/68e442c763…
27
ACCESS GRANTED 🔓
My Cypher is waiting.
I’m whitelisted for the @CypherSquadZec FREE MINT on $ZEC.
6,000 hackers. One squad.
Who’s coming with me? 👾 nitter.cf/CypherSquadZec/status/…
The squad deploys on @Zcash Tuesday, Sept 22 at 5 Pm Utc.
Minting on @zec_bit launchpad
6,000 hackers on $ZEC
Free mint + keep your wallet funded with ~$7 in ZEC for network fees
Wallet checker coming soon
Cypherpunks write code
35
Finally a PFP that doesn't publish my wallet. Every face is public. Every owner isn't. Go look.
nitter.cf/zaddrnet/status/209837…
This Post is from an account that no longer exists. Learn more
35
Probably Human retweeted
JOIN THE HUNT.
Apply now:
apply.bitfoots.xyz/
Just applied for the @zecpunksnft whitelist.
The first punks NFT collection on $ZEC.
You can also apply here : zecpunks.xyz/?ref=PUNKFDDB
23
速去领取空投!
存款进去,关注推特,交易一次,领取空投。
但网站很卡,我的存款还没到。
world.xyz/?ref=NJX91581
34
i’m launching a memecoin on robinhood
you have 8 hours to fill out form
for a bonus airdrop, rt + drop your wallet address
forms.gle/hWDxAP3BgapuN1M3A
I checked my $MECHANICA allocation.
Current allocation: 6,454 $MECHANICA
Potential 1.5× allocation: 9,681 $MECHANICA
Check yours:
mechanica.fun
@RoyalMechanica
21
Expectation.
I am on the [Redacted] - the first DN404 on Arc. Register with my code: aka.fun/whitelist?ref=W1XVTH…
1
16
Probably Human retweeted
NFT Degens.
Before aka.fun goes live, we made you something.
What if your NFT could trade like a token - while trading stacks RWAs for holders?
So we built one.
DN404 on @arc
NFT + ERC-20.
Two markets. One collection.
Whitelist: aka.fun/whitelist
Applied to the snarklist.
record 31536 · shielded by default
@zksnarks_ zksnarks.net/snarklist
18
Hello, I sold this inscription 6 hours ago, but the funds haven't arrived yet. When can I expect them to be credited? @RuneSwap1
1
3
852
I stared at it for almost 2 hours, and it is clearly written here. Reserved - someone is currently paying for it. If their payment is not confirmed, it will be resold after 45 minutes. But they are still here; many NFTs are like this. Is this a "single-player" game? @zec_bit May I ask who sold it and received the money?
56
The price of @Zcash quietly hit $1000, suggesting the market is recognizing its value and the ecosystem is following suit. In the past couple of days, the on-chain ecosystem has been thriving, and @SHLDdotfun is the first inscription platform on the ZEC chain, while $zecat is also the first inscription on the ZEC chain, originating from this platform. This platform is equivalent to @unisat_wallet on the BRC chain, and whether $zecat can stand alongside $ordi remains to be seen.
1
6
486
I purchased 10 @zec_bit NFTs on the secondary market, and I've already paid. It's been over 6 hours, and I still haven't received my NFTs.
1
1
64
Terrible experience. I bought 6, and I still haven't received any. @zec_bit
28


















