mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
JS: Accept some alerts
This commit is contained in:
@@ -4,4 +4,4 @@ function getTaint() {
|
||||
return window.name;
|
||||
}
|
||||
|
||||
shell.openExternal(getTaint());
|
||||
shell.openExternal(getTaint()); // $ Alert
|
||||
|
||||
@@ -2,21 +2,21 @@ window.location = /.*redirect=([^&]*).*/.exec(document.location.href)[1]; // $ A
|
||||
|
||||
(function(){
|
||||
var indirect = /.*redirect=([^&]*).*/;
|
||||
window.location = indirect.exec(document.location.href)[1];
|
||||
window.location = indirect.exec(document.location.href)[1]; // $ Alert
|
||||
});
|
||||
|
||||
window.location = new RegExp('.*redirect=([^&]*).*').exec(document.location.href)[1]; // $ Alert
|
||||
|
||||
(function(){
|
||||
var indirect = new RegExp('.*redirect=([^&]*).*')
|
||||
window.location = indirect.exec(document.location.href)[1];
|
||||
window.location = indirect.exec(document.location.href)[1]; // $ Alert
|
||||
});
|
||||
|
||||
window.location = new RegExp(/.*redirect=([^&]*).*/).exec(document.location.href)[1]; // $ Alert
|
||||
|
||||
(function(){
|
||||
var indirect = new RegExp(/.*redirect=([^&]*).*/)
|
||||
window.location = indirect.exec(document.location.href)[1];
|
||||
window.location = indirect.exec(document.location.href)[1]; // $ Alert
|
||||
});
|
||||
|
||||
function foo(win) {
|
||||
|
||||
Reference in New Issue
Block a user