add method to set the attribute of or off with the QWebPage

add method to set the attribute of or off with the QWebPage