Update bookmarklet.js
This commit is contained in:
parent
8dfda9eba2
commit
b6a5e94c69
@ -1340,6 +1340,11 @@ body {
|
|||||||
if (/.*\/browse\/.*/g.test(document.URL)) {
|
if (/.*\/browse\/.*/g.test(document.URL)) {
|
||||||
return [document.URL.replace(/.*\/browse\/([^?]*).*/, '$1')];
|
return [document.URL.replace(/.*\/browse\/([^?]*).*/, '$1')];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Project
|
||||||
|
if (/.*\/projects\/.*/g.test(document.URL)) {
|
||||||
|
return [document.URL.replace(/.*\/projects\/[^\/]*\/[^\/]*\/([^?]*).*/, '$1')];
|
||||||
|
}
|
||||||
|
|
||||||
// RapidBoard
|
// RapidBoard
|
||||||
if (/.*\/secure\/RapidBoard.jspa.*/g.test(document.URL)) {
|
if (/.*\/secure\/RapidBoard.jspa.*/g.test(document.URL)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user