[ale] How to drive Linux browser to make a campground sniper?

Putnam, James M. putnamjm at sa.edu
Mon Jan 15 13:28:29 EST 2018


   Use a Node.js equivalent of Greasemonkey and you can do anything you want
   as a notification. Like maybe:

       https://github.com/hejiheji001/NodeMonkey

--
James  M. Putnam
Visiting Professor of Computer Science

The air was soft, the stars so fine,
the promise of every cobbled alley so great,
that I thought I was in a dream.
________________________________________
From: Neal Rhodes [neal at mnopltd.com]
Sent: Monday, January 15, 2018 12:52 PM
To: Putnam, James M.; Atlanta Linux Enthusiasts
Cc: Jim Lynch
Subject: Re: [ale] How to drive Linux browser to make a campground sniper?

Yes.  Read the fine print.  $40/pop just for them TRYING to see if a site opens up.   On a $25 campsite.   If no luck you are still out $40.  Once you are retired and travel a lot that doesn't scale well.

I'm just impressed we've had several days of reasonably solid suggestions until the discourse drifted off into the tall weeds.

Digging through the details, it looks like GreaseMonkey/Tampermonkey can be used to drive the browser.   I have mapped out the various components and have a strategy.  The advantage of GreaseMonkey over iMacro is primarily GreaseMonkey forces you to understand Javascript better.   iMacro seem to require you to mostly learn iMacro.     Probably more useful in the long run to have a better grip on Javascript.

The remaining item is what I can do inside a javascript add-on once we detect that indeed there are sites, and now we want to email us.   I assume there are sandbox limitations on what can be invoked.    Initial research indicates that yes, this can be a booger.      Would it be smarter to:
- Have the GreaseMonkey script set a locally stored cookie which indicates it has a match and quit the repeat action;
- Have a separate shell script running in the background as my normal linux user which looks at where-ever my Chrome cookie values are stored and reacts to that value being stored?

Yes, if I didn't claim to be retired, at our normal billing rates this would have bought a lot of campsites.   But, it beats labeling all the jars of miscellaneous nuts and bolts in the garage.

n Mon, 2018-01-15 at 16:08 +0000, Putnam, James M. via Ale wrote:


http://campsitesniper.com/

    Although, a stay in a local Federal low-security prison might qualify as more of a vacation...

    http://www.myajc.com/news/atlanta-federal-prison-camp-drugs-booze-and-mexican-takeout/AQYbbBAq2VpgZnBVsvdUZO/

--
James  M. Putnam
Visiting Professor of Computer Science

The air was soft, the stars so fine,
the promise of every cobbled alley so great,
that I thought I was in a dream.
________________________________________
From: Ale [ale-bounces at ale.org<mailto:ale-bounces at ale.org>] on behalf of Jim Lynch via Ale [ale at ale.org<mailto:ale at ale.org>]
Sent: Monday, January 15, 2018 10:22 AM
To: Neal Rhodes; Atlanta Linux Enthusiasts
Subject: Re: [ale] How to drive Linux browser to make a campground sniper?

1. My favorite National Park.

2. Now you did it.  I suspect the FBI by now has us squarely in their
sights.  "campground sniper", really?

Jim.


On 01/13/2018 02:16 PM, Neal Rhodes via Ale wrote:
> So, we are planning a summer trip to Glacier National Park in Montana.
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
_______________________________________________
Ale mailing list
Ale at ale.org<mailto:Ale at ale.org>
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo





More information about the Ale mailing list