Last active
March 2, 2017 21:11
-
-
Save dannyroberts/83cd9bd00f8c396c6b61 to your computer and use it in GitHub Desktop.
Revisions
-
dannyroberts revised this gist
Mar 2, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ // @version 0.4 // @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456 // @author Danny Roberts // @match *://manage.dimagi.com/default.asp* // @grant none // ==/UserScript== @@ -15,7 +15,7 @@ function cleanURL() { }; window.onhashchange = function () { cleanURL(); }; cleanURL(); -
dannyroberts revised this gist
Mar 2, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ // ==UserScript== // @name Clean FogBugz URLs // @version 0.4 // @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456 // @author Danny Roberts // @match http://manage.dimagi.com/default.asp* @@ -9,7 +9,7 @@ function cleanURL() { if (!document.getElementById('bugerror') && (/https?:\/\/manage.dimagi.com\/default.asp\?\d+#\d+/.exec(window.location.href))) { history.replaceState("", document.title, window.location.pathname + window.location.search); } }; -
dannyroberts revised this gist
Jul 31, 2015 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,21 @@ // ==UserScript== // @name Clean FogBugz URLs // @version 0.3 // @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456 // @author Danny Roberts // @match http://manage.dimagi.com/default.asp* // @grant none // ==/UserScript== function cleanURL() { if (!document.getElementById('bugerror') && (/http:\/\/manage.dimagi.com\/default.asp\?\d+#\d+/.exec(window.location.href))) { history.replaceState("", document.title, window.location.pathname + window.location.search); } }; window.onhashchange = function () { cleanURL() }; cleanURL(); -
dannyroberts revised this gist
Jul 6, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function cleanURL() { }; window.onhashchange = function () { cleanURL(); }; cleanURL(); -
dannyroberts revised this gist
Jul 6, 2015 . 1 changed file with 12 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,20 @@ // ==UserScript== // @name Clean FogBugz URLs // @version 0.2 // @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456 // @author Danny Roberts // @match http://manage.dimagi.com/default.asp* // @grant none // ==/UserScript== function cleanURL() { if (/http:\/\/manage.dimagi.com\/default.asp\?\d+#\d+/.exec(window.location.href)) { history.replaceState("", document.title, window.location.pathname + window.location.search); } }; window.onhashchange = function () { cleanURL() }; cleanURL(); -
dannyroberts renamed this gist
Jul 6, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dannyroberts created this gist
Jul 6, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ // ==UserScript== // @name Clean FogBugz URLs // @version 0.1 // @description Replaces http://manage.dimagi.com/default.asp?123456#1984701 with http://manage.dimagi.com/default.asp?123456 // @author Danny Roberts // @match http://manage.dimagi.com/default.asp* // @grant none // ==/UserScript== if (/http:\/\/manage.dimagi.com\/default.asp\?\d+#\d+/.exec(window.location.href)) { history.replaceState("", document.title, window.location.pathname + window.location.search); }