Compare commits
2 Commits
b5b6431662
...
68301c44d4
Author | SHA1 | Date | |
---|---|---|---|
68301c44d4 | |||
6e3e3eb8e8 |
@ -4,7 +4,8 @@ Extends the booking portal of bahn.de with linking to useful information.
|
|||||||
## Installation
|
## Installation
|
||||||
### Aus Firefox Add-ons (Empfohlen)
|
### Aus Firefox Add-ons (Empfohlen)
|
||||||
Einfach zu Firefox hinzufügen:
|
Einfach zu Firefox hinzufügen:
|
||||||
TBD
|
|
||||||
|
https://addons.mozilla.org/firefox/addon/bahn-insight/
|
||||||
|
|
||||||
### Als Entwicklerversion
|
### Als Entwicklerversion
|
||||||
1. Herunterladen
|
1. Herunterladen
|
||||||
|
@ -129,6 +129,12 @@ var connection_result_observer = new MutationObserver((mutations) => {
|
|||||||
|
|
||||||
var timetable = target.querySelector("td div.detailContainer table.result tbody");
|
var timetable = target.querySelector("td div.detailContainer table.result tbody");
|
||||||
|
|
||||||
|
// Just break if there are elements injected by us
|
||||||
|
if(timetable.querySelectorAll(".bahn-insight").length != 0) {
|
||||||
|
log("links already injected")
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COLLECT DATA
|
* COLLECT DATA
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user