Would it be possible to set up an area here on PM that people can share their web browser custom hacks that manipulate and perform actions based on site content?

I'm thinking JS, CSS and other browser-intrusive things that people have customized. A localized repository of these things for people to share would be nice.

I know of at least a few Monks who do this kind of thing to get alerts, filter content, re-layout content etc. I know a bit about this sort of manipulation, but it would be great if we had a space specific for site hacks, so that people who aren't overly in tune with such things can have copy/pastable code to drop. Each entry would come with the code, where to put the code (ie. how to implement the hack), and what browser they typically use while using the code. Optionally, a link to a real repository for their entry would be included, as to make updating (or at least a review of future updates) possible.

update: This need not be limited to browser hacks. It could also include such things as scripts/code that scrape, and take action based on what is found (like my little Perlmonks XP thing I wrote for an LCD last year for example).

  • Comment on Adding a "client-side manipulation" repository

Replies are listed 'Best First'.
Re: Adding a "client-side manipulation" repository
by kcott (Archbishop) on Mar 23, 2017 at 05:40 UTC

    G'day stevieb,

    "I'm thinking JS, CSS and other ..."

    There's already a page for CSS: "PerlMonks CSS Examples". This appears to have fallen into disuse. It was started in 2002; had quite a few entries over the next two years; nothing for the next six years; and lastly, one (by me) in 2010.

    The top of that page shows "#145860=sourcecode"; however, following the link to sourcecode gives me a "Permission Denied" page. From the messages on that page, it looks like you need to be in the SiteDocClan cabal to access it.

    There may be similar "sourcecode" pages for JavaScript (and other customising code): I'm only guessing.

    So, perhaps there's a way to promote these types of pages. Maybe, given the restricted access, there could also be some sort of mechanism to suggest new content of this type: I'm thinking along the lines of "RFC:" meditations for prospective tutorials.

    — Ken

Re: Adding a "client-side manipulation" repository
by jdporter (Paladin) on Mar 24, 2017 at 19:18 UTC

    If you're talking about sharing with other monks "hacks" to improve/customize the way the site actually looks/works for you, then I'd post those in Perl Monks Discussion. This would be similar to the collection of "Free Nodelet Hacks" which some monks have posted over time. Those are specifically about what we can do with the Free Nodelet, including JS. There have also been some CSS posts similarly, though without a nice unifying title tag which would make them easier to find as a "collection". If you SS for CSS, most of the hits will be relevant.

    If you're talking about perl code which really runs in/on the client, then I would post that in Cool Uses for Perl, and include an appropriate keyword in the title, i.e. "perlmonks". There have been numerous posts like that over the years, which you'll find if you SS for "monks" in CUFP, Craft, Code, and Snippets. (In fact, CodeCatacombs has a "category" for PerlMonks Related Scripts, which is probably a lot like what you're talking about. But all those code sections have been deprecated in favor of CUFP, which does not have categories; you have to put keywords in the title field.)

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

      I'd post those in Perl Monks Discussion

      The problem is, how can anyone find them easily, without already knowing what to search for.

        Finding anything is hard if you don't know what to search for. :-)

        Or am I missing your point?

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re: Adding a "client-side manipulation" repository
by Anonymous Monk on Mar 22, 2017 at 23:10 UTC

      Why are you sorry?

      If that's the venue, then great :)

      I was hoping for something perhaps outside of that as CUFP isn't normally associated with the usage of Perlmonks itself.

        I would say that the LCD program fits in CUFP because it is Perl.

        CSS, Javascript, etc., that interacts with PM, sort of fits in CUFP, but, Personally, I'd like to see it in a different section for ease of finding it.

        The only section I know of that is dedicated to the PM website is PerlMonks Discussion, but CSS, etc. doesn't really belong there, either.

        I think a "PerlMonks Hacks" section would be reasonable to add.