Bookmarklet to load current page without JavaScript?

I would like to have a bookmarklet to load the current page/tab without its scripts, as if the browser had JavaScript disabled in its settings. Is it possible?

I would like to have a bookmarklet to load the current page/tab without its scripts, as if the browser had JavaScript disabled in its settings. Is it possible?

It would work a bit like this Chrome extension: https://chrome.google.com/webstore/detail/toggle-javascript/cidlcjdalomndpeagkjpnefhljffbnlo

But without the "toggle" function, i.e., the bookmarklet wouldn't enable JavaScript.

I like that extension and I would love to have something similar on iOS. It is possible to disable JavaScript in Safari, but it's annoying to open Settings every time I want to load a page without the scripts.

I thought a bookmarklet might allow me to quickly load the current page without it scripts, but I don't know if it's possible. Feel free to suggest other workarounds (maybe using Shortcuts/Workflow?).

How Google Search indexes JavaScript sites - JavaScript SEO

Martin Splitt, Webmaster Trends Analyst, explains how JavaScript influences SEO and how to optimize your JavaScript-powered website to be search-friendly. 

Thanks for watching

If you liked this post, please do share/like it with all of your programming buddies!

Follow us on Facebook | Twitter

GIF Image as Marker in Google Map for iOS (Swift)

I've this gif image:

I've this gif image:

 

I am able to add a custom static image as marker using the following code:

if let location = locationManager.location {
            currentLocationMarker = GMSMarker(position: location.coordinate)
            currentLocationMarker?.icon = UIImage(named: "user")
            currentLocationMarker?.map = mapView
            currentLocationMarker?.rotation = locationManager.location?.course ?? 0
        }

I want to use this gif image as marker. Is there anyway? Though I know static images are encouraged but is there a possibility?

I was thinking of adding a UIView say a 100x100 view and animating this icon in it, haven't tried it but I tried the solution mentioned in this thread: How to load GIF image in Swift? as:

let jeremyGif = UIImage.gifImageWithName("puppy")
let imageView = UIImageView(image: jeremyGif)
imageView.frame = CGRect(x: 0, y: 0, width: jeremyGif?.size.width ?? 100.0, height: jeremyGif?.size.height ?? 100.0)
//view.addSubview(imageView)
//mapView.addSubview(imageView)

if let location = locationManager.location {
currentLocationMarker = GMSMarker(position: location.coordinate)
currentLocationMarker?.icon = imageView.image //UIImage(named: "user")
currentLocationMarker?.map = mapView
currentLocationMarker?.rotation = locationManager.location?.course ?? 0
}

but doing so also doesn't work. I've added this gif image in assets and this is how it appears in it: