all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Yuri Khan <yurivkhan@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Add a commit hash (first 6 chars) column to cgit webpage?
Date: Mon, 22 Oct 2018 14:00:52 -0400	[thread overview]
Message-ID: <CAFyQvY0gzx=fvdL9=mWzB6fOqqbYtWv_TFvnaMvOvhr7kwpfeQ@mail.gmail.com> (raw)
In-Reply-To: <CAP_d_8WKoPRoZjmOvfEjkQZvyWWYe5cFzmZxLmKVSoZjs1TsPw@mail.gmail.com>

On Mon, Oct 22, 2018 at 1:49 PM Yuri Khan <yurivkhan@gmail.com> wrote:
>
> Still works for me with Firefox 62 and Violentmonkey 2.9.7. (I
> migrated to Violentmonkey during the Firefox 57 Time of Troubles, when
> Greasemonkey was not yet ported to the WebExtension API.)

Thanks for confirming!

You suggestions helped me fix this on my end; the @include URL was the issue.
I confirm this working once again on Firefox 62.0.3 with Greasemonkey.

> * See if the script runs. To do that, add a “console.log('foo')” at
> the top and save the script. Switch to the cgit tab, open the web
> developer toolbox with C-S-i or F12, and switch to the Console tab.
> Reload the page. You should see the “foo” line appear in the log.

This helped! Earlier the script wasn't running at all.

> * If the script does not run, see if the URL you are visiting matches
> the @include directive in the script. You might have started accessing
> Savannah cgit over HTTPS; if that’s the case, add another @include
> line with an https URL pattern.

This was the problem. At some point, I switched from using
http://git.savannah.gnu.org/cgit/emacs.git/log/ to
https://git.savannah.gnu.org/cgit/emacs.git/log/ (http -> https).

So changing the @include header to below now works!

// @include     http*://git.savannah.gnu.org/cgit/*/log/*



      reply	other threads:[~2018-10-22 18:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 14:37 Add a commit hash (first 6 chars) column to cgit webpage? Kaushal Modi
2016-05-03 14:57 ` Eli Zaretskii
2016-05-04  3:05   ` Kaushal Modi
2016-05-04 14:52     ` Eli Zaretskii
2016-05-04 15:12 ` Yuri Khan
2016-05-04 15:16   ` Kaushal Modi
2016-05-05 12:15     ` Yuri Khan
2016-05-05 16:42       ` Kaushal Modi
2018-10-22 16:51         ` Kaushal Modi
2018-10-22 17:49           ` Yuri Khan
2018-10-22 18:00             ` Kaushal Modi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY0gzx=fvdL9=mWzB6fOqqbYtWv_TFvnaMvOvhr7kwpfeQ@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=yurivkhan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.