###1. Put this web.config in laravel root diretory
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
// ==UserScript== | |
// @name UxHomologation | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Ajuda a detectar se esta em que ambiente baseado no domínio | |
// @author Guilherme Nascimento | |
// @match *://dominio-do-ambiente-de-homologação.com.br/* | |
// @grant none | |
// ==/UserScript== |
#include "wallacewindow.h" | |
#include <QApplication> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); | |
WallaceWindow w; | |
w.show(); | |
return a.exec(); |
#!/usr/bin/env bash | |
SCRIPT_PATH=$(realpath "$0") | |
CALLING_FROM=$(pwd) | |
if [ -d "$CALLING_FROM" ]; then | |
CALLING_DIR=$CALLING_FROM | |
else | |
CALLING_DIR=$(dirname "$CALLING_FROM") | |
fi |
QObject::connect(ui->webView, SIGNAL(loadFinished(bool)), this, SLOT(loadedWebView(bool))); | |
... | |
void Form::loadedWebView(const bool a) { | |
Q_UNUSED(a); | |
QString scriptContent = "function TEST() { alert(1); }"; | |
QString injectionJS = "(function() { var newdom = document.createElement('script');"; |
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |