Skip to content

Instantly share code, notes, and snippets.

View phyesix's full-sized avatar
🌏
Stalking

Ibrahim Nergiz phyesix

🌏
Stalking
View GitHub Profile

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@phyesix
phyesix / Product Hunt Clicker
Last active May 13, 2019 14:49
Product Hunt Clicker
document.querySelectorAll('.postsList_b2208 li').forEach(function(element ,index) {
if(element.querySelector('button').classList.contains('newVoteButtonActive_d4567') === false ) {
setTimeout(function(){
element.querySelector('.minorActions_57e55 a').click();
element.querySelector('button').click();
}, 1000);
}
});
@phyesix
phyesix / input types - "file" attribute
Last active August 20, 2019 17:40
input types - "file" attribute
<input type="file" accept="image/*,.pdf">
@phyesix
phyesix / input types - "alt" attribute
Last active August 20, 2019 17:39
input types - "alt" attribute
<input type="image" id="image" alt="Submit Button" src="https://www.stickpng.com/assets/images/586383c67d90850fc3ce2914.png">
@phyesix
phyesix / input types - "autocomplete" attribute
Created August 20, 2019 17:49
input types - "autocomplete" attribute
<div>
<label for="cc-number">Enter your credit card number</label>
<input type="number" name="cc-number" id="cc-number" autocomplete="off">
</div>
@phyesix
phyesix / input types - "autofocus" attribute
Created August 20, 2019 17:53
input types - "autofocus" attribute
<form action="#">
First name: <input type="text" name="firstname" autofocus><br>
Last name: <input type="text" name="lastname"><br>
<input type="submit">
</form>
@phyesix
phyesix / input types - "checked" attribute
Created August 20, 2019 17:58
input types - "checked" attribute
<form>
<input type="radio" id="audia3" name="audi" checked>
<label for="audia3">Audi A3</label>
<br>
<input type="radio" id="audia4" name="audi">
<label for="audia4">Audi A4</label>
<br>
<input type="radio" id="audia5" name="audi">
<label for="audia5">Audi A5</label>
@phyesix
phyesix / input types - "dirname" attribute
Created August 20, 2019 18:03
input types - "dirname" attribute
<input type="text" name="ns" dirname="ns.dir">
@phyesix
phyesix / input types - "disabled" attribute
Created August 20, 2019 18:07
input types - "disabled" attribute
<input type="text" id="someid" disabled>
@phyesix
phyesix / input types - "form" attribute
Created August 20, 2019 18:12
input types - "form" attribute
<form action="#" method="get" id="login">
Username: <input type="text" name="u"><br>
Password: <input type="password" name="p"><br>
</form>
<button type="submit" form="login" value="Login">Login</button>