'You like a gay cowboy and you look like a gay terrorist.' - James May
Voorbeeld:
1
2
3
4
| javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)) { document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t'] } |
zonder argument:
1
2
3
4
| javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/))
{
document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']
} |
Weet ik, dat heb ik ook al ingesteld maar dat doet het niet.Wiethoofd schreef op zondag 14 juni 2009 @ 20:57:
Je moet wel een argument in de code-tag neerzetten om van de highlighting gebruik te kunnen maken:
Voorbeeld:
JavaScript:
1 2 3 4 javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)) { document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t'] }
zonder argument:
code:
1 2 3 4javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)) { document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t'] }
Even kleine edit,
code=csharp doet het niet, code=c# doet het wel, maar beide detecten het wel met codetag c#. Bug in dat geval
[ Voor 7% gewijzigd door Phyxion op 14-06-2009 21:17 ]
'You like a gay cowboy and you look like a gay terrorist.' - James May
1
2
3
4
5
| class Blaat { int woep() {} } |
Werkt prima, dus tenzij je wat duidelijker uitlegt wat precies volgens jou de bug is die je hebt gevonden, vindt ik het niet nodig om dingen te veranderen
God, root, what is difference? | Talga Vassternich | IBM zuigt
| Last.fm | "Mr Bent liked counting. You could trust numbers, except perhaps for pi, but he was working on that in his spare time and it was bound to give in sooner or later." -Terry Pratchett
God, root, what is difference? | Talga Vassternich | IBM zuigt
Intentionally left blank
Dit topic is gesloten.
![]()