From 5f596a3f401a0a40eefcc0f8b6c6b5083748cc1a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 5 Aug 2021 09:44:10 +0430 Subject: a lot of updates and fixes --- .w3m/cgi-bin/agent_windows_10_win10 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .w3m/cgi-bin/agent_windows_10_win10 (limited to '.w3m/cgi-bin') diff --git a/.w3m/cgi-bin/agent_windows_10_win10 b/.w3m/cgi-bin/agent_windows_10_win10 new file mode 100755 index 0000000..36f3d64 --- /dev/null +++ b/.w3m/cgi-bin/agent_windows_10_win10 @@ -0,0 +1,15 @@ +#!/usr/bin/env sh +USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246" + +# open settings options +tmux send-keys "$W3M_HOTKEY_OPTIONS" +# jump to user agent +tmux send-keys "155$W3M_HOTKEY_LINK_BEGIN" +# clear user agent string +tmux send-keys 'Enter' 'C-u' +# new user agent string +tmux send-keys "$USER_AGENT" 'Enter' +# save changes +tmux send-keys "173$W3M_HOTKEY_LINK_BEGIN" 'Enter' +# refresh page +tmux send-keys "$W3M_HOTKEY_RELOAD" -- cgit v1.2.3