Skip to content

Instantly share code, notes, and snippets.

View sd016808's full-sized avatar

sd016808 sd016808

  • Taiwan
View GitHub Profile
@sd016808
sd016808 / TabsOnWheels
Last active August 17, 2022 15:12
TabsOnWheels: Switch browser (or other program's) tabs with your mouse wheel when hovering over the tab bar (and optionally address bar). Press Middle/Wheel Mouse Click to switch tabs from anywhere in the program.
; ---------------------------------------------------- ;
; TabsOnWheels ;
; ---------------------------------------------------- ;
; Switch browser (or other program's) tabs with your mouse wheel when hovering over the tab bar (and optionally address bar).
; Press Middle/Wheel Mouse Click to switch tabs from anywhere in the program.
; If the target window is inactive when starting to scroll, it will be activated.
;
; Install https://www.autohotkey.com/ (Windows only) to run.
; To auto-start, copy the script or a shortcut to your
; Start Menu\Programs\Startup directory
/// <summary>
/// 取得必要的post參數
/// </summary>
/// <returns></returns>
public static string getEVENTVALIDATION()
{
string output = htmls;
//抓取值
output = GetInner(output, "__EVENTVALIDATION", "<table width=\"939\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"fff299\">");
/// <summary>
/// 取得必要的post參數
/// </summary>
/// <returns></returns>
public static string getEVENTVALIDATION()
{
string output = htmls;
//抓取值
output = GetInner(output, "__EVENTVALIDATION", "<table width=\"939\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"fff299\">");