no long possible to view greasemonkey scripts in loggerhead

Bug #317950 reported by Brian Murray on 2009-01-16
2
Affects Status Importance Assigned to Milestone
loggerhead
Undecided
Unassigned

Bug Description

It used to be possible to view the source of greasemonkey scripts in the launchpad-gm-scripts project. However, now when clicking on the file name at, http://bazaar.launchpad.net/~gm-dev-launchpad/launchpad-gm-scripts/master/files, greasemonkey wants to install the script. This did not always used to be the case and going to a url like http://bazaar.launchpad.net/~gm-dev-launchpad/launchpad-gm-scripts/master/annotate/59?file_id=lp_workflowreports.u-20080506160619-a9txuel95jc8d3a1-1 allows one to view the script. Additionally, if you let greasemonkey install the script the script doesn't work because it is really an xml file.

<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>~gm-dev-launchpad/launchpad-gm-scripts/master : contents of lp_patches.user.js at revision 64</title>
<link href="/~gm-dev-launchpad/launchpad-gm-scripts/master/static/css/global.css" rel="stylesheet" />

Michael Hudson-Doyle (mwhudson) wrote :

Is this greasemonkey getting confused because we have a url ending in .js whose resource has content-type text/html? Sounds like a greasemonkey bug to me! Like this one: http://greasemonkey.devjavu.com/ticket/14

We can probably come up with some workaround though.

Martin Albisetti (beuno) wrote :

It's actually because it ends in *.js
A greasemonkey bug, I talked to Brian about it, and he was ok to mark this as invalid for LH.

Changed in loggerhead:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.