Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
support HTTPS URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
myakura committed May 5, 2014
1 parent 2155beb commit dc4b350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifest.json
@@ -1,11 +1,11 @@
{
"name": "Dicentra",
"version": "0.7.2",
"version": "0.8.0",
"description": "enhances WebKit changeset page.",
"manifest_version": 2,

"content_scripts": [{
"matches": [ "http://trac.webkit.org/changeset/*" ],
"matches": [ "*://trac.webkit.org/changeset/*" ],
"js": [ "title.js", "version.js" ]
}]
}
2 changes: 1 addition & 1 deletion version.js
Expand Up @@ -33,7 +33,7 @@
if (reChangeset.test(url)) {
var revision = parseInt(reChangeset.exec(url).slice(1));
if (revision >= 20261) {
return 'http://trac.webkit.org/export/' + revision +
return location.protocol + '//trac.webkit.org/export/' + revision +
(revision >= 75314 ? '/trunk/Source' : '/trunk') +
'/WebCore/Configurations/Version.xcconfig';
}
Expand Down

0 comments on commit dc4b350

Please sign in to comment.