No Source Code
Moderator: General Moderators
No Source Code
I've finally managed to develop a web application that has no front end source code, well none that anybody can see in a web browser, its literally a file size of 0kb and completely blank. Has anybody else managed this? is it useful, should i redistribute the methods used? what's it worth?
any opinions people?
any opinions people?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Ok how the hell did you do that?? I'm intrigued. I'd never actually use it since it must require JS or something. What else is weird is that when the window opens it closes again and replaces my DevNetwork window. Where's the code that loads in that page?nathanr wrote:okay test here
EDIT | If I right click and choose to open in a new window I just get a blank page.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Code: Select all
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
window.opener.location.href = '/test';
setTimeout('initit()',400);
function initit() {
var a = window.opener.document.getElementsByTagName('head')[0];
var stylesh = window.opener.document.createElement('script');
stylesh.setAttribute('type','text/javascript');
stylesh.setAttribute('src','/test/nr.js.php');
a.appendChild(stylesh);
window.close(false);
}
</script>
</head>
<body>
</body>
</html>- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
That is almost word-for-word the very definition most search engines are giving for cheating.nathanr wrote:ahh why not just wante to see if it could be done, also for search engines you can use the same methods to load a page with seo content, then remove the main dom node containing everything and bang in a nice friendly user interface for normal users.. not cheating at all
Its showing a spider (the search engine) totally different content than the user will see - regardless of technical handwaving, that is cheating.
Not to mention, it breaks usability for anyone not using javascript, causes accessibility problems for screen readers, makes your site slower...
All just to lie to a search engine, or hide your output?
Bad idea.
Roja wrote:That is almost word-for-word the very definition most search engines are giving for cheating.nathanr wrote:ahh why not just wante to see if it could be done, also for search engines you can use the same methods to load a page with seo content, then remove the main dom node containing everything and bang in a nice friendly user interface for normal users.. not cheating at all
Its showing a spider (the search engine) totally different content than the user will see - regardless of technical handwaving, that is cheating.
Not to mention, it breaks usability for anyone not using javascript, causes accessibility problems for screen readers, makes your site slower...
All just to lie to a search engine, or hide your output?
Bad idea.
is sarcasm really that hard to convey?
